Skip to main content

Linux Kernel CVE-2025-40068

HIGH
2025-10-28 416baaa9-dc9f-4396-8d5f-8c081fb06d67
8.4
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 NTFS image with forged $DATA runlist
  2. Delivery
    Deliver via removable media or mountable image
  3. Exploit
    Trigger mount/auto-mount invoking run_unpack()
  4. Execution
    Integer overflow yields out-of-bounds LCNs
  5. Impact
    Read or destroy arbitrary on-disk data bypassing inode checks

Vulnerability Assessment

Exploitation Conditions

Requires local access sufficient to present a crafted NTFS volume to the NTFS3 driver - i.e., the ability to mount (or trigger auto-mount of) an attacker-controlled NTFS filesystem image or removable device whose MFT $DATA attribute carries a malicious runlist. Exploitation is limited to systems with the ntfs3 driver present/loaded and configured to mount untrusted NTFS media; there is no network attack surface (AV:L), and the bug triggers during runlist decode, so a benign well-formed volume is unaffected. Attack complexity is low once a volume can be mounted, but the mounting prerequisite is the key limiting factor.

Impact

The CVSS 3.1 vector AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H drives the 8.4 score, but the local attack vector is the decisive limiter: exploitation requires the ability to present a malicious NTFS image to the kernel (e.g., mount a crafted filesystem or plug in removable media that is auto-mounted). EPSS is low (0.21%), there is no KEV listing and no public PoC, which is consistent with a filesystem-parsing bug that is serious but not remotely reachable - no network-facing exposure. The input Tags label this 'RCE', which conflicts with the CVSS local vector and the description (arbitrary disk read/destroy, not code execution) - treat the RCE tag as inaccurate and prioritize as a local data-integrity/confidentiality issue. Real priority is moderate: high impact if a malicious volume reaches the parser, but the mounting prerequisite sharply narrows practical risk versus the raw 8.4.

Exploit ScenarioDerived

An attacker crafts an NTFS image whose $DATA attribute contains a malicious runlist that overflows during LCN computation, then gets a target system to mount it - for example by leaving a USB stick that is auto-mounted, or by convincing a user or service to open the volume. Once parsed by run_unpack(), the forged LCNs let the attacker read on-disk data outside the file's authorized extent or corrupt arbitrary clusters, bypassing inode access checks. No public exploit code is identified at this time.

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 privilege-to-data compromise in the Linux kernel NTFS3 driver allows an attacker who can supply a crafted NTFS volume to bypass inode access checks and read or destroy arbitrary on-disk data. The flaw is an unvalidated integer overflow in run_unpack(), which decodes the compressed runlist ($DATA runs) mapping virtual clusters to logical clusters (LCNs); a forged runlist yields out-of-bounds LCNs. Rated CVSS 8.4 (high) with no public exploit identified at time of analysis; EPSS is low (0.21%, 11th percentile) and it is not in CISA KEV.

RemediationAI

Upstream fix available (commits, not a tagged product release); update to a kernel that includes the run_unpack() overflow check via the six stable commits at git.kernel.org (3ac37e100385b59ac821a62118494442238aaac4, 5aa5799d162ad1b8e8b699d48b6218143c695a78, 736fc7bf5f68f6b74a0925b7e072c571838657d2, 9378cfe228c2c679564a4116bcb28c8e89dff989, a86c8b9d03f7101e1750233846fe989df6f0d631, f6b36cfd25cbadad63447c673743cf771090e756) - apply your distribution's patched kernel package matching those backports. Until patched, reduce exposure by preventing untrusted NTFS volumes from being parsed: disable automatic mounting of removable media (udisks/autofs), blacklist or unload the ntfs3 module where NTFS support is not needed (modprobe blacklist ntfs3), and restrict mount privileges so only trusted administrators can mount NTFS images. Trade-offs: blacklisting ntfs3 breaks legitimate NTFS access, and disabling automount inconveniences users who rely on USB drives, so scope these controls to systems that do not require NTFS.

Affected ProductsAI

The Linux kernel NTFS3 filesystem driver (fs/ntfs3) is affected on any kernel version shipping NTFS3 (introduced in 5.15) up to the point the fix landed; NVD provides no CPE ranges in this dataset, so exact vulnerable version boundaries are not enumerated here. Fixes were backported across multiple stable branches, evidenced by six kernel.org stable commits (3ac37e10, 5aa5799d, 736fc7bf, 9378cfe2, a86c8b9d, f6b36cfd). Consult the kernel.org stable trees and your distribution's advisory to map the fix to your specific kernel build.

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

NTFS3 is the in-kernel read/write NTFS filesystem driver merged in Linux 5.15. Each file's MFT record stores a runlist - a compressed run-length encoding describing where the file's clusters live on disk. run_unpack() parses these runs and builds a runs_tree that maps VCN→LCN; the RUN_DEALLOCATE path tears runs down without building a tree. The root cause is an unchecked arithmetic addition when accumulating LCN values from attacker-controllable runlist bytes (an integer-overflow class defect, CWE-190; NVD lists CWE as N/A). Because the inode-level access check happens above run_unpack() and the runlist values themselves were never validated, a substituted runlist in a $DATA attribute produces LCNs pointing anywhere on the block device.

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 8.4 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Exploitation needs local ability to mount an attacker-supplied NTFS volume (PR:L), no further interaction once mountable, with high read/corruption impact to disk data.

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:N/PR:L/UI:N/VC:H/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
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

fs: ntfs3: Fix integer overflow in run_unpack()

The MFT record relative to the file being opened contains its runlist, an array containing information about the file's location on the physical disk. Analysis of all Call Stack paths showed that the values of the runlist array, from which LCNs are calculated, are not validated before run_unpack function.

The run_unpack function decodes the compressed runlist data format from MFT attributes (for example, $DATA), converting them into a runs_tree structure, which describes the mapping of virtual clusters (VCN) to logical clusters (LCN). The NTFS3 subsystem also has a shortcut for deleting files from MFT records - in this case, the RUN_DEALLOCATE command is sent to the run_unpack input, and the function logic provides that all data transferred to the runlist about file or directory is deleted without creating a runs_tree structure.

Substituting the runlist in the $DATA attribute of the MFT record for an arbitrary file can lead either to access to arbitrary data on the disk bypassing access checks to them (since the inode access check occurs above) or to destruction of arbitrary data on the disk.

Add overflow check for addition operation.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Executive ViewAI

Why It Matters

CVE-2025-40068 is a local privilege escalation vulnerability in the Linux kernel's NTFS3 driver that enables attackers supplying crafted NTFS volumes to read or destroy arbitrary data on affected systems. Organizations operating Linux systems-including file servers, desktops, and hybrid Windows/Linux environments-that mount NTFS-formatted volumes from any untrusted source face material risk of data compromise or loss.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable NTFS3 kernel module if NTFS support is not operationally required; (2) Substitute ntfs-3g (userspace NTFS driver) on systems requiring NTFS access; (3) Restrict NTFS volume mounting privileges to authenticated, trusted users and limit to known-safe sources; (4) Implement filesystem-level access controls and quotas to limit data destruction blast radius; (5) Deploy filesystem integrity monitoring to detect anomalous LCN access patterns.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Ubiquitous
Linux kernel; NTFS3 driver ships in all mainline kernels since 5.15
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

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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