CVE-2025-38615
published high CVSS 3.1 · 7.8fs/ntfs3: cancle set bad inode after removing name fails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux78ab59fee07f22464f32eafebab2bd97ba94ff2d to < 47856e10f8d5e066aa26b1f9c02d933fe0620399 · 78ab59fee07f22464f32eafebab2bd97ba94ff2d to < b35a50d639ca5259466ef5fea85529bb4fb17d5b · 78ab59fee07f22464f32eafebab2bd97ba94ff2d to < 3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc · 78ab59fee07f22464f32eafebab2bd97ba94ff2d to < 358d4f821c03add421a4c49290538a705852ccf1 · 78ab59fee07f22464f32eafebab2bd97ba94ff2d to < a285395020780adac1ffbc844069c3d700bf007a · 78ab59fee07f22464f32eafebab2bd97ba94ff2d to < d99208b91933fd2a58ed9ed321af07dacd06ddc3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.102 through 6.6.* (unaffected · semver) · 6.12.42 through 6.12.* (unaffected · semver) · 6.15.10 through 6.15.* (unaffected · semver) · 6.16.1 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1208 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1119 | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1119 | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1119 | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1125 | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1125 | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1125 | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-fde-5.15 | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-fde-5.15-cloud-tools-5.15.0-1124 | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-fde-5.15-headers-5.15.0-1124 | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-fde-5.15-tools-5.15.0-1124 | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1116-oracle | Advisory build | 5.15.0-1116.122~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1120-gcp | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-197-lowlatency-64k | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-202-generic-64k | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-202-generic-lpae | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1120 | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1120 | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-headers-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-headers-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1116-oracle | Advisory build | 5.15.0-1116.122~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1120-gcp | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-197-lowlatency-64k | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-202-generic-64k | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-202-generic-lpae | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-202 | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-202 | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-202 | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1113 | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1113 | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-5.15.0-202-generic-lpae | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1116-oracle | Advisory build | 5.15.0-1116.122~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1120-gcp | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-197-lowlatency-64k | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-202-generic-64k | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1114 | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1114 | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1114 | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-197 | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-197 | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-197 | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-modules-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-modules-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1116-oracle | Advisory build | 5.15.0-1116.122~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1120-gcp | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-197-lowlatency-64k | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-202-generic-64k | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-202-generic-lpae | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-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: cancle set bad inode after removing name fails The reproducer uses a file0 on a ntfs3 file system with a corrupted i_link. When renaming, the file0's inode is marked as a bad inode because the file name cannot be deleted. The underlying bug is that make_bad_inode() is called on a live inode. In some cases it's "icache lookup finds a normal inode, d_splice_alias() is called to attach it to dentry, while another thread decides to call make_bad_inode() on it - that would evict it from icache, but we'd already found it there earlier". In some it's outright "we have an inode attached to dentry - that's how we got it in the first place; let's call make_bad_inode() on it just for shits and giggles".
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached purely through local syscalls — `renameat2()` on a mounted ntfs3 volume followed by `openat()` on the affected path; there is no remote or network-facing consumer of this code. AC:L - The attacker crafts the NTFS image so `ni_remove_name()` deterministically fails, and drives both sides of the `d_splice_alias()`/`make_bad_inode()` window with its own threads (a rename loop plus a lookup/open loop), so no condition lies outside its control; the downstream `S_ISDIR` bypass and inode-unhashing consequences need no race at all. PR:L - Renaming and opening files on a mounted ntfs3 volume are ordinary unprivileged operations, and ntfs3 mounts default to permissive uid/gid/fmask/dmask permissions; the mount itself is obtained without any elevated credentials via udisks2 loop-setup/filesystem-mount, which are granted to active local sessions by default. UI:N - The attacker performs every step alone — supplying the crafted image, mounting it through udisks2 or removable-media auto-mount, then issuing the rename and open; no action by any other user is required. S:U - The wild-pointer dereference and inode/dcache state corruption occur entirely within the kernel's own security authority, crossing no VM, IOMMU, or sandbox boundary. C:H - `pick_link()` dereferences `inode->i_link`, which actually holds `i_dir_seq` — a value the attacker inflates by adding directory entries — and consumes the target bytes as a symlink body steering path resolution, so on configurations without SMAP/PAN this yields an attacker-directed read primitive; the duplicate-inode aliasing additionally cross-links clusters between unrelated files. I:H - The corrupted symlink body redirects path resolution to attacker-chosen targets, the `S_IFDIR→S_IFREG` flip bypasses the non-empty-directory guard in `ntfs_unlink_inode()` allowing live directories to be unlinked, and duplicate `ntfs_inode`s for one MFT record double-free clusters — a memory- and metadata-corruption primitive steerable toward control-flow hijack. A:H - syzbot reproduced a general protection fault / KASAN null-ptr-deref in `pick_link()` from `do_sys_openat2()`, and the unhashed live inode plus `ni->dir`/`ni->file` union confusion produce further oopses — any of which panics the kernel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 78ab59fee07f22464f32eafebab2bd97ba94ff2d to < 47856e10f8d5e066aa26b1f9c02d933fe0620399 (affected · git)78ab59fee07f22464f32eafebab2bd97ba94ff2d to < b35a50d639ca5259466ef5fea85529bb4fb17d5b (affected · git)78ab59fee07f22464f32eafebab2bd97ba94ff2d to < 3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc (affected · git)78ab59fee07f22464f32eafebab2bd97ba94ff2d to < 358d4f821c03add421a4c49290538a705852ccf1 (affected · git)78ab59fee07f22464f32eafebab2bd97ba94ff2d to < a285395020780adac1ffbc844069c3d700bf007a (affected · git)78ab59fee07f22464f32eafebab2bd97ba94ff2d to < d99208b91933fd2a58ed9ed321af07dacd06ddc3 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.102 through 6.6.* (unaffected · semver)6.12.42 through 6.12.* (unaffected · semver)6.15.10 through 6.15.* (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/358d4f821c03add421a4c49290538a705852ccf1
- https://git.kernel.org/stable/c/3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc
- https://git.kernel.org/stable/c/47856e10f8d5e066aa26b1f9c02d933fe0620399
- https://git.kernel.org/stable/c/a285395020780adac1ffbc844069c3d700bf007a
- https://git.kernel.org/stable/c/b35a50d639ca5259466ef5fea85529bb4fb17d5b
- https://git.kernel.org/stable/c/d99208b91933fd2a58ed9ed321af07dacd06ddc3
Provider assertions
1Linux · cna
fs/ntfs3: cancle set bad inode after removing name fails
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a1ed779b8a3c4720753db581de11dbb195a31af472a25e3c51cf0dce5aaae42b
- Ingested
- 30 Oct 2026, 12:31:36 UTC
- Source record
- Official CVE record