ntfs: fix kmap_local_page() usage in compress
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix kmap_local_page() usage in compress Several compressed I/O paths discard the address returned by kmap_local_page() and later access or unmap the page using page_address(). This is invalid for highmem pages, and local mappings must also be unmapped using the address returned by kmap_local_page(). Map each destination page in ntfs_decompress() only while producing the current sub-block. Use memcpy_from_page(), memcpy_to_page(), and memzero_page() for the other page accesses. Remove unnecessary local mappings from ntfs_write_cb(), where pages are accessed through the vmap() mapping.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 495e90fa334828d4119061e2726af51d0a0fb4ed · fixed in 950e2ecc7aec21af24b05bc661a097a81c670409; From 495e90fa334828d4119061e2726af51d0a0fb4ed · fixed in 6e03fbd5f772ad24ea64f7632e4d0d73184787ca
- Linux Linux
7.1
- KernelLinux
From 7.1.0 · fixed in 7.2.6