CVE-2024-26778

published 3 Apr 2024 · updated 11 May 2026

fbdev: savage: Error out if pixclock equals zero

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288, Kernel 070398d32c5f3ab0e890374904ad94551c76aec4, Kernel 224453de8505aede1890f007be973925a3edf6a1 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <070398d32c5f3ab0e890374904ad94551c76aec4, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <224453de8505aede1890f007be973925a3edf6a1, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <512ee6d6041e007ef5bf200c6e388e172a2c5b24, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <84dce0f6a4cc5b7bfd7242ef9290db8ac1dd77ff, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8c54acf33e5adaad6374bf3ec1e3aff0591cc8e1, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a9ca4e80d23474f90841251f4ac0d941fa337a01, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <bc3c2e58d73b28b9a8789fca84778ee165a72d1304e5eac8f3ab2ff52fa191c187a46d4fdbc1e288, 070398d32c5f3ab0e890374904ad94551c76aec4, 224453de8505aede1890f007be973925a3edf6a1, 512ee6d6041e007ef5bf200c6e388e172a2c5b24, 84dce0f6a4cc5b7bfd7242ef9290db8ac1dd77ff, 8c54acf33e5adaad6374bf3ec1e3aff0591cc8e1, a9ca4e80d23474f90841251f4ac0d941fa337a01, bc3c2e58d73b28b9a8789fca84778ee165a72d13

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-26778 severity on Zeptric[![CVE-2024-26778](https://zeptric.io/badge/cve/CVE-2024-26778.svg)](https://zeptric.io/cve/CVE-2024-26778)