CVE-2024-35922

fbmon: prevent division by zero in fb_videomode_from_videomode()

MEDIUM
5.5
CVSS Score
Published: May 19, 2024 at 10:10 AM UTC
Updated: October 15, 2026 at 01:17 AM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versionsv < 4.19.3124.20 ≤ v < 5.4.2745.11 ≤ v < 5.15.1555.16 ≤ v < 6.1.865.5 ≤ v < 5.10.2156.2 ≤ v < 6.6.276.7 ≤ v < 6.8.62db54c72395298a58f29c75ae880be9e478fdbbd3.9
Vendor states this is fixed in 1b107d637fed68a787da77a3514ad06e57abd0b4 (fixed)
Vendor states this is fixed in 1fb52bc1de55e9e0bdf71fe078efd4da0889710f (fixed)
Vendor states this is fixed in 3d4b909704bf2114f64f87363fa22b5ef8ac4a33 (fixed)
Vendor states this is fixed in 48d6bcfc31751ca2e753d901a2d82f27edf8a029 (fixed)
Vendor states this is fixed in 664206ff8b019bcd1e55b10b2eea3add8761b971 (fixed)
Vendor states this is fixed in 72d091b7515e0532ee015e144c906f3bcfdd6270 (fixed)
Vendor states this is fixed in 951838fee462aa01fa2a6a91d56f9a495082e7f0 (fixed)
Vendor states this is fixed in c2d953276b8b27459baed1277a4fdd5dd9bd4126 (fixed)
Vendor states this is fixed in 3.9 (unaffected)
Vendor states this is fixed in 4.19.312 (unaffected)
Vendor states this is fixed in 5.10.215 (unaffected)
Vendor states this is fixed in 5.15.155 (unaffected)
Vendor states this is fixed in 5.4.274 (unaffected)
Vendor states this is fixed in 6.1.86 (unaffected)
Vendor states this is fixed in 6.6.27 (unaffected)
Vendor states this is fixed in 6.8.6 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1b107d637fed68a787da77a3514ad06e57abd0b4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1fb52bc1de55e9e0bdf71fe078efd4da0889710f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3d4b909704bf2114f64f87363fa22b5ef8ac4a33
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/48d6bcfc31751ca2e753d901a2d82f27edf8a029
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/664206ff8b019bcd1e55b10b2eea3add8761b971
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/72d091b7515e0532ee015e144c906f3bcfdd6270
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/951838fee462aa01fa2a6a91d56f9a495082e7f0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c2d953276b8b27459baed1277a4fdd5dd9bd4126

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-369

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card