CVE-2026-99731
mm/filemap: don't lose a folio lock wakeup to a signal
- CVSS
- —
- EPSS
- 0.18% (p8)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-23
- Product
- Linux Linux
Description
In the Linux kernel, the following vulnerability has been resolved: mm/filemap: don't lose a folio lock wakeup to a signal An exclusive waiter in folio_wait_bit_common() can leave the wait loop because of a fatal signal, then be woken by folio_unlock() before finish_wait(). If the waker did not hand over the lock, the waiter returns -EINTR without trying to acquire it. folio_wake_bit() stops after waking the first exclusive waiter, so this loses the wakeup and can leave other waiters asleep indefinitely on an unlocked folio. After finish_wait(), let a waiter woken without a lock handoff try once more to acquire the lock. If successful, return success so the caller's eventual unlock wakes the next waiter. Otherwise, the current lock owner will do so. Fix generated by an LLM and sent by Josef Bacik in private. [ david: clarify and simplify comment + description ]
Fixed in
1b995b2ac9d8a1b1ac6dc5bf85276c4fa18875ea · 1fb9f09fe323ea3a09154b9b1e1920efa252581e · 31cb998f208c078a6e9656b971bb311ea490ff1e · 3ce549d0df658a36602f2d03882688af0ea03faf · 5.10.275 · 5.15.226 · 5.5 · 6.1.193 · 6.12.118 · 6.18.64 · 6.6.163 · 7.3.5 · 8c82eb8476e458b4e9889197843d4bd31f86b738 · 8ccb6ded6a47b59b4907ed4f8c293cf8122de889 · da815f785e568accf0d4f2ec36233d316d5035c8 · e51c561f878f9fd58904a03a6c50f65a2ffb088e
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.11.0, <5.15.226 | 5.15.226 |
| Linux | Kernel | >=5.16.0, <6.1.193 | 6.1.193 |
| Linux | Kernel | >=5.4.255, <5.5 | 5.5 |
| Linux | Kernel | >=5.9.0, <5.10.275 | 5.10.275 |
| Linux | Kernel | >=5.9.0, <6.12.118 | 6.12.118 |
| Linux | Kernel | >=6.13.0, <6.18.64 | 6.18.64 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| Linux | Kernel | >=6.2.0, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.7.0, <6.12.118 | 6.12.118 |
| vendor | Linux | >=5.4.255, <5.5 | 5.5 |
| vendor | Linux | >=5ef64cc8987a9211d3f3667331ba3411a94ddc79, <1b995b2ac9d8a1b1ac6dc5bf85276c4fa18875ea | 1b995b2ac9d8a1b1ac6dc5bf85276c4fa18875ea |
| vendor | Linux | >=5ef64cc8987a9211d3f3667331ba3411a94ddc79, <1fb9f09fe323ea3a09154b9b1e1920efa252581e | 1fb9f09fe323ea3a09154b9b1e1920efa252581e |
| vendor | Linux | >=5ef64cc8987a9211d3f3667331ba3411a94ddc79, <31cb998f208c078a6e9656b971bb311ea490ff1e | 31cb998f208c078a6e9656b971bb311ea490ff1e |
| vendor | Linux | >=5ef64cc8987a9211d3f3667331ba3411a94ddc79, <3ce549d0df658a36602f2d03882688af0ea03faf | 3ce549d0df658a36602f2d03882688af0ea03faf |
| vendor | Linux | >=5ef64cc8987a9211d3f3667331ba3411a94ddc79, <8c82eb8476e458b4e9889197843d4bd31f86b738 | 8c82eb8476e458b4e9889197843d4bd31f86b738 |
| vendor | Linux | >=5ef64cc8987a9211d3f3667331ba3411a94ddc79, <8ccb6ded6a47b59b4907ed4f8c293cf8122de889 | 8ccb6ded6a47b59b4907ed4f8c293cf8122de889 |
| vendor | Linux | >=5ef64cc8987a9211d3f3667331ba3411a94ddc79, <da815f785e568accf0d4f2ec36233d316d5035c8 | da815f785e568accf0d4f2ec36233d316d5035c8 |
| vendor | Linux | >=5ef64cc8987a9211d3f3667331ba3411a94ddc79, <e51c561f878f9fd58904a03a6c50f65a2ffb088e | e51c561f878f9fd58904a03a6c50f65a2ffb088e |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/3ce549d0df658a36602f2d03882688af0ea03faf other
- https://git.kernel.org/stable/c/da815f785e568accf0d4f2ec36233d316d5035c8 other
- https://git.kernel.org/stable/c/31cb998f208c078a6e9656b971bb311ea490ff1e other
- https://git.kernel.org/stable/c/8ccb6ded6a47b59b4907ed4f8c293cf8122de889 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99731.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99731 advisory
- https://git.kernel.org/stable/c/1fb9f09fe323ea3a09154b9b1e1920efa252581e other
- https://git.kernel.org/stable/c/8c82eb8476e458b4e9889197843d4bd31f86b738 other
- https://git.kernel.org/stable/c/e51c561f878f9fd58904a03a6c50f65a2ffb088e other
- https://git.kernel.org/stable/c/1b995b2ac9d8a1b1ac6dc5bf85276c4fa18875ea other