fbdev: sis: Error out if pixclock equals zero (Linux Linux)

CVE-2024-26777
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.25 % · centile 17 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: fbdev: sis: Error out if pixclock equals zero The userspace program could pass any values to the driver through ioctl() interface. If the driver doesn't check the value of pixclock, it may cause divide-by-zero error. In sisfb_check_var(), var->pixclock is used as a divisor to caculate drate before it is checked against zero. Fix this by checking it at the beginning. This is similar to CVE-2022-3061 in i740fb which was fixed by commit 15cf0b8.

Faiblesses (CWE)

  • CWE-369 — Division par zéro

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 84246c35ca34207114055a87552a1c4289c8fd7e ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6db07619d173765bd8622d63809cbfe361f04207 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < cd36da760bd1f78c63c7078407baf01dd724f313 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < df6e2088c6f4cad539cf67cba2d6764461e798d1 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f329523f6a65c3bbce913ad35473d83a319d5d99 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 99f1abc34a6dde248d2219d64aa493c76bbdd9eb
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 4.19.308 ≤ 4.19.* ; unaffected 5.4.270 ≤ 5.4.* ; unaffected 5.10.211 ≤ 5.10.* ; unaffected 5.15.150 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD