# CVE-2026-99731: mm/filemap: don't lose a folio lock wakeup to a signal

Status: published. Published: 2026-11-20. Updated: 2026-11-23.

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 ]

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 5ef64cc8987a9211d3f3667331ba3411a94ddc79; < 1fb9f09fe323ea3a09154b9b1e1920efa252581e (affected, git); ≥ 5ef64cc8987a9211d3f3667331ba3411a94ddc79; < 8c82eb8476e458b4e9889197843d4bd31f86b738 (affected, git); ≥ 5ef64cc8987a9211d3f3667331ba3411a94ddc79; < e51c561f878f9fd58904a03a6c50f65a2ffb088e (affected, git); ≥ 5ef64cc8987a9211d3f3667331ba3411a94ddc79; < 1b995b2ac9d8a1b1ac6dc5bf85276c4fa18875ea (affected, git); ≥ 5ef64cc8987a9211d3f3667331ba3411a94ddc79; < 3ce549d0df658a36602f2d03882688af0ea03faf (affected, git); ≥ 5ef64cc8987a9211d3f3667331ba3411a94ddc79; < da815f785e568accf0d4f2ec36233d316d5035c8 (affected, git); ≥ 5ef64cc8987a9211d3f3667331ba3411a94ddc79; < 31cb998f208c078a6e9656b971bb311ea490ff1e (affected, git); ≥ 5ef64cc8987a9211d3f3667331ba3411a94ddc79; < 8ccb6ded6a47b59b4907ed4f8c293cf8122de889 (affected, git); c404e1e19780d8977f67411a3b951a964c6361ae (affected, git); ≥ 5.4.255; < 5.5 (affected, semver). Source: CNA: Linux
- Linux / Linux: 5.9 (affected); ≥ 0; < 5.9 (unaffected, semver); ≥ 5.10.275; ≤ 5.10.* (unaffected, semver); ≥ 5.15.226; ≤ 5.15.* (unaffected, semver); ≥ 6.1.193; ≤ 6.1.* (unaffected, semver); ≥ 6.6.163; ≤ 6.6.* (unaffected, semver); ≥ 6.12.118; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.17% as of 2026-11-22; percentile 6.17%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/1fb9f09fe323ea3a09154b9b1e1920efa252581e (CNA: Linux)

- https://git.kernel.org/stable/c/8c82eb8476e458b4e9889197843d4bd31f86b738 (CNA: Linux)

- https://git.kernel.org/stable/c/e51c561f878f9fd58904a03a6c50f65a2ffb088e (CNA: Linux)

- https://git.kernel.org/stable/c/1b995b2ac9d8a1b1ac6dc5bf85276c4fa18875ea (CNA: Linux)

- https://git.kernel.org/stable/c/3ce549d0df658a36602f2d03882688af0ea03faf (CNA: Linux)

- https://git.kernel.org/stable/c/da815f785e568accf0d4f2ec36233d316d5035c8 (CNA: Linux)

- https://git.kernel.org/stable/c/31cb998f208c078a6e9656b971bb311ea490ff1e (CNA: Linux)

- https://git.kernel.org/stable/c/8ccb6ded6a47b59b4907ed4f8c293cf8122de889 (CNA: Linux)

- https://git.kernel.org/stable/c/31cb998f208c078a6e9656b971bb311ea490ff1e (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/3ce549d0df658a36602f2d03882688af0ea03faf (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/8ccb6ded6a47b59b4907ed4f8c293cf8122de889 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/da815f785e568accf0d4f2ec36233d316d5035c8 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99731; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99731; retrieved 2026-11-20; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99731; retrieved 2026-11-23; source updated Not reported

Revision: ea425413c709b9dc3f2b26484b6240fdc625b3f536d7fec9ad4b7f93998ac680

Canonical: https://y2.dev/cve/CVE-2026-99731

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.