A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/35268471f4a4f3b09374a0d97aaa423dfb6aae81
- git.kernel.org /stable/c/80c954830d5a22fa200d74bac413cb3390b95f04
- git.kernel.org /stable/c/8500faaa6ef7b4489294f2bf98c9017ee009986c
- git.kernel.org /stable/c/97156a6c355c21f7122421915f05461bd11699a4
- git.kernel.org /stable/c/c3fa2252d436e4ccd483a329c6b4180d11846269
- git.kernel.org /stable/c/efa7aec3f30d79a7d35edd219c6f49235f331013
- git.kernel.org /stable/c/f1c149e651fd55edc0769b76ebd688ae6cbd48f0
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning