CVE-2026-143174

Source
https://cve.org/CVERecord?id=CVE-2026-143174
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143174.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143174
Downstream
Published
2026-12-03T09:20:08Z
Modified
2026-12-03T11:01:30Z
Summary
eventpoll: wake the next waiter when a woken waiter is killed
Details

In the Linux kernel, the following vulnerability has been resolved:

eventpoll: wake the next waiter when a woken waiter is killed

Processes sharing an epoll instance can sleep forever while an event is ready. An event wakes only one waiter, which then wakes the next one in ep_done_scan() if events are still ready. Since commit c257a340ede0 ("fs, epoll: short circuit fetching events if thread has been killed"), ep_send_events() returns before the scan when the waiter has a fatal signal. If the woken waiter is killed before it runs, nobody wakes the next one:

Task A Task B Task C epoll_wait(ep, -1) epoll_wait(ep, -1) write(efd) /* wakes A only / kill(A, SIGKILL) ep_send_events() return -EINTR / skips ep_done_scan() / / still asleep */

B then sleeps until another file on the instance becomes ready, if ever. This can hit eg a pre-fork server whose worker gets OOM killed. Commit 7fab29e35630 ("fs/epoll: restore waking from ep_done_scan()") fixed the same kind of hang when the wakeup in ep_done_scan() was removed.

Keep the early return so that a dying task still doesn't take events nobody will see, but wake the next waiter there if events are ready, as ep_done_scan() would have. With the fix, B gets the event.

This bug was identified and confirmed with the help of a deterministic hypervisor currently under development. The C reproducer below however hits it within about 2s.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143174.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"