CVE-2026-99731

mm/filemap: don't lose a folio lock wakeup to a signal

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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 ]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5ef64cc8987a9211d3f3667331ba3411a94ddc79 to before 3ce549d0df658a36602f2d03882688af0ea03fafAffected
  • 5ef64cc8987a9211d3f3667331ba3411a94ddc79 to before da815f785e568accf0d4f2ec36233d316d5035c8Affected
  • 5ef64cc8987a9211d3f3667331ba3411a94ddc79 to before 31cb998f208c078a6e9656b971bb311ea490ff1eAffected
  • 5ef64cc8987a9211d3f3667331ba3411a94ddc79 to before 8ccb6ded6a47b59b4907ed4f8c293cf8122de889Affected
  • c404e1e19780d8977f67411a3b951a964c6361aeAffected
  • 5.4.255 to before 5.5Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.