{"id":"CVE-2026-143174","state":"PUBLISHED","title":"eventpoll: wake the next waiter when a woken waiter is killed","description":"In the Linux kernel, the following vulnerability has been resolved:\n\neventpoll: wake the next waiter when a woken waiter is killed\n\nProcesses sharing an epoll instance can sleep forever while an event is\nready.  An event wakes only one waiter, which then wakes the next one in\nep_done_scan() if events are still ready.  Since commit c257a340ede0\n(\"fs, epoll: short circuit fetching events if thread has been killed\"),\nep_send_events() returns before the scan when the waiter has a fatal\nsignal.  If the woken waiter is killed before it runs, nobody wakes the\nnext one:\n\n  Task A                     Task B                 Task C\n  epoll_wait(ep, -1)         epoll_wait(ep, -1)\n                                                    write(efd)\n                                                      /* wakes A only */\n                                                    kill(A, SIGKILL)\n  ep_send_events()\n    return -EINTR\n      /* skips ep_done_scan() */\n                             /* still asleep */\n\nB then sleeps until another file on the instance becomes ready, if ever.\nThis can hit eg a pre-fork server whose worker gets OOM killed.  Commit\n7fab29e35630 (\"fs/epoll: restore waking from ep_done_scan()\") fixed the\nsame kind of hang when the wakeup in ep_done_scan() was removed.\n\nKeep the early return so that a dying task still doesn't take events\nnobody will see, but wake the next waiter there if events are ready, as\nep_done_scan() would have.  With the fix, B gets the event.\n\nThis bug was identified and confirmed with the help of a deterministic\nhypervisor currently under development.  The C reproducer below however\nhits it within about 2s.","publishedAt":"2026-12-03T09:20:08.893Z","updatedAt":"2026-12-03T09:20:08.893Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c257a340ede0104e902807f0f001799850343ae9","status":"affected","lessThan":"9e8c5e1620a93a5eadc6670b5d3a68bb6c935ce2","versionType":"git"},{"version":"c257a340ede0104e902807f0f001799850343ae9","status":"affected","lessThan":"ca1471c8b310bfa069ce6235a74d554bbc5c7829","versionType":"git"},{"version":"c257a340ede0104e902807f0f001799850343ae9","status":"affected","lessThan":"2f7d8187f8f08c37a18397275b32422faa5ded82","versionType":"git"},{"version":"c257a340ede0104e902807f0f001799850343ae9","status":"affected","lessThan":"9f4413e522faed76f4cf610098b2369eb3ba1f1c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/eventpoll.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.13","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/eventpoll.c"]}],"references":["https://git.kernel.org/stable/c/9e8c5e1620a93a5eadc6670b5d3a68bb6c935ce2","https://git.kernel.org/stable/c/ca1471c8b310bfa069ce6235a74d554bbc5c7829","https://git.kernel.org/stable/c/2f7d8187f8f08c37a18397275b32422faa5ded82","https://git.kernel.org/stable/c/9f4413e522faed76f4cf610098b2369eb3ba1f1c"],"weaknesses":[],"ingestedAt":"2026-12-03T09:40:06.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143174.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143174","state":"PUBLISHED","datePublished":"2026-12-03T09:20:08.893Z","dateUpdated":"2026-12-03T09:20:08.893Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.357Z"},"containers":{"cna":{"title":"eventpoll: wake the next waiter when a woken waiter is killed","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\neventpoll: wake the next waiter when a woken waiter is killed\n\nProcesses sharing an epoll instance can sleep forever while an event is\nready.  An event wakes only one waiter, which then wakes the next one in\nep_done_scan() if events are still ready.  Since commit c257a340ede0\n(\"fs, epoll: short circuit fetching events if thread has been killed\"),\nep_send_events() returns before the scan when the waiter has a fatal\nsignal.  If the woken waiter is killed before it runs, nobody wakes the\nnext one:\n\n  Task A                     Task B                 Task C\n  epoll_wait(ep, -1)         epoll_wait(ep, -1)\n                                                    write(efd)\n                                                      /* wakes A only */\n                                                    kill(A, SIGKILL)\n  ep_send_events()\n    return -EINTR\n      /* skips ep_done_scan() */\n                             /* still asleep */\n\nB then sleeps until another file on the instance becomes ready, if ever.\nThis can hit eg a pre-fork server whose worker gets OOM killed.  Commit\n7fab29e35630 (\"fs/epoll: restore waking from ep_done_scan()\") fixed the\nsame kind of hang when the wakeup in ep_done_scan() was removed.\n\nKeep the early return so that a dying task still doesn't take events\nnobody will see, but wake the next waiter there if events are ready, as\nep_done_scan() would have.  With the fix, B gets the event.\n\nThis bug was identified and confirmed with the help of a deterministic\nhypervisor currently under development.  The C reproducer below however\nhits it within about 2s."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c257a340ede0104e902807f0f001799850343ae9","status":"affected","lessThan":"9e8c5e1620a93a5eadc6670b5d3a68bb6c935ce2","versionType":"git"},{"version":"c257a340ede0104e902807f0f001799850343ae9","status":"affected","lessThan":"ca1471c8b310bfa069ce6235a74d554bbc5c7829","versionType":"git"},{"version":"c257a340ede0104e902807f0f001799850343ae9","status":"affected","lessThan":"2f7d8187f8f08c37a18397275b32422faa5ded82","versionType":"git"},{"version":"c257a340ede0104e902807f0f001799850343ae9","status":"affected","lessThan":"9f4413e522faed76f4cf610098b2369eb3ba1f1c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/eventpoll.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.13","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/eventpoll.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9e8c5e1620a93a5eadc6670b5d3a68bb6c935ce2"},{"url":"https://git.kernel.org/stable/c/ca1471c8b310bfa069ce6235a74d554bbc5c7829"},{"url":"https://git.kernel.org/stable/c/2f7d8187f8f08c37a18397275b32422faa5ded82"},{"url":"https://git.kernel.org/stable/c/9f4413e522faed76f4cf610098b2369eb3ba1f1c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:08.893Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}