CVE-2024-35922

fbmon: prevent division by zero in fb_videomode_from_videomode()

No CVSS score yet EPSS 0.22%

Published 19 May 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-35922

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-35922 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:

fbmon: prevent division by zero in fb_videomode_from_videomode()

The expression htotal * vtotal can have a zero value on overflow. It is necessary to prevent division by zero like in fb_var_to_videomode().

Found by Linux Verification Center (linuxtesting.org) with Svace.

Exploitation

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

The assessment of CISA (SSVC, 23 May 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 2db54c72395298a58f29c75ae880be9e478fdbbd, before 1fb52bc1de55e9e0bdf71fe078efd4da0889710f
affected from 2db54c72395298a58f29c75ae880be9e478fdbbd, before 72d091b7515e0532ee015e144c906f3bcfdd6270
affected from 2db54c72395298a58f29c75ae880be9e478fdbbd, before 951838fee462aa01fa2a6a91d56f9a495082e7f0
affected from 2db54c72395298a58f29c75ae880be9e478fdbbd, before 48d6bcfc31751ca2e753d901a2d82f27edf8a029
affected from 2db54c72395298a58f29c75ae880be9e478fdbbd, before 664206ff8b019bcd1e55b10b2eea3add8761b971
affected from 2db54c72395298a58f29c75ae880be9e478fdbbd, before 3d4b909704bf2114f64f87363fa22b5ef8ac4a33
affected from 2db54c72395298a58f29c75ae880be9e478fdbbd, before 1b107d637fed68a787da77a3514ad06e57abd0b4
affected from 2db54c72395298a58f29c75ae880be9e478fdbbd, before c2d953276b8b27459baed1277a4fdd5dd9bd4126
Other versions: unaffected
Linux
affected 3.9
unaffected before 3.9
unaffected from 4.19.312 up to and including 4.19.*
unaffected from 5.4.274 up to and including 5.4.*
unaffected from 5.10.215 up to and including 5.10.*
unaffected from 5.15.155 up to and including 5.15.*
unaffected from 6.1.86 up to and including 6.1.*
unaffected from 6.6.27 up to and including 6.6.*
unaffected from 6.8.6 up to and including 6.8.*
unaffected 6.9 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-35922 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35922

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-35922
trivy image --scanners vuln IMAGE | grep CVE-2024-35922

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