MEDIUM
CVSS Score
5.5
Severity
MEDIUM
Published
2024-04-03
📋 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'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->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.
