Linux
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 495e90fa334828d4119061e2726af51d0a0fb4ed, < 742797432e8c9b0dd54ecc523c185e26b09d79a0
- >= 495e90fa334828d4119061e2726af51d0a0fb4ed, < 91709ba5d6d709b2b663287b7e871e2c6b480502
Fixed in 742797432e8c9b0dd54ecc523c185e26b09d79a0, 91709ba5d6d709b2b663287b7e871e2c6b480502
- 7.1
Fixed in 0, 7.2.8, 7.3
Mitigation
Upgrade Linux to 742797432e8c9b0dd54ecc523c185e26b09d79a0 or 91709ba5d6d709b2b663287b7e871e2c6b480502 or later.
Upgrade Linux to 0 or 7.2.8 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.