CVE-2025-40068: fs: ntfs3: Fix integer overflow in run_unpack()
Noroxi assessment
Priority: Monitor (action score 33/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.18% (FIRST EPSS).
- Someone with local access to the system can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 3ac37e100385b59ac821a62118494442238aaac4, 5aa5799d162ad1b8e8b699d48b6218143c695a78, 736fc7bf5f68f6b74a0925b7e072c571838657d2; azl3 kernel 6.6.104.2-4 on Azure Linux 3.0 6.6.112.1-2.
Low priority for now. Upgrade to Linux Linux 3ac37e100385b59ac821a62118494442238aaac4, 5aa5799d162ad1b8e8b699d48b6218143c695a78, 736fc7bf5f68f6b74a0925b7e072c571838657d2; azl3 kernel 6.6.104.2-4 on Azure Linux 3.0 6.6.112.1-2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Oct 28, 2025
- Updated
- Oct 19, 2026
- EPSS
- 0.1% · 7th percentile
- CWE
- —
Report tools
Action score
33
Low priority for now.
- CVSS
- 33 / 40 · 8.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CNA vs NVD score
- NVD
- —
- CNA · Linux
- 8.4
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 5.15affected
- 4342306f0f0d5ff4315a204d315c1b51b914fca5 and later · before f6b36cfd25cbadad63447c673743cf771090e756affected · git
- 4342306f0f0d5ff4315a204d315c1b51b914fca5 and later · before 3ac37e100385b59ac821a62118494442238aaac4affected · git
- 4342306f0f0d5ff4315a204d315c1b51b914fca5 and later · before a86c8b9d03f7101e1750233846fe989df6f0d631affected · git
- 4342306f0f0d5ff4315a204d315c1b51b914fca5 and later · before 9378cfe228c2c679564a4116bcb28c8e89dff989affected · git
- 4342306f0f0d5ff4315a204d315c1b51b914fca5 and later · before 5aa5799d162ad1b8e8b699d48b6218143c695a78affected · git
- 4342306f0f0d5ff4315a204d315c1b51b914fca5 and later · before 736fc7bf5f68f6b74a0925b7e072c571838657d2affected · git
- before 5.15not affected · semver
- 5.15.195 and later · up to and including 5.15.*not affected · semver
- 6.1.156 and later · up to and including 6.1.*not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.158-1 | 6.1.158-1 |
| Debian:13 | linux | before 6.12.57-1 | 6.12.57-1 |
| Debian:14 | linux | before 6.17.6-1 | 6.17.6-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
Published before and after this one in the same product
- ← EarlierCVE-2025-40066Oct 28, 2025 · wifi: mt76: mt7996: Check phy before init msta_link in mt7996_mac_sta_add_links()0Monitor
- ← EarlierCVE-2025-40067Oct 28, 2025 · fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist31Monitor
- Later →CVE-2025-40069Oct 28, 2025 · drm/msm: Fix obj leak in VM_BIND error path31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 3ac37e100385b59ac821a62118494442238aaac4 | Vendor (CNA) |
| Linux Linux | 5aa5799d162ad1b8e8b699d48b6218143c695a78 | Vendor (CNA) |
| Linux Linux | 736fc7bf5f68f6b74a0925b7e072c571838657d2 | Vendor (CNA) |
| Linux Linux | 9378cfe228c2c679564a4116bcb28c8e89dff989 | Vendor (CNA) |
| Linux Linux | a86c8b9d03f7101e1750233846fe989df6f0d631 | Vendor (CNA) |
| Linux Linux | f6b36cfd25cbadad63447c673743cf771090e756 | Vendor (CNA) |
| azl3 kernel 6.6.104.2-4 on Azure Linux 3.0 | 6.6.112.1-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.158-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- git.kernel.org/stable/c/5aa5799d162ad1b8e8b699d48b6218143c695a78
- git.kernel.org/stable/c/736fc7bf5f68f6b74a0925b7e072c571838657d2
- git.kernel.org/stable/c/9378cfe228c2c679564a4116bcb28c8e89dff989
- git.kernel.org/stable/c/a86c8b9d03f7101e1750233846fe989df6f0d631
- git.kernel.org/stable/c/f6b36cfd25cbadad63447c673743cf771090e756
Vendor advisories and official records. Exploit/PoC links are deliberately left out.