{"id":"CVE-2026-143174","summary":"eventpoll: wake the next waiter when a woken waiter is killed","details":"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.","modified":"2026-12-03T11:01:30.102021012Z","published":"2026-12-03T09:20:08.893Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143174.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f7d8187f8f08c37a18397275b32422faa5ded82"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9e8c5e1620a93a5eadc6670b5d3a68bb6c935ce2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f4413e522faed76f4cf610098b2369eb3ba1f1c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ca1471c8b310bfa069ce6235a74d554bbc5c7829"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143174.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143174"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c257a340ede0104e902807f0f001799850343ae9"},{"fixed":"9e8c5e1620a93a5eadc6670b5d3a68bb6c935ce2"},{"fixed":"ca1471c8b310bfa069ce6235a74d554bbc5c7829"},{"fixed":"2f7d8187f8f08c37a18397275b32422faa5ded82"},{"fixed":"9f4413e522faed76f4cf610098b2369eb3ba1f1c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143174.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.13.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143174.json"}}],"schema_version":"1.9.2"}