CVE-2024-26778
Last modified
CVE-2024-26778 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: fbdev: savage: 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. Although pixclock is checked in savagefb_decode_var(), but it is not checked properly in savagefb_probe(). EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: fbdev: savage: 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. Although pixclock is checked in savagefb_decode_var(), but it is not checked properly in savagefb_probe(). Fix this by checking whether pixclock is zero in the function savagefb_check_var() before info->var.pixclock is used as the divisor. This is similar to CVE-2022-3061 in i740fb which was fixed by commit 15cf0b8.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | < 4.19.308 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.270 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.211 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.150 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.80 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.19 | — |
| Linux | Linux Kernel | >= 6.7, < 6.7.7 | — |
| Linux | Linux Kernel | 6.8 | Rc1 |
| Debian | Debian Linux | 10.0 | — |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-26778?
How severe is CVE-2024-26778?
How do I fix CVE-2024-26778?
Are you affected by CVE-2024-26778?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
