GHSA-w7p3-hv68-6j56HighCVSS 7.8
In the Linux kernel, the following vulnerability has been resolved: mm/filemap: finish fault...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-99730
- https://git.kernel.org/stable/c/8500faaa6ef7b4489294f2bf98c9017ee009986c
- https://git.kernel.org/stable/c/97156a6c355c21f7122421915f05461bd11699a4
- https://git.kernel.org/stable/c/efa7aec3f30d79a7d35edd219c6f49235f331013
- https://git.kernel.org/stable/c/f1c149e651fd55edc0769b76ebd688ae6cbd48f0
- https://github.com/advisories/GHSA-w7p3-hv68-6j56