CVE-2024-26777

Source
https://cve.org/CVERecord?id=CVE-2024-26777
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26777.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26777
Downstream
Related
Published
2024-04-03T17:01:02.935Z
Modified
2026-03-13T07:51:59.107996Z
Summary
fbdev: sis: Error out if pixclock equals zero
Details

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 sisfbcheckvar(), 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26777.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
84246c35ca34207114055a87552a1c4289c8fd7e
Fixed
6db07619d173765bd8622d63809cbfe361f04207
Fixed
cd36da760bd1f78c63c7078407baf01dd724f313
Fixed
df6e2088c6f4cad539cf67cba2d6764461e798d1
Fixed
f329523f6a65c3bbce913ad35473d83a319d5d99
Fixed
99f1abc34a6dde248d2219d64aa493c76bbdd9eb
Fixed
1d11dd3ea5d039c7da089f309f39c4cd363b924b
Fixed
e421946be7d9bf545147bea8419ef8239cb7ca52

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26777.json"