# CVE-2024-35922: fbmon: prevent division by zero in fb_videomode_from_videomode()

- 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.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-19T10:10:33.703Z
- Modified: 2026-10-15T01:17:53.067Z
- 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:

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2db54c72395298a58f29c75ae880be9e478fdbbd before 1fb52bc1de55e9e0bdf71fe078efd4da0889710f; from 2db54c72395298a58f29c75ae880be9e478fdbbd before 72d091b7515e0532ee015e144c906f3bcfdd6270; from 2db54c72395298a58f29c75ae880be9e478fdbbd before 951838fee462aa01fa2a6a91d56f9a495082e7f0; from 2db54c72395298a58f29c75ae880be9e478fdbbd before 48d6bcfc31751ca2e753d901a2d82f27edf8a029; from 2db54c72395298a58f29c75ae880be9e478fdbbd before 664206ff8b019bcd1e55b10b2eea3add8761b971; from 2db54c72395298a58f29c75ae880be9e478fdbbd before 3d4b909704bf2114f64f87363fa22b5ef8ac4a33; from 2db54c72395298a58f29c75ae880be9e478fdbbd before 1b107d637fed68a787da77a3514ad06e57abd0b4; from 2db54c72395298a58f29c75ae880be9e478fdbbd before c2d953276b8b27459baed1277a4fdd5dd9bd4126; 3.9 (not affected: before 3.9; from 4.19.312 up to 4.19.*; from 5.4.274 up to 5.4.*; from 5.10.215 up to 5.10.*; from 5.15.155 up to 5.15.*; from 6.1.86 up to 6.1.*; from 6.6.27 up to 6.6.*; from 6.8.6 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: before 4.19.312; from 4.20 before 5.4.274; from 5.5 before 5.10.215; from 5.11 before 5.15.155; from 5.16 before 6.1.86; from 6.2 before 6.6.27; from 6.7 before 6.8.6
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/1fb52bc1de55e9e0bdf71fe078efd4da0889710f> (patch)
- <https://git.kernel.org/stable/c/72d091b7515e0532ee015e144c906f3bcfdd6270> (patch)
- <https://git.kernel.org/stable/c/951838fee462aa01fa2a6a91d56f9a495082e7f0> (patch)
- <https://git.kernel.org/stable/c/48d6bcfc31751ca2e753d901a2d82f27edf8a029> (patch)
- <https://git.kernel.org/stable/c/664206ff8b019bcd1e55b10b2eea3add8761b971> (patch)
- <https://git.kernel.org/stable/c/3d4b909704bf2114f64f87363fa22b5ef8ac4a33> (patch)
- <https://git.kernel.org/stable/c/1b107d637fed68a787da77a3514ad06e57abd0b4> (patch)
- <https://git.kernel.org/stable/c/c2d953276b8b27459baed1277a4fdd5dd9bd4126> (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)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

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

---

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