CVE-2024-35948: bcachefs: Check for journal entries overruning end of sb clean section
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.
Security readout for executives and security teams
Plain-English summary
A missing bounds check in Linux bcachefs superblock validation could allow malformed journal data to extend beyond its expected section. The supplied CVSS assessment indicates potentially serious confidentiality, integrity, and availability consequences. Exposure appears local and limited to systems using affected bcachefs versions.
Executive priority
Treat as a high-priority kernel maintenance issue on systems using bcachefs, especially where untrusted filesystem content may be processed. Systems not using bcachefs are less likely to be exposed. Request rapid inventory and vendor-version verification before setting remediation deadlines.
Technical view
CVE-2024-35948 concerns bcachefs validation of journal entries stored in the superblock clean section. Validation failed to reject entries extending beyond that section. The kernel change adds the missing boundary check. The source notes no item-level repair support, although superblocks are checksummed, validated before writing, and backed up.
Likely exposure
Prioritize Linux systems running affected kernel versions where bcachefs filesystems are present or processed. The bundle identifies versions 6.7 through 6.9 as affected, but does not provide a complete distribution-specific package or fixed-release mapping.
Exploitation context
The CVSS vector describes local, low-complexity access without privileges or user interaction. CISA KEV status is false, and the supplied sources provide no evidence of active exploitation or a public exploit. The precise practical path from malformed filesystem metadata to the rated impacts is not detailed.
Researcher notes
The record classifies this as CWE-400 and scores it 8.4, while the description specifically identifies an out-of-bounds validation condition. The provided version data is incomplete or ambiguously encoded, and no repair code exists for individual affected items. Validate vendor backports rather than relying only on upstream version numbers.
Mitigation direction
Identify systems using bcachefs and record their kernel and distribution package versions.
Apply vendor-provided kernel updates containing the referenced correction.
Consult distribution advisories for precise affected and fixed package versions.
Restrict untrusted users from introducing or mounting untrusted bcachefs storage pending remediation.
Validation and detection
Confirm whether bcachefs filesystems, images, or removable media are used or processed.
Compare installed kernels against applicable distribution security advisories.
Verify the deployed kernel includes the referenced stable correction or vendor backport.
After updating, confirm systems boot normally and bcachefs volumes remain accessible.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-400: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
2ADP providers
2Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-400 · source CWE mapping
Uncontrolled Resource Consumption
Uncontrolled Resource Consumption represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.