Linux Kernel
CVE-2024-35948
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious bcachefs volume image
-
DeliveryTransfer image to target system
-
ExploitTrigger mount of crafted volume
-
ExecutionKernel parses overrunning journal entries
-
PersistKernel out-of-bounds memory access
-
ImpactDenial of service or privilege escalation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) the target kernel includes the bcachefs subsystem (kernel 6.7+), (2) the attacker has at least low-privilege local access (PR:L per CVSS), and (3) the attacker can cause the kernel to parse a malicious bcachefs superblock - either by mounting a crafted filesystem image directly (requiring mount privileges, e.g., via CAP_SYS_ADMIN, udisks delegation, or a container with mount namespace access) or by placing a crafted volume on physical/virtual storage that is subsequently mounted by the system. The vulnerability does not trigger on normal filesystem use; a specially crafted on-disk superblock is required. Systems where bcachefs is not loaded or where unprivileged users cannot mount arbitrary filesystems are not practically exploitable. |
| Impact | The CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N with C:H/I:H/A:H yields 7.8, reflecting a worst-case scenario where kernel memory corruption enables full compromise. However, several signals soften the real-world priority: EPSS at 0.23% (14th percentile) indicates low community-assessed exploitation likelihood; KEV status is absent; no POC or weaponized exploit is known. Exploitation requires local access and the ability to mount a bcachefs volume - bcachefs is a newly merged filesystem (kernel 6.7+) with very limited production adoption. The description notes the superblock is checksummed and validated before write, and backups exist, suggesting the vulnerable path is superblock READ/parse, not write - an attacker would need to supply a specially crafted on-disk volume. This is a realistic risk primarily for systems where unprivileged users can mount arbitrary filesystems (e.g., via udisks/FUSE delegation or container environments). |
| Exploit ScenarioDerived | An attacker with a local shell account on a system where unprivileged users can mount filesystems crafts a bcachefs volume image containing a superblock clean section whose journal entries are sized to extend past the section boundary. When the kernel's bcachefs validation code processes this superblock during mount, it walks beyond the allocated buffer, causing a kernel out-of-bounds memory access that could result in a kernel panic (denial of service) or, in a more targeted scenario, memory corruption enabling privilege escalation. No public POC exists at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 04, 2026
Missing bounds validation in the bcachefs filesystem subsystem of the Linux kernel allows a local attacker with low privileges to trigger kernel memory corruption by mounting a crafted bcachefs volume with malformed journal entries in the superblock clean section. Affected versions span the Linux kernel up through 6.9-rc5. No public exploit code has been identified and EPSS sits at 0.23% (14th percentile), indicating low exploitation probability despite the high CVSS score; no active exploitation has been reported via CISA KEV.
Earlier versions of this analysis (1)
Missing bounds validation in the bcachefs filesystem subsystem of the Linux kernel allows a local low-privileged user to trigger memory overrun by presenting journal entries that extend beyond the end of the superblock clean section during validation. Affected versions span the Linux kernel through 6.9-rc5 per NVD CPE data. No public exploit or confirmed active exploitation exists (not in CISA KEV), and the EPSS probability of 0.23% at the 14th percentile reflects low real-world exploitation interest - though the CVSS score of 7.8 with high C/I/A impact warrants patching on systems actively using bcachefs.
RemediationAI
The upstream fix is available as commit fcdbc1d7a4b638e5d5668de461f320386f3002aa in the Linux stable tree (https://git.kernel.org/stable/c/fcdbc1d7a4b638e5d5668de461f320386f3002aa); an exact downstream stable release version is not confirmed from available input data - consult your distribution's security tracker (e.g., Ubuntu USN, RHEL RHSA, Debian DSA) for the patched kernel package version. As a compensating control where patching is not immediately possible, restrict unprivileged mounting of filesystems by disabling udisks automount for bcachefs volumes and setting the kernel parameter 'user_allow_other=0' in fuse.conf to reduce attack surface. Note that bcachefs is a relatively new filesystem and may not be enabled by default in all distributions, so verifying whether bcachefs kernel module is loaded (lsmod | grep bcachefs) can inform exposure.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
bcachefs is a copy-on-write filesystem merged into the Linux kernel mainline in 6.7. Its superblock contains a 'clean section' that stores journal entries describing the last clean unmount state. During superblock validation, the kernel iterates over these embedded journal entries; the missing bounds check means a maliciously crafted superblock can describe journal entries that extend beyond the end of the clean section buffer. CWE-400 (Uncontrolled Resource Consumption) is assigned by NVD, though the root cause is better characterized as a missing input-validation guard (CWE-125/CWE-1285) - an over-read or walk past a buffer boundary during parsing of untrusted on-disk data. CPE data confirms affected products are cpe:2.3:o:linux:linux_kernel across the stable tree and 6.9-rc1 through 6.9-rc5.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local vector required to mount crafted volume; low privilege sufficient via user-space mount delegation; no user interaction; full kernel memory impact possible from bounds-check bypass.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
CVE-2024-35948 enables local privilege escalation on Linux systems using bcachefs, potentially allowing unauthorized users to gain system control. The vulnerability affects Linux kernels up to version 6.9-rc5, with low exploitation probability (0.23%) but no documented active attacks to date. Organizations must assess bcachefs usage in their infrastructure and implement patching to prevent local attackers from compromising system integrity.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB