CVE-2026-43074: eventpoll: defer struct eventpoll free to RCU grace period
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
eventpoll: defer struct eventpoll free to RCU grace period
In certain situations, ep_free() in eventpoll.c will kfree the epi->ep eventpoll struct while it still being used by another concurrent thread. Defer the kfree() to an RCU callback to prevent UAF.
The Linux kernel CVE team has assigned CVE-2026-43074 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.4 with commit 58c9b016e12855286370dfb704c08498edbc857a and fixed in 6.6.136 with commit a6566cd33f6f967a7651ebf2ce0dd31572e319cf Issue introduced in 6.4 with commit 58c9b016e12855286370dfb704c08498edbc857a and fixed in 6.12.83 with commit 5b1173b165421561db29f30afc7e97d940a398a9 Issue introduced in 6.4 with commit 58c9b016e12855286370dfb704c08498edbc857a and fixed in 6.18.24 with commit 7e8083f5eeedab0f460063b9c2c14c9a4e71a427 Issue introduced in 6.4 with commit 58c9b016e12855286370dfb704c08498edbc857a and fixed in 6.19.14 with commit ae0bb9c1fb7c2594519aeeb096cf2c3b7837b322 Issue introduced in 6.4 with commit 58c9b016e12855286370dfb704c08498edbc857a and fixed in 7.0 with commit 07712db80857d5d09ae08f3df85a708ecfc3b61f
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-43074
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/eventpoll.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/a6566cd33f6f967a7651ebf2ce0dd31572e319cf https://git.kernel.org/stable/c/5b1173b165421561db29f30afc7e97d940a398a9 https://git.kernel.org/stable/c/7e8083f5eeedab0f460063b9c2c14c9a4e71a427 https://git.kernel.org/stable/c/ae0bb9c1fb7c2594519aeeb096cf2c3b7837b322 https://git.kernel.org/stable/c/07712db80857d5d09ae08f3df85a708ecfc3b61f