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

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.

Classification

CVE ID: CVE-2024-35922

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.08% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/1fb52bc1de55e9e0bdf71fe078efd4da0889710f
https://git.kernel.org/stable/c/72d091b7515e0532ee015e144c906f3bcfdd6270
https://git.kernel.org/stable/c/951838fee462aa01fa2a6a91d56f9a495082e7f0
https://git.kernel.org/stable/c/48d6bcfc31751ca2e753d901a2d82f27edf8a029
https://git.kernel.org/stable/c/664206ff8b019bcd1e55b10b2eea3add8761b971
https://git.kernel.org/stable/c/3d4b909704bf2114f64f87363fa22b5ef8ac4a33
https://git.kernel.org/stable/c/1b107d637fed68a787da77a3514ad06e57abd0b4
https://git.kernel.org/stable/c/c2d953276b8b27459baed1277a4fdd5dd9bd4126

Timeline