CVE-2024-26777
JSON

5.5medium

fbdev: sis: Error out if pixclock equals zero

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 84246c35ca34207114055a87552a1c4289c8fd7e, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6db07619d173765bd8622d63809cbfe361f04207, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before cd36da760bd1f78c63c7078407baf01dd724f313, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before df6e2088c6f4cad539cf67cba2d6764461e798d1, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f329523f6a65c3bbce913ad35473d83a319d5d99, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 99f1abc34a6dde248d2219d64aa493c76bbdd9eb, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1d11dd3ea5d039c7da089f309f39c4cd363b924b, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e421946be7d9bf545147bea8419ef8239cb7ca52 and 1 more
Not affected: before 2.6.12, from 4.19.308 up to 4.19.*, from 5.4.270 up to 5.4.*, from 5.10.211 up to 5.10.*, from 5.15.150 up to 5.15.*, from 6.1.80 up to 6.1.*
CVE List
linux linux_kernelbefore 4.19.308, from 4.20 before 5.4.270, from 5.5 before 5.10.211, from 5.11 before 5.15.150, from 5.16 before 6.1.80, from 6.2 before 6.6.19, from 6.7 before 6.7.7, 6.8NVD
debian debian_linux10.0NVD

Classification

CWE-369

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fbdev: sis: error si pixclock es igual a cero. El programa de espacio de usuario podría pasar cualquier valor al controlador a través de la interfaz ioctl(). Si el controlador no verifica el valor de pixclock, puede causar un error de división por cero. En sisfb_check_var(), var->pixclock se usa como divisor para calcular la velocidad antes de compararla con cero. Solucione este problema marcándolo al principio. Esto es similar a CVE-2022-3061 en i740fb que se solucionó mediante el commit 15cf0b8.

References

https://git.kernel.org/stable/c/84246c35ca34207114055a87552a1c4289c8fd7epatch
https://git.kernel.org/stable/c/6db07619d173765bd8622d63809cbfe361f04207patch
https://git.kernel.org/stable/c/cd36da760bd1f78c63c7078407baf01dd724f313patch
https://git.kernel.org/stable/c/df6e2088c6f4cad539cf67cba2d6764461e798d1patch
https://git.kernel.org/stable/c/f329523f6a65c3bbce913ad35473d83a319d5d99patch
https://git.kernel.org/stable/c/99f1abc34a6dde248d2219d64aa493c76bbdd9ebpatch
https://git.kernel.org/stable/c/1d11dd3ea5d039c7da089f309f39c4cd363b924bpatch
https://git.kernel.org/stable/c/e421946be7d9bf545147bea8419ef8239cb7ca52patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlmailing-list
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlmailing-list
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
https://cert-portal.siemens.com/productcert/html/ssa-613116.html

Sources

SourceRecordLicence
CVE ListCVE-2024-26777 changed 2026-10-15CVE Terms of Use
NVDCVE-2024-26777 changed 2026-10-15Public domain