# CVE-2024-26778: fbdev: savage: Error out if pixclock equals zero

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-04-03T17:01:08.782Z
- Modified: 2026-06-17T07:18:19.327Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 224453de8505aede1890f007be973925a3edf6a1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 84dce0f6a4cc5b7bfd7242ef9290db8ac1dd77ff; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 512ee6d6041e007ef5bf200c6e388e172a2c5b24; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8c54acf33e5adaad6374bf3ec1e3aff0591cc8e1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 070398d32c5f3ab0e890374904ad94551c76aec4; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bc3c2e58d73b28b9a8789fca84778ee165a72d13; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a9ca4e80d23474f90841251f4ac0d941fa337a01; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288; 2.6.12 (not affected: before 2.6.12; from 4.19.308 up to 4.19.*; from 5.4.270 up to 5.4.*; from 5.10.211 up to 5.10.*; from 5.15.150 up to 5.15.*; from 6.1.80 up to 6.1.*; from 6.6.19 up to 6.6.*; from 6.7.7 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: before 4.19.308; from 4.20 before 5.4.270; from 5.5 before 5.10.211; from 5.11 before 5.15.150; from 5.16 before 6.1.80; from 6.2 before 6.6.19; from 6.7 before 6.7.7; 6.8
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/224453de8505aede1890f007be973925a3edf6a1> (patch)
- <https://git.kernel.org/stable/c/84dce0f6a4cc5b7bfd7242ef9290db8ac1dd77ff> (patch)
- <https://git.kernel.org/stable/c/512ee6d6041e007ef5bf200c6e388e172a2c5b24> (patch)
- <https://git.kernel.org/stable/c/8c54acf33e5adaad6374bf3ec1e3aff0591cc8e1> (patch)
- <https://git.kernel.org/stable/c/070398d32c5f3ab0e890374904ad94551c76aec4> (patch)
- <https://git.kernel.org/stable/c/bc3c2e58d73b28b9a8789fca84778ee165a72d13> (patch)
- <https://git.kernel.org/stable/c/a9ca4e80d23474f90841251f4ac0d941fa337a01> (patch)
- <https://git.kernel.org/stable/c/04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (mailing-list)

## Sources

- CVE List: [CVE-2024-26778](https://www.cve.org/CVERecord?id=CVE-2024-26778), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26778](https://nvd.nist.gov/vuln/detail/CVE-2024-26778), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26778 · Whole record: https://cve.day/CVE-2024-26778.json · Rebuilt by cve.day 2026-11-25T22:58:38.699Z
