Skip to main content

Linux Kernel CVE-2025-40067

HIGH
2025-10-28 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 malformed NTFS image ($BITMAP empty, index blocks present)
  2. Delivery
    Deliver media to victim
  3. Exploit
    Victim/auto-mount mounts volume via ntfs3
  4. Execution
    Trigger rename() of long filename
  5. Persist
    Corrupt directory index state
  6. Impact
    Kernel memory corruption or denial of service

Vulnerability Assessment

Exploitation Conditions

Requires the ntfs3 driver to mount an attacker-controlled malformed NTFS image whose $BITMAP attribute is empty while index blocks already exist on disk, and then an index-modifying operation - specifically a rename() of a long filename that spans multiple index entries - to be performed on that volume. Limiting factors: the attack is local (AV:L), needs user interaction (UI:R) to mount the crafted media, and depends on the target having CONFIG_NTFS3_FS enabled and permitting the mount; it cannot be triggered remotely and does not apply to systems that never mount untrusted NTFS volumes.

Impact

The supplied CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8) indicates a local, low-complexity issue that requires user interaction - consistent with the syzbot reproduction that needs a malicious NTFS image to be mounted. This is the dominant limiting factor: exploitation is not remote and depends on convincing a victim (or an auto-mount facility) to mount attacker-supplied media, which sharply narrows real-world exposure despite the high base score. Corroborating signals point to low urgency: EPSS is 0.19% (9th percentile), there is no KEV listing, and no public POC beyond the internal syzbot test case. The high C/I/A impact rating reflects worst-case kernel-memory-corruption potential typical of filesystem parsing bugs, but the described observable effect is index-state corruption and failed directory operations rather than demonstrated code execution - treat the confidentiality/integrity impact as inferred-worst-case, not confirmed. Note the tag 'Information Disclosure' is not clearly supported by the description, which centers on corruption/DoS; verify before relying on it.

Exploit ScenarioDerived

An attacker crafts a malformed NTFS image with an empty $BITMAP but pre-populated index blocks and delivers it as a USB stick, disk image, or file, then relies on a victim (or an auto-mount service) to mount it. When a rename() involving a long, multi-entry filename is triggered on the corrupted directory, the driver enters an inconsistent index state, leading to failed directory operations and potential kernel memory corruption. Exploitation was demonstrated only by syzbot with a malformed image; no weaponized public POC is identified.

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

AnalysisAIv1 – Jul 30, 2026

Local filesystem corruption / potential memory corruption in the Linux kernel's ntfs3 driver arises when an index allocation is performed against a $BITMAP attribute that is empty while index blocks already exist on disk. An attacker who can get a victim to mount a malformed NTFS image can drive the driver into an inconsistent index state during rename() of long filenames, causing subsequent operations to fail (-ENOENT) and reflecting on-disk corruption that the driver previously failed to reject. There is no public exploit identified at time of analysis, the EPSS probability is low (0.19%, 9th percentile), and it is not listed in CISA KEV.

RemediationAI

Apply the upstream ntfs3 fix that rejects index allocation when $BITMAP is empty while index blocks exist; the fix is delivered via kernel commits 039ddf353cc33f6546a87ec1ac3210637d714bec, 0dc7117da8f92dd5fe077d712a756eccbe377d40, 978aac54e93ea35aab20b32ae393d3d33964e7ae, and be66551da203862c689c12e1d35ce87217c017c1 (https://git.kernel.org/stable/c/039ddf353cc33f6546a87ec1ac3210637d714bec). Update to your distribution's patched kernel package that incorporates these commits. Where patching must be deferred, the most effective compensating control is to prevent mounting of untrusted NTFS media: blacklist or unload the ntfs3 module (modprobe -r ntfs3 / install ntfs3 /bin/true) on systems that never mount NTFS, and disable automatic mounting of removable media (udisks/autofs) so a plugged-in or downloaded image cannot be auto-parsed. The trade-off is loss of NTFS read/write support and of convenient removable-media auto-mounting; on multi-user or workstation systems also restrict which users may mount filesystems (avoid user/users mount options and unprivileged FUSE-style auto-mount paths).

Affected ProductsAI

The vulnerability is in the Linux kernel's ntfs3 driver (fs/ntfs3). No CPE strings were provided in the input, so exact affected version ranges are not enumerated here; the four git.kernel.org stable-tree fix commits (039ddf353cc3, 0dc7117da8f9, 978aac54e93e, be66551da203) indicate the fix was backported across multiple stable branches, implying multiple maintained kernel series are affected prior to those commits. Any Linux distribution kernel that ships and enables the CONFIG_NTFS3_FS driver and permits mounting untrusted NTFS volumes should be considered affected until updated. See the upstream commit references at https://git.kernel.org/stable/c/be66551da203862c689c12e1d35ce87217c017c1 and the related stable commits.

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

The affected component is the in-kernel NTFS3 filesystem driver (fs/ntfs3), which mounts and manipulates Microsoft NTFS volumes. NTFS directories are stored as B-tree index structures whose entry usage is tracked by a $BITMAP attribute; index allocation logically requires at least one bit in $BITMAP to account for index blocks. The bug is a missing consistency/validation check (a CWE-20 style improper input validation / missing on-disk-structure sanity check - CWE is marked N/A in the source data): the driver did not verify that $BITMAP is non-empty when index blocks already exist. Because ntfs3 trusts attacker-controllable on-disk metadata, a crafted image with an empty bitmap but populated index blocks lets a long filename be inserted without valid tracking, corrupting the directory index tree state.

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:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.3 HIGH

Local malformed image mount with user interaction (AV:L/UI:R); index corruption gives high integrity/availability impact, but no clear disclosure so C:L.

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

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

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

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

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2025-40067 affects the Linux kernel's ntfs3 driver, creating a risk of filesystem corruption and data loss when malformed NTFS volumes are mounted on vulnerable systems. Organizations that handle NTFS filesystems through external storage, shared resources, or removable media face potential service disruption and data integrity loss if users are tricked into mounting a malicious NTFS image. While current exploit probability is low (0.2% EPSS) and no public exploitation has been observed, the consequence of successful attack-filesystem corruption-makes this a notable operational risk that warrants inventory and mitigation planning.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable or remove the ntfs3 driver on systems where NTFS support is not required; (2) restrict ntfs3 mount operations to administrative users only via mount policies; (3) implement audit logging and alerting on NTFS mount attempts; (4) educate users not to mount NTFS images obtained from external or untrusted sources.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
Linux kernel; ntfs3 shipped in mainline, broad but only NTFS-mounting hosts exposed
Data Quality
4 sources
Confidence: Medium

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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected

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