{"api_version":"1","generated_at":"2026-11-20T07:29:56+00:00","cve":"CVE-2026-99731","urls":{"html":"https://cve.report/CVE-2026-99731","api":"https://cve.report/api/cve/CVE-2026-99731.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99731","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99731"},"summary":{"title":"mm/filemap: don't lose a folio lock wakeup to a signal","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/filemap: don't lose a folio lock wakeup to a signal\n\nAn exclusive waiter in folio_wait_bit_common() can leave the wait loop\nbecause of a fatal signal, then be woken by folio_unlock() before\nfinish_wait(). If the waker did not hand over the lock, the waiter returns\n-EINTR without trying to acquire it.\n\nfolio_wake_bit() stops after waking the first exclusive waiter, so this\nloses the wakeup and can leave other waiters asleep indefinitely on an\nunlocked folio.\n\nAfter finish_wait(), let a waiter woken without a lock handoff try once\nmore to acquire the lock. If successful, return success so the caller's\neventual unlock wakes the next waiter. Otherwise, the current lock owner\nwill do so.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: clarify and simplify comment + description ]","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:10","updated_at":"2026-11-20 06:18:10"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/31cb998f208c078a6e9656b971bb311ea490ff1e","name":"https://git.kernel.org/stable/c/31cb998f208c078a6e9656b971bb311ea490ff1e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3ce549d0df658a36602f2d03882688af0ea03faf","name":"https://git.kernel.org/stable/c/3ce549d0df658a36602f2d03882688af0ea03faf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8ccb6ded6a47b59b4907ed4f8c293cf8122de889","name":"https://git.kernel.org/stable/c/8ccb6ded6a47b59b4907ed4f8c293cf8122de889","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/da815f785e568accf0d4f2ec36233d316d5035c8","name":"https://git.kernel.org/stable/c/da815f785e568accf0d4f2ec36233d316d5035c8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99731","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99731","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5ef64cc8987a9211d3f3667331ba3411a94ddc79 3ce549d0df658a36602f2d03882688af0ea03faf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5ef64cc8987a9211d3f3667331ba3411a94ddc79 da815f785e568accf0d4f2ec36233d316d5035c8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5ef64cc8987a9211d3f3667331ba3411a94ddc79 31cb998f208c078a6e9656b971bb311ea490ff1e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5ef64cc8987a9211d3f3667331ba3411a94ddc79 8ccb6ded6a47b59b4907ed4f8c293cf8122de889 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c404e1e19780d8977f67411a3b951a964c6361ae git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.4.255 5.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.9","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.9 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["mm/filemap.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"3ce549d0df658a36602f2d03882688af0ea03faf","status":"affected","version":"5ef64cc8987a9211d3f3667331ba3411a94ddc79","versionType":"git"},{"lessThan":"da815f785e568accf0d4f2ec36233d316d5035c8","status":"affected","version":"5ef64cc8987a9211d3f3667331ba3411a94ddc79","versionType":"git"},{"lessThan":"31cb998f208c078a6e9656b971bb311ea490ff1e","status":"affected","version":"5ef64cc8987a9211d3f3667331ba3411a94ddc79","versionType":"git"},{"lessThan":"8ccb6ded6a47b59b4907ed4f8c293cf8122de889","status":"affected","version":"5ef64cc8987a9211d3f3667331ba3411a94ddc79","versionType":"git"},{"status":"affected","version":"c404e1e19780d8977f67411a3b951a964c6361ae","versionType":"git"},{"lessThan":"5.5","status":"affected","version":"5.4.255","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["mm/filemap.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.9"},{"lessThan":"5.9","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"5.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"5.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"5.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"5.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.255","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/filemap: don't lose a folio lock wakeup to a signal\n\nAn exclusive waiter in folio_wait_bit_common() can leave the wait loop\nbecause of a fatal signal, then be woken by folio_unlock() before\nfinish_wait(). If the waker did not hand over the lock, the waiter returns\n-EINTR without trying to acquire it.\n\nfolio_wake_bit() stops after waking the first exclusive waiter, so this\nloses the wakeup and can leave other waiters asleep indefinitely on an\nunlocked folio.\n\nAfter finish_wait(), let a waiter woken without a lock handoff try once\nmore to acquire the lock. If successful, return success so the caller's\neventual unlock wakes the next waiter. Otherwise, the current lock owner\nwill do so.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: clarify and simplify comment + description ]"}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:05.974Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/3ce549d0df658a36602f2d03882688af0ea03faf"},{"url":"https://git.kernel.org/stable/c/da815f785e568accf0d4f2ec36233d316d5035c8"},{"url":"https://git.kernel.org/stable/c/31cb998f208c078a6e9656b971bb311ea490ff1e"},{"url":"https://git.kernel.org/stable/c/8ccb6ded6a47b59b4907ed4f8c293cf8122de889"}],"title":"mm/filemap: don't lose a folio lock wakeup to a signal","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99731","datePublished":"2026-11-20T05:51:05.974Z","dateReserved":"2026-09-25T10:25:14.431Z","dateUpdated":"2026-11-20T05:51:05.974Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:10","lastModifiedDate":"2026-11-20 06:18:10","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99731","Ordinal":"1","Title":"mm/filemap: don't lose a folio lock wakeup to a signal","CVE":"CVE-2026-99731","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99731","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/filemap: don't lose a folio lock wakeup to a signal\n\nAn exclusive waiter in folio_wait_bit_common() can leave the wait loop\nbecause of a fatal signal, then be woken by folio_unlock() before\nfinish_wait(). If the waker did not hand over the lock, the waiter returns\n-EINTR without trying to acquire it.\n\nfolio_wake_bit() stops after waking the first exclusive waiter, so this\nloses the wakeup and can leave other waiters asleep indefinitely on an\nunlocked folio.\n\nAfter finish_wait(), let a waiter woken without a lock handoff try once\nmore to acquire the lock. If successful, return success so the caller's\neventual unlock wakes the next waiter. Otherwise, the current lock owner\nwill do so.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: clarify and simplify comment + description ]","Type":"Description","Title":"mm/filemap: don't lose a folio lock wakeup to a signal"}]}}}