CVE-2026-98315
published high CVSS 3.1 · 7.8ntfs: protect runlist updates with the runlist lock
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux495e90fa334828d4119061e2726af51d0a0fb4ed to < 742797432e8c9b0dd54ecc523c185e26b09d79a0 · 495e90fa334828d4119061e2726af51d0a0fb4ed to < 91709ba5d6d709b2b663287b7e871e2c6b480502 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.2.8 through 7.2.* (unaffected · semver) · 7.3 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 | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.2.10-1.1 | OPENSUSE-SU-2026:12131-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: ntfs: protect runlist updates with the runlist lock ntfs_non_resident_attr_shrink() calls runlist helpers that require the runlist write lock, but did not hold it while freeing clusters and truncating the runlist. Serialize those operations and the resident conversion with the runlist lock. ntfs_attr_map_cluster() can merge a newly allocated run before updating mapping pairs. If the update fails, free the clusters and restore both the in-memory runlist and on-disk mapping pairs from a saved runlist. Mark the volume in error if either rollback step fails.
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 trigger is a local ftruncate() on a file in a mounted NTFS volume, via ntfs_setattr_size()->ntfs_truncate_vfs()->__ntfs_attr_truncate_vfs()->ntfs_non_resident_attr_shrink(). That path frees clusters and calls ntfs_rl_truncate_nolock() without ni->runlist.lock. No remote protocol supplies the input; it is a locking defect on a well-formed volume. AC:L - The attacker runs both sides of the race: one thread dirties and fsync()s the file, driving ntfs_writeback_range()->__ntfs_write_iomap_begin(), which walks and merges ni->runlist.rl under runlist.lock. Another thread repeatedly ftruncate()s the same file, reallocating or kvfree()ing rl without that lock. It can be retried at will. PR:L - The attacker only needs an ordinary local account with write permission on a file in an already-mounted NTFS volume, as needed for setattr ATTR_SIZE and writeback. No capability is checked on this path. UI:N - No crafted image or victim mount is needed. The race works against any legitimately mounted NTFS volume, using only the attacker's own truncate and write/fsync calls on a file the attacker can already write. S:U - The memory corruption stays within the kernel's own security authority. No guest/host, IOMMU or sandbox boundary is crossed. C:H - ntfs_rl_truncate_nolock() reallocates or frees the kvmalloc'd runlist array while writeback still holds a pointer into it, so the freed slab can be reclaimed and its contents read back as cluster mappings (LCNs). That can direct I/O at arbitrary disk clusters, and is a use-after-free read of kernel memory. I:H - The writeback path merges new runs into the freed or reallocated runlist array (heap use-after-free write). Concurrently, ntfs_cluster_free() and the shrink update the shared runlist and on-disk mapping pairs without serialization, corrupting both kernel heap memory and filesystem metadata. A:H - Losing the race leads to a KASAN use-after-free or oops in the runlist walk, a double kvfree, or a corrupted runlist and mapping pairs that leave the volume inconsistent and can crash later lookups.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 495e90fa334828d4119061e2726af51d0a0fb4ed to < 742797432e8c9b0dd54ecc523c185e26b09d79a0 (affected · git)495e90fa334828d4119061e2726af51d0a0fb4ed to < 91709ba5d6d709b2b663287b7e871e2c6b480502 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.2.8 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
ntfs: protect runlist updates with the runlist lock
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 87f83ada103b34c1d412f56ffeb8f94cb4e59457f8294bb17058e5201f95b0f3
- Ingested
- 19 Oct 2026, 09:35:31 UTC
- Source record
- Official CVE record