Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-40068 — kernel

🟠 CVSS 8.4 — High ✅ No Known Exploit NVD
8.4
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

fs: ntfs3: Fix integer overflow in run_unpack()

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.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Affected software

CVE-2025-40068 is recorded against 2 packages.

  • kernel (from 6.13.0 up to 6.17.3)
  • unknown

Timeline and source

Published on 28 October 2025 and last revised on 12 August 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
github.com (Advisory)
nvd.nist.gov (Advisory)
git.kernel.org (Package)

CVE-2025-40068 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity High
CVSS Score 8.4
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2025-10-28
Updated 2026-08-20
Modified 2026-08-12
Fix URL N/A

Affected Packages

Software From version Fixed in
kernel 6.13.0 6.17.3
unknown

Similar Threats

Site Security Check

Is kernel part of your stack?

CVE-2025-40068 is rated CVSS 8.4 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.