CVE-2024-26778

Severity CVSS v4.0:
Pending analysis
Type:
CWE-369 Divide By Zero
Publication date:
03/04/2024
Last modified:
27/02/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> fbdev: savage: Error out if pixclock equals zero<br /> <br /> The userspace program could pass any values to the driver through<br /> ioctl() interface. If the driver doesn&amp;#39;t check the value of pixclock,<br /> it may cause divide-by-zero error.<br /> <br /> Although pixclock is checked in savagefb_decode_var(), but it is not<br /> checked properly in savagefb_probe(). Fix this by checking whether<br /> pixclock is zero in the function savagefb_check_var() before<br /> info-&gt;var.pixclock is used as the divisor.<br /> <br /> This is similar to CVE-2022-3061 in i740fb which was fixed by<br /> commit 15cf0b8.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.19.308 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 (including) 5.4.270 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.211 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.150 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.80 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.19 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.7.7 (excluding)
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*