CVE-2024-26778

fbdev: savage: Error out if pixclock equals zero

No CVSS score yet EPSS 0.25%

Published 3 Apr 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-26778

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26778 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 21 Jun 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 224453de8505aede1890f007be973925a3edf6a1
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 84dce0f6a4cc5b7bfd7242ef9290db8ac1dd77ff
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 512ee6d6041e007ef5bf200c6e388e172a2c5b24
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 8c54acf33e5adaad6374bf3ec1e3aff0591cc8e1
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 070398d32c5f3ab0e890374904ad94551c76aec4
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before bc3c2e58d73b28b9a8789fca84778ee165a72d13
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a9ca4e80d23474f90841251f4ac0d941fa337a01
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 04e5eac8f3ab2ff52fa191c187a46d4fdbc1e288
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 4.19.308 up to and including 4.19.*
unaffected from 5.4.270 up to and including 5.4.*
unaffected from 5.10.211 up to and including 5.10.*
unaffected from 5.15.150 up to and including 5.15.*
unaffected from 6.1.80 up to and including 6.1.*
unaffected from 6.6.19 up to and including 6.6.*
unaffected from 6.7.7 up to and including 6.7.*
unaffected 6.8 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26778 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26778

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-26778
trivy image --scanners vuln IMAGE | grep CVE-2024-26778

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-26778 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.