CVE-2024-26777

fbdev: sis: Error out if pixclock equals zero

State
Published
Severity
Not scored
Published
Apr 3, 2024
Updated
Oct 15, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 84246c35ca34207114055a87552a1c4289c8fd7eAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6db07619d173765bd8622d63809cbfe361f04207Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before cd36da760bd1f78c63c7078407baf01dd724f313Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before df6e2088c6f4cad539cf67cba2d6764461e798d1Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f329523f6a65c3bbce913ad35473d83a319d5d99Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 99f1abc34a6dde248d2219d64aa493c76bbdd9ebAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1d11dd3ea5d039c7da089f309f39c4cd363b924bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e421946be7d9bf545147bea8419ef8239cb7ca52Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 4.19.308 through 4.19.*Not affected
  • 5.4.270 through 5.4.*Not affected
  • 5.10.211 through 5.10.*Not affected
  • 5.15.150 through 5.15.*Not affected
  • 6.1.80 through 6.1.*Not affected
  • 6.6.19 through 6.6.*Not affected
  • 6.7.7 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.