Skip to main content

Linux Kernel CVE-2024-35948

HIGH
Uncontrolled Resource Consumption (CWE-400)
2024-05-20 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious bcachefs volume image
  2. Delivery
    Transfer image to target system
  3. Exploit
    Trigger mount of crafted volume
  4. Execution
    Kernel parses overrunning journal entries
  5. Persist
    Kernel out-of-bounds memory access
  6. Impact
    Denial 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Aug 04, 2026 - 12:25 cvss changed CVSS 7.8

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Aug 04, 2026 - 12:25 vuln.today
v2 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:25 vuln.today
v1 - CVSS changed
CVSS changed
Aug 04, 2026 - 11:23 NVD
8.4 (HIGH) 7.8 (HIGH)
CVE Published
May 20, 2024 - 10:15 cve.org
HIGH 8.4

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
bcachefs is a newly merged, rarely deployed filesystem in production
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy