CVE-2024-35922

fbmon: prevent division by zero in fb_videomode_from_videomode()

State
Published
Severity
Not scored
Published
May 19, 2024
Updated
Oct 15, 2026
Reserved
May 17, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2db54c72395298a58f29c75ae880be9e478fdbbd to before 1fb52bc1de55e9e0bdf71fe078efd4da0889710fAffected
  • 2db54c72395298a58f29c75ae880be9e478fdbbd to before 72d091b7515e0532ee015e144c906f3bcfdd6270Affected
  • 2db54c72395298a58f29c75ae880be9e478fdbbd to before 951838fee462aa01fa2a6a91d56f9a495082e7f0Affected
  • 2db54c72395298a58f29c75ae880be9e478fdbbd to before 48d6bcfc31751ca2e753d901a2d82f27edf8a029Affected
  • 2db54c72395298a58f29c75ae880be9e478fdbbd to before 664206ff8b019bcd1e55b10b2eea3add8761b971Affected
  • 2db54c72395298a58f29c75ae880be9e478fdbbd to before 3d4b909704bf2114f64f87363fa22b5ef8ac4a33Affected
  • 2db54c72395298a58f29c75ae880be9e478fdbbd to before 1b107d637fed68a787da77a3514ad06e57abd0b4Affected
  • 2db54c72395298a58f29c75ae880be9e478fdbbd to before c2d953276b8b27459baed1277a4fdd5dd9bd4126Affected
LinuxLinux
  • 3.9Affected
  • before 3.9Not affected
  • 4.19.312 through 4.19.*Not affected
  • 5.4.274 through 5.4.*Not affected
  • 5.10.215 through 5.10.*Not affected
  • 5.15.155 through 5.15.*Not affected
  • 6.1.86 through 6.1.*Not affected
  • 6.6.27 through 6.6.*Not affected
  • 6.8.6 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.