CVE-2026-99730
mm/filemap: finish fault cleanup before dropping the fault lock
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: 730633f0b7f951726e87f912a6323641f674ae34 to < 35268471f4a4f3b09374a0d97aaa423dfb6aae81; affected: 730633f0b7f951726e87f912a6323641f674ae34 to < 80c954830d5a22fa200d74bac413cb3390b95f04; affected: 730633f0b7f951726e87f912a6323641f674ae34 to < c3fa2252d436e4ccd483a329c6b4180d11846269; affected: 730633f0b7f951726e87f912a6323641f674ae34 to < efa7aec3f30d79a7d35edd219c6f49235f331013; affected: 730633f0b7f951726e87f912a6323641f674ae34 to < f1c149e651fd55edc0769b76ebd688ae6cbd48f0; affected: 730633f0b7f951726e87f912a6323641f674ae34 to < 8500faaa6ef7b4489294f2bf98c9017ee009986c; affected: 730633f0b7f951726e87f912a6323641f674ae34 to < 97156a6c355c21f7122421915f05461bd11699a4 | See vendor advisory |
| LinuxLinux | affected: 5.15; unaffected: 0 to < 5.15; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99730
- https://git.kernel.org/stable/c/35268471f4a4f3b09374a0d97aaa423dfb6aae81
- https://git.kernel.org/stable/c/80c954830d5a22fa200d74bac413cb3390b95f04
- https://git.kernel.org/stable/c/c3fa2252d436e4ccd483a329c6b4180d11846269
- https://git.kernel.org/stable/c/efa7aec3f30d79a7d35edd219c6f49235f331013
- https://git.kernel.org/stable/c/f1c149e651fd55edc0769b76ebd688ae6cbd48f0
- https://git.kernel.org/stable/c/8500faaa6ef7b4489294f2bf98c9017ee009986c
- https://git.kernel.org/stable/c/97156a6c355c21f7122421915f05461bd11699a4