CVE-2025-40067: fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist
Index allocation requires at least one bit in the $BITMAP attribute to
track usage of index entries. If the bitmap is empty while index blocks
are already present, this reflects on-disk corruption.
syzbot triggered this condition using a malformed NTFS image. During a
rename() operation involving a long filename (which spans multiple
index entries), the empty bitmap allowed the name to be added without
valid tracking. Subsequent deletion of the original entry failed with
-ENOENT, due to unexpected index state.
Reject such cases by verifying that the bitmap is not empty when index
blocks exist.
Security readout for executives and security teams
Plain-English summary
A malformed NTFS filesystem can confuse Linux’s ntfs3 driver during a long-filename rename. The driver may create inconsistent index tracking, causing later deletion to fail. The supplied CVSS score is 7.8, but practical exposure requires local interaction with a crafted or corrupted NTFS filesystem.
Executive priority
Treat this as high priority for endpoints, forensic systems, file-processing services, and infrastructure exposed to untrusted NTFS media or images. Prioritize targeted patching and exposure reduction; the supplied evidence does not justify declaring an active exploitation emergency.
Technical view
When NTFS index blocks exist but the $BITMAP attribute is empty, ntfs3 previously continued despite invalid on-disk state. A long-filename rename could add entries without valid allocation tracking, after which deletion returned -ENOENT. The fix rejects index allocation when this inconsistent condition is detected.
Likely exposure
Exposure is concentrated on systems running versions identified as affected that mount or process malformed NTFS filesystems. Removable media, disk images, recovery workflows, and shared storage handling untrusted NTFS content deserve particular review. The supplied version data is unusual, so distribution-specific advisories should determine actual package exposure.
Exploitation context
The CVSS vector describes local access, low complexity, no privileges, and required user interaction. The source reports syzbot reproduction with a malformed NTFS image. KEV is false, and the supplied sources provide no evidence of active exploitation or a public weaponized exploit.
Researcher notes
The demonstrated failure is index-state inconsistency: an empty $BITMAP coexists with index blocks, a long-name rename proceeds, and original-entry deletion fails with -ENOENT. The source does not establish a precise path from this behavior to the confidentiality, integrity, and availability impacts reflected in CVSS. Affected-version interpretation requires vendor confirmation.
Mitigation direction
Update to a vendor-supported kernel containing the referenced ntfs3 validation fix.
Check distribution advisories because package versions may not map directly to upstream versions.
Restrict mounting or processing untrusted NTFS media and images until remediation is confirmed.
Follow vendor guidance for affected kernels not clearly covered by the supplied version data.
Validation and detection
Record running kernel and distribution package versions across systems using NTFS.
Confirm vendor packages include one of the referenced upstream fixes or an equivalent backport.
Identify systems that mount removable, uploaded, shared, or otherwise untrusted NTFS filesystems.
Verify in an isolated test that inconsistent index allocation is rejected safely.
Monitor kernel and filesystem logs for ntfs3 errors during rename or deletion operations.
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-40067 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
5Source 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.