CVE-2024-35805 dm snapshot: fix lockup in dm_exception_table_exit

Medium 5.5 Published Updated

A lockup in the Linux kernel's dm snapshot module can cause a denial of service when exiting a snapshot with many exceptions.

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-35805?

CVE-2024-35805 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 17 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:

dm snapshot: fix lockup in dm_exception_table_exit

There was reported lockup when we exit a snapshot with many exceptions. Fix this by adding "cond_resched" to the loop that frees the exceptions.

Weakness: CWE-667

Which versions are affected by CVE-2024-35805?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-35805?

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-35805 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-35805, DEBIAN-CVE-2024-35805, GHSA-f73j-5pgc-v7qj, UBUNTU-CVE-2024-35805.

Is CVE-2024-35805 in your software?

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

Check your SBOMs for free