CVE-2025-22114: btrfs: don't clobber ret in btrfs_validate_super()
In the Linux kernel, the following vulnerability has been resolved:
btrfs: don't clobber ret in btrfs_validate_super()
Commit 2a9bb78cfd36 ("btrfs: validate system chunk array at
btrfs_validate_super()") introduces a call to validate_sys_chunk_array()
in btrfs_validate_super(), which clobbers the value of ret set earlier.
This has the effect of negating the validity checks done earlier, making
it so btrfs could potentially try to mount invalid filesystems.
Security readout for executives and security teams
Plain-English summary
A Linux kernel Btrfs validation error can allow an invalid filesystem to pass checks and be mounted. On affected systems, this may threaten confidentiality, integrity, and availability. The issue requires local access according to the supplied CVSS vector, so it is most urgent where users or services can introduce and mount Btrfs filesystems.
Executive priority
Prioritize systems where tenants, users, appliances, or automated workflows can introduce filesystem images. Patch through normal emergency kernel processes after vendor confirmation. Systems without Btrfs use or untrusted mount paths are lower priority, but should still be inventoried because the supplied affected-version information is incomplete.
Technical view
In btrfs_validate_super(), validate_sys_chunk_array() overwrites an earlier return value. This can discard failures from preceding superblock validity checks, allowing the kernel to attempt mounting a malformed Btrfs filesystem. The supplied CVSS 3.1 score is 7.8 with local, low-privilege attack conditions and high potential impact.
Likely exposure
Potential exposure includes Linux systems running affected 6.14-series code or builds containing commit 2a9bb78cfd36, particularly systems that process locally supplied Btrfs filesystems. The supplied version data is ambiguous, so distribution kernel package status must be confirmed with the relevant vendor.
Exploitation context
The supplied record does not identify active exploitation, and CVE-2025-22114 is not marked as CISA KEV. That does not prove exploitation is absent. The CVSS vector indicates local access and low privileges, while the described trigger involves an invalid Btrfs filesystem reaching mount validation.
Researcher notes
The core defect is return-value clobbering that suppresses earlier validation failures. The bundle supplies two Linux stable commit references but does not clearly map them to every affected or fixed release. Assess downstream backports by commit presence, not version strings alone. No CWE or confirmed exploitation evidence is provided.
Mitigation direction
Apply a vendor-supported kernel containing the appropriate upstream stable correction.
Consult the Linux distribution vendor for affected package and fixed-build guidance.
Restrict untrusted users and services from supplying or mounting Btrfs filesystems.
Avoid mounting untrusted Btrfs images until affected systems are remediated.
Validation and detection
Inventory kernel versions and identify systems using or accepting Btrfs filesystems.
Check whether each kernel contains the introducing commit or an applicable stable correction.
Confirm distribution package status against current vendor security guidance.
After updating, verify the running kernel matches the installed remediated build.
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.
cve · low confidence lookup
CVE-2025-22114 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
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.
1CVSS vectors
3Timeline events
0ADP providers
3Source links
CVSS vector scores
1 official score
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.