ntfs: protect runlist updates with the runlist lock
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.
CVE-2026-98315
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98315
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "495e90fa334828d4119061e2726af51d0a0fb4ed",
"lessThan": "742797432e8c9b0dd54ecc523c185e26b09d79a0",
"versionType": "git"
},
{
"status": "affected",
"version": "495e90fa334828d4119061e2726af51d0a0fb4ed",
"lessThan": "91709ba5d6d709b2b663287b7e871e2c6b480502",
"versionType": "git"
}
],
"programFiles": [
"fs/ntfs/attrib.c",
"fs/ntfs/attrib.h",
"fs/ntfs/attrlist.c",
"fs/ntfs/attrlist.h",
"fs/ntfs/compress.c",
"fs/ntfs/file.c",
"fs/ntfs/inode.c",
"fs/ntfs/mft.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "7.1"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "7.1",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "7.2.8",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/ntfs/attrib.c",
"fs/ntfs/attrib.h",
"fs/ntfs/attrlist.c",
"fs/ntfs/attrlist.h",
"fs/ntfs/compress.c",
"fs/ntfs/file.c",
"fs/ntfs/inode.c",
"fs/ntfs/mft.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98315
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #38394 · Revision 1
- Added to Heist Feed
- Publisher date