CVE-2026-142868

Source
https://cve.org/CVERecord?id=CVE-2026-142868
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142868.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142868
Downstream
Published
2026-12-03T03:21:07Z
Modified
2026-12-03T05:00:59Z
Summary
aio: prevent eventfd/epoll recursion on poll
Details

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

aio: prevent eventfd/epoll recursion on poll

aio_poll_wake() can complete a keyed poll request inline while the provider waitqueue lock is held. If the polled file is an epoll instance and the AIO result eventfd is watched by that same instance, signaling the result can feed back into epoll and try to take the provider waitqueue lock again.

For example, a timerfd wake can follow this path:

timerfd -> ep_poll_callback -> aio_poll_wake -> aio_complete -> eventfd_signal -> ep_poll_callback -> ep_poll_safewake

The second ep_poll_safewake() recursively acquires ep->poll_wait.lock. eventfd_signal_allowed() does not prevent this because the wake chain did not begin in eventfd, so the task's eventfd recursion bit is still clear when aio_poll_wake() decides to complete inline.

An unprivileged process can construct this graph and make a CPU spin on the recursive lock. DEBUG_SPINLOCK reports "BUG: spinlock recursion", and lockdep reports the same epoll waitqueue lock as both held and requested.

Always defer eventfd-backed poll completions through the existing aio_poll_put_work() path. At this point the request has already been detached from the waitqueue and active request list, so the work item can publish the completion after the provider callback releases its lock. Poll completions without a result eventfd remain inline.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142868.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
e8693bcfa0b4a56268946f0756153d942cb66cf7
Fixed
7ed7db5b108d3e84755652c607c38329d30eb566
Fixed
397f351f79f90fffdb5843e1fb998d799a11cbd1
Fixed
3452c46499c4e60087f907c91637eb325d541753
Fixed
3ab92a6d711792c3c86b428dfb658151e0ff7c5c
Fixed
17dd102dcaab51ea9323ede174978ab6fe4a62eb
Show 3 more events Show fewer events
Fixed
96540793dd7e55b81e0724e9efa024bbd26dbfaa
Fixed
75484c58a1b75518f405e61cd20bf67afc245a7d
Fixed
398e3fa789aa5ffddc8689d8cbc7b31e1824130c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142868.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142868.json"