CVE-2024-35935 btrfs: send: handle path ref underflow in header iterate_inode_ref()

Low 3.3 Published Updated

A flaw in the Linux kernel's btrfs send feature could leak kernel addresses if path buffer building fails, requiring a patch to fix.

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

CVE-2024-35935 is a low-severity 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:

btrfs: send: handle path ref underflow in header iterate_inode_ref()

Change BUG_ON to proper error handling if building the path buffer fails. The pointers are not printed so we don't accidentally leak kernel addresses.

Weakness: CWE-209

Which versions are affected by CVE-2024-35935?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-35935?

Apply the vendor's patch.

Is CVE-2024-35935 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-35935, DEBIAN-CVE-2024-35935, GHSA-95jp-3qwq-rj66, UBUNTU-CVE-2024-35935.

Is CVE-2024-35935 in your software?

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

Check your SBOMs for free