Security mailing lists by PureSourceCode

CVE-2026-99731

not scored yet

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

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 ]

Published
20 Nov 2026
Last modified
23 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 5ef64cc8987a9211d3f3667331ba3411a94ddc79, < 1fb9f09fe323ea3a09154b9b1e1920efa252581e; >= 5ef64cc8987a9211d3f3667331ba3411a94ddc79, < 8c82eb8476e458b4e9889197843d4bd31f86b738; >= 5ef64cc8987a9211d3f3667331ba3411a94ddc79, < e51c561f878f9fd58904a03a6c50f65a2ffb088e; >= 5ef64cc8987a9211d3f3667331ba3411a94ddc79, < 1b995b2ac9d8a1b1ac6dc5bf85276c4fa18875ea; >= 5ef64cc8987a9211d3f3667331ba3411a94ddc79, < 3ce549d0df658a36602f2d03882688af0ea03faf; >= 5ef64cc8987a9211d3f3667331ba3411a94ddc79, < da815f785e568accf0d4f2ec36233d316d5035c8; >= 5ef64cc8987a9211d3f3667331ba3411a94ddc79, < 31cb998f208c078a6e9656b971bb311ea490ff1e; >= 5ef64cc8987a9211d3f3667331ba3411a94ddc79, < 8ccb6ded6a47b59b4907ed4f8c293cf8122de889; = c404e1e19780d8977f67411a3b951a964c6361ae; >= 5.4.255, < 5.5 1fb9f09fe323ea3a09154b9b1e1920efa252581e, 8c82eb8476e458b4e9889197843d4bd31f86b738, e51c561f878f9fd58904a03a6c50f65a2ffb088e, 1b995b2ac9d8a1b1ac6dc5bf85276c4fa18875ea, 3ce549d0df658a36602f2d03882688af0ea03faf, da815f785e568accf0d4f2ec36233d316d5035c8, 31cb998f208c078a6e9656b971bb311ea490ff1e, 8ccb6ded6a47b59b4907ed4f8c293cf8122de889, 5.5
CVE List Linux Linux = 5.9

References

History

  • 25 Nov 2026 20:33 UTC · CVE List: first stored (published 20 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 20 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.