Vulnerability record
ntfs: fix kmap_local leak in ntfs_check_logfile()
In the Linux kernel, the following vulnerability has been resolved:
ntfs: fix kmap_local leak in ntfs_check_logfile()
ntfs_check_logfile() calls kmap_local_folio() on every iteration of its search loop but kunmap_local() only once per folio. The loop visits positions 0, 512, 1024, 2048, 4096 and so on. With 4 KiB pages the first four are in one page, so a mount whose first LogFile folio is in highmem leaves three entries on the kmap_local stack of the mounting task. Kernels without HIGHMEM are not affected.
The leaked entries keep migration disabled. nr_pinned of the runqueue the mount ran…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources