CVE-2024-35948 bcachefs: Check for journal entries overruning end of sb clean section
A missing bounds check in the Linux kernel's bcachefs filesystem allows attackers to cause a denial of service via crafted superblock data.
- 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-35948?
CVE-2024-35948 is a high-severity denial of service vulnerability in Linux kernel, published on 20 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:
bcachefs: Check for journal entries overruning end of sb clean section
Fix a missing bounds check in superblock validation.
Note that we don't yet have repair code for this case - repair code for individual items is generally low priority, since the whole superblock is checksummed, validated prior to write, and we have backups.
Weakness: CWE-400
Which versions are affected by CVE-2024-35948?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-35948?
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-35948 being exploited?
There is no known exploitation of CVE-2024-35948 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-35948, DEBIAN-CVE-2024-35948, GHSA-m2qc-57j3-6fh6, ROOT-OS-UBUNTU-2204-CVE-2024-35948, ROOT-OS-UBUNTU-2404-CVE-2024-35948, UBUNTU-CVE-2024-35948.