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

Medium 5.5 Published Updated

A division by zero error in the Linux kernel's fbmon module can cause a system crash, requiring a kernel patch to prevent denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-35922?

CVE-2024-35922 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 19 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-369

Which versions are affected by CVE-2024-35922?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-35922?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-35922 being exploited?

There is no known exploitation of CVE-2024-35922 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-35922, DEBIAN-CVE-2024-35922, GHSA-hw8p-x386-rr5f, UBUNTU-CVE-2024-35922.

Is CVE-2024-35922 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free