freenode

← CVE tracker

CVE-2026-99730

mm/filemap: finish fault cleanup before dropping the fault lock

Severity
high CVSS 7.8 (v3.1)
Affects
Linux
Published
20 November 2026 by Linux
First seen on our lists
20 November 2026
In the Linux kernel, the following vulnerability has been resolved: mm/filemap: finish fault cleanup before dropping the fault lock On a retried fault, a fatal signal interrupting the folio lock wait makes lock_folio_maybe_drop_mmap() drop the fault lock without pinning the file. However, filemap_fault() may still need to release mapping->invalidate_lock. A concurrent munmap() can release the last file reference and free the mapping before that unlock. Defer dropping the fault lock to filemap_fault()'s retry cleanup, after releasing invalidate_lock. If the fault lock was already dropped for I/O, release the existing file reference instead. Keep the fault lock held for FAULT_FLAG_RETRY_NOWAIT as before.

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists