CVE-2024-26777: fbdev: sis: Error out if pixclock equals zero
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Compensating control
In fbdev sis's sisfb_check_var(), check whether var->pixclock equals zero before using it as a divisor to calculate drate, and error out if it is zero.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-26777?
CVE-2024-26777 has been classified with a high severity due to the potential for a divide-by-zero error affecting the Linux kernel.
How do I fix CVE-2024-26777?
To resolve CVE-2024-26777, users should update their Linux kernel to one of the patched versions: 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1.
What systems are affected by CVE-2024-26777?
CVE-2024-26777 affects the Linux kernel, specifically versions prior to the fixes available in the recent updates.
Can CVE-2024-26777 be exploited remotely?
Exploitation of CVE-2024-26777 appears to require local access to the system, making remote exploitation less likely.
What does CVE-2024-26777 involve?
CVE-2024-26777 involves a vulnerability in the Linux kernel's fbdev subsystem that allows for a divide-by-zero error if the 'pixclock' value is incorrectly set via ioctl().