Linux: ntfs: protect runlist updates with the runlist lock
What fixes it
- 742797432e8c9b0dd54ecc523c185e26b09d79a0LinuxCVE List
- 91709ba5d6d709b2b663287b7e871e2c6b480502LinuxCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 6
- Linuxaffected: 495e90fa334828d4119061e2726af51d0a0fb4ed before 742797432e8c9b0dd54ecc523c185e26b09d79a0CVE List
- Linuxaffected: 495e90fa334828d4119061e2726af51d0a0fb4ed before 91709ba5d6d709b2b663287b7e871e2c6b480502CVE List
- Linuxaffected: 7.1CVE List
- Linuxunaffected: all versions before 7.1CVE List
- Linuxunaffected: 7.2.8 through 7.2.*CVE List
- Linuxunaffected: 7.3CVE List