Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-40068

published high CVSS 3.1 · 8.4

fs: ntfs3: Fix integer overflow in run_unpack()

Published
28 Oct 2025, 11:48:37 UTC
Updated
05 Aug 2026, 12:07:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux4342306f0f0d5ff4315a204d315c1b51b914fca5 to < f6b36cfd25cbadad63447c673743cf771090e756 · 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 3ac37e100385b59ac821a62118494442238aaac4 · 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < a86c8b9d03f7101e1750233846fe989df6f0d631 · 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 9378cfe228c2c679564a4116bcb28c8e89dff989 · 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 5aa5799d162ad1b8e8b699d48b6218143c695a78 · 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 736fc7bf5f68f6b74a0925b7e072c571838657d2 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.195 through 5.15.* (unaffected · semver) · 6.1.156 through 6.1.* (unaffected · semver) · 6.6.112 through 6.6.* (unaffected · semver) · 6.12.53 through 6.12.* (unaffected · semver) · 6.17.3 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-095 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1253 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1254 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.158-1 DSA-6053-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Debian bullseye linux-6.1 Advisory build 6.1.158-1~deb11u1 DLA-4379-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devel-longtermaarch64 Advisory build 6.18.16-1.1 OPENSUSE-SU-2026:10301-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devel-longtermppc64le Advisory build 6.18.16-1.1 OPENSUSE-SU-2026:10301-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devel-longterms390x Advisory build 6.18.16-1.1 OPENSUSE-SU-2026:10301-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devel-longtermx86_64 Advisory build 6.18.16-1.1 OPENSUSE-SU-2026:10301-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-longtermaarch64 Advisory build 6.18.16-1.1 OPENSUSE-SU-2026:10301-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-longtermppc64le Advisory build 6.18.16-1.1 OPENSUSE-SU-2026:10301-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-longterms390x Advisory build 6.18.16-1.1 OPENSUSE-SU-2026:10301-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-longtermx86_64 Advisory build 6.18.16-1.1 OPENSUSE-SU-2026:10301-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 6.17.7-1.1 OPENSUSE-SU-2025:15702-1
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1100 Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-aws-5.15-headers-5.15.0-1100 Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-aws-5.15-tools-5.15.0-1100 Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1110 Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1110 Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1110 Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-buildinfo-5.15.0-1052-nvidia-tegra Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-buildinfo-5.15.0-1052-nvidia-tegra-rt Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-buildinfo-5.15.0-1094-ibm Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-buildinfo-5.15.0-1095-intel-iotg Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-buildinfo-5.15.0-1097-oracle Advisory build 5.15.0-1097.103~20.04.1 USN-8033-5
Ubuntu focal linux-buildinfo-5.15.0-1100-aws Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-buildinfo-5.15.0-1100-gcp Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-buildinfo-5.15.0-1110-azure Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-buildinfo-5.15.0-170-generic Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-buildinfo-5.15.0-170-generic-64k Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-buildinfo-5.15.0-170-generic-lpae Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-buildinfo-5.15.0-170-lowlatency Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-buildinfo-5.15.0-170-lowlatency-64k Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-cloud-tools-5.15.0-1095-intel-iotg Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-cloud-tools-5.15.0-1100-aws Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-cloud-tools-5.15.0-1110-azure Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-cloud-tools-5.15.0-170-generic Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-cloud-tools-5.15.0-170-lowlatency Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1100 Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1100 Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-headers-5.15.0-1052-nvidia-tegra Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-headers-5.15.0-1052-nvidia-tegra-rt Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-headers-5.15.0-1094-ibm Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-headers-5.15.0-1095-intel-iotg Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-headers-5.15.0-1097-oracle Advisory build 5.15.0-1097.103~20.04.1 USN-8033-5
Ubuntu focal linux-headers-5.15.0-1100-aws Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-headers-5.15.0-1100-gcp Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-headers-5.15.0-1110-azure Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-headers-5.15.0-170-generic Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-headers-5.15.0-170-generic-64k Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-headers-5.15.0-170-generic-lpae Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-headers-5.15.0-170-lowlatency Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-headers-5.15.0-170-lowlatency-64k Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-170 Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-170 Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-170 Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1094 Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1094 Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-image-5.15.0-170-generic Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-image-5.15.0-170-generic-lpae Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-image-unsigned-5.15.0-1052-nvidia-tegra Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-image-unsigned-5.15.0-1052-nvidia-tegra-rt Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-image-unsigned-5.15.0-1094-ibm Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-image-unsigned-5.15.0-1095-intel-iotg Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-image-unsigned-5.15.0-1097-oracle Advisory build 5.15.0-1097.103~20.04.1 USN-8033-5
Ubuntu focal linux-image-unsigned-5.15.0-1100-aws Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-image-unsigned-5.15.0-1100-gcp Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-image-unsigned-5.15.0-1110-azure Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-image-unsigned-5.15.0-170-generic Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-image-unsigned-5.15.0-170-generic-64k Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-image-unsigned-5.15.0-170-lowlatency Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-image-unsigned-5.15.0-170-lowlatency-64k Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1095 Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1095 Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1095 Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-170 Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-170 Advisory build 5.15.0-170.180~20.04.1 USN-8033-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

42

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.4 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The malformed runlist is consumed from an NTFS volume image, which reaches the kernel only through a local mount of a block device, loop file, or removable medium (kiosk/desktop automount via udisks2 is the realistic delivery vector). There is no network-facing path into `run_unpack()`. AC:L - The attacker writes the packed `dlcn`/`len` fields of the runlist directly, so the `prev_lcn + dlcn` and `vcn64 + len` wraps are chosen deterministically; no race, memory-layout grooming, or timing is involved. The bug triggers on the first parse of the crafted attribute. PR:N - The attacker needs no account or privilege on the target — they only supply the crafted image (USB stick, downloaded disk image, attached volume), and the parsing happens entirely inside the mount performed by the victim or the automounter. This matches the scoring of the sibling `run_unpack()` overflow, CVE-2026-46062. UI:N - Someone or something on the target must mount the crafted NTFS volume before `ntfs_read_mft()`/`attr_load_runs()` reach `run_unpack()`, which is a distinct victim action (inserting/mounting the medium). S:U - The corrupted `runs_tree`, out-of-volume cluster I/O and bitmap damage are all confined to the kernel and the filesystem it manages; no VM, IOMMU, or sandbox boundary is crossed. C:H - The wrapped LCN bypasses the `lcn + len > sbi->used.bitmap.nbits` volume-bounds check, so reads of the attacker's file are serviced from arbitrary clusters belonging to other files — the commit states this yields "access to arbitrary data on the disk bypassing access checks," because the inode permission check occurs above this layer. I:H - The same unvalidated LCNs let writes to the attacker's file land on arbitrary clusters, and the `RUN_DEALLOCATE` path drives `mark_as_free_ex()`/`wnd_set_free()`/`ntfs_unmap_and_discard()` over out-of-range ranges, corrupting the cluster bitmap and discarding live blocks — the commit calls this "destruction of arbitrary data on the disk." A:H - A `runs_tree` built from wrapped VCN/LCN values produces out-of-range block I/O, out-of-bounds cluster-bitmap manipulation, and inconsistent allocation metadata, readily producing oops/BUG and rendering the mounted volume — and on a root or system NTFS volume the machine — unusable.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 4342306f0f0d5ff4315a204d315c1b51b914fca5 to < f6b36cfd25cbadad63447c673743cf771090e756 (affected · git)4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 3ac37e100385b59ac821a62118494442238aaac4 (affected · git)4342306f0f0d5ff4315a204d315c1b51b914fca5 to < a86c8b9d03f7101e1750233846fe989df6f0d631 (affected · git)4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 9378cfe228c2c679564a4116bcb28c8e89dff989 (affected · git)4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 5aa5799d162ad1b8e8b699d48b6218143c695a78 (affected · git)4342306f0f0d5ff4315a204d315c1b51b914fca5 to < 736fc7bf5f68f6b74a0925b7e072c571838657d2 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.195 through 5.15.* (unaffected · semver)6.1.156 through 6.1.* (unaffected · semver)6.6.112 through 6.6.* (unaffected · semver)6.12.53 through 6.12.* (unaffected · semver)6.17.3 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

fs: ntfs3: Fix integer overflow in run_unpack()

Provenance

Schema
5.2
Searchable
yes
Content hash
3bb61b36cc9474ac77a96ccf0d12154fa0bbd0462622d873a329dbe7836d836a
Ingested
23 Sep 2026, 08:48:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected