Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-46242

published high CVSS 3.1 · 7.8

eventpoll: fix ep_remove struct eventpoll / struct file UAF

Published
30 May 2026, 12:13:45 UTC
Updated
19 Oct 2026, 19:36:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf2451def095c1743adcfcb0cb5dadc86034e162a to < a10fbbe74e1c743beb1bb312109366667461df8a · a1f93804449d13f97dabd4b996817de4bf1ed67a to < 3e1144d2515d28e4312e663ea05eac203101491d · 58c9b016e12855286370dfb704c08498edbc857a to < 2de4db145b2992da496fea6c51f9839be678ae24 · 58c9b016e12855286370dfb704c08498edbc857a to < 9324de74a3a59b9fde9b62ee45ebaa71458ba2e5 · 58c9b016e12855286370dfb704c08498edbc857a to < ef4ca02e95363e78977ca04340d44fe3b4b2b81f · 58c9b016e12855286370dfb704c08498edbc857a to < ced39b6a8062bac5c18a1c3df85634107eb8664a · 58c9b016e12855286370dfb704c08498edbc857a to < a6dc643c69311677c574a0f17a3f4d66a5f3744b · 5.15.209 to < 5.15.222 · 6.1.175 to < 6.1.178 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 5.15.222 through 5.15.* (unaffected · semver) · 6.1.178 through 6.1.* (unaffected · semver) · 6.6.144 through 6.6.* (unaffected · semver) · 6.12.95 through 6.12.* (unaffected · semver) · 6.18.33 through 6.18.* (unaffected · semver) · 7.0.10 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1866 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1882 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1968 Fixed Not stated Amazon Linux assessment
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-tools-libsx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-tools-libs-develaarch64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-tools-libs-develx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uki-virtx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 kernel-uki-virt-addonsx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 libperfaarch64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 libperfx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 perfaarch64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 perfx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 python3-perfaarch64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 python3-perfx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 rtlaaarch64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 rtlax86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 rvaarch64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 10 rvx86_64 Advisory build 0:6.12.0-211.34.1.el10_2 ELSA-2026-36541
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-325.221.6.2.el8uek ELSA-2026-500385

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: eventpoll: fix ep_remove struct eventpoll / struct file UAF ep_remove() (via ep_remove_file()) cleared file->f_ep under file->f_lock but then kept using @file inside the critical section (is_file_epoll(), hlist_del_rcu() through the head, spin_unlock). A concurrent __fput() taking the eventpoll_release() fastpath in that window observed the transient NULL, skipped eventpoll_release_file() and ran to f_op->release / file_free(). For the epoll-watches-epoll case, f_op->release is ep_eventpoll_release() -> ep_clear_and_put() -> ep_free(), which kfree()s the watched struct eventpoll. Its embedded ->refs hlist_head is exactly where epi->fllink.pprev points, so the subsequent hlist_del_rcu()'s "*pprev = next" scribbles into freed kmalloc-192 memory. In addition, struct file is SLAB_TYPESAFE_BY_RCU, so the slot backing @file could be recycled by alloc_empty_file() -- reinitializing f_lock and f_ep -- while ep_remove() is still nominally inside that lock. The upshot is an attacker-controllable kmem_cache_free() against the wrong slab cache. Pin @file via epi_fget() at the top of ep_remove() and gate the critical section on the pin succeeding. With the pin held @file cannot reach refcount zero, which holds __fput() off and transitively keeps the watched struct eventpoll alive across the hlist_del_rcu() and the f_lock use, closing both UAFs. If the pin fails @file has already reached refcount zero and its __fput() is in flight. Because we bailed before clearing f_ep, that path takes the eventpoll_release() slow path into eventpoll_release_file() and blocks on ep->mtx until the waiter side's ep_clear_and_put() drops it. The bailed epi's share of ep->refcount stays intact, so the trailing ep_refcount_dec_and_test() in ep_clear_and_put() cannot free the eventpoll out from under eventpoll_release_file(); the orphaned epi is then cleaned up there. A successful pin also proves we are not racing eventpoll_release_file() on this epi, so drop the now-redundant re-check of epi->dying under f_lock. The cheap lockless READ_ONCE(epi->dying) fast-path bailout stays.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

108

Showing the first 100 linked advisory records.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Exploitation requires local syscalls (`epoll_create1`, `epoll_ctl`, `close`) on nested epoll fds; there is no network, adjacent-radio, or physical-device path to the buggy `ep_remove`/`eventpoll_release` race. AC:L - An unprivileged attacker can drive both sides of the race (e.g., one thread `EPOLL_CTL_DEL` or closing the outer epoll while another closes the inner epoll fd) and retry until the transient `f_ep == NULL` window is hit, consistent with multi-threaded epoll workloads. PR:L - No capabilities or root are required; any local UID that may create epoll fds (including inside user namespaces/containers) can register nested epoll and trigger the concurrent remove/close paths. UI:N - No victim action is required beyond the attacker running their own concurrent epoll setup and close/DEL operations on the same host. S:U - Impact is kernel heap corruption and potential privilege escalation within the same kernel security domain, not a documented cross-boundary escape (e.g., guest-to-host or sandbox breakout). C:H - The bug is a use-after-free on `struct eventpoll` and potentially recycled `struct file` objects, which can be turned into arbitrary kernel memory disclosure via heap grooming and UAF reads. I:H - Concurrent teardown allows `hlist_del_rcu()` to write `*pprev` into freed kmalloc-192 memory and enables attacker-controllable `kmem_cache_free()` on the wrong cache, supporting arbitrary write/control-flow hijack primitives. A:H - The race causes invalid writes to freed memory and slab corruption, which routinely provokes kernel oops/panic or severe instability even when full exploitation is not attempted.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f2451def095c1743adcfcb0cb5dadc86034e162a to < a10fbbe74e1c743beb1bb312109366667461df8a (affected · git)a1f93804449d13f97dabd4b996817de4bf1ed67a to < 3e1144d2515d28e4312e663ea05eac203101491d (affected · git)58c9b016e12855286370dfb704c08498edbc857a to < 2de4db145b2992da496fea6c51f9839be678ae24 (affected · git)58c9b016e12855286370dfb704c08498edbc857a to < 9324de74a3a59b9fde9b62ee45ebaa71458ba2e5 (affected · git)58c9b016e12855286370dfb704c08498edbc857a to < ef4ca02e95363e78977ca04340d44fe3b4b2b81f (affected · git)58c9b016e12855286370dfb704c08498edbc857a to < ced39b6a8062bac5c18a1c3df85634107eb8664a (affected · git)58c9b016e12855286370dfb704c08498edbc857a to < a6dc643c69311677c574a0f17a3f4d66a5f3744b (affected · git)5.15.209 to < 5.15.222 (affected · semver)6.1.175 to < 6.1.178 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.4 (affected)0 to < 6.4 (unaffected · semver)5.15.222 through 5.15.* (unaffected · semver)6.1.178 through 6.1.* (unaffected · semver)6.6.144 through 6.6.* (unaffected · semver)6.12.95 through 6.12.* (unaffected · semver)6.18.33 through 6.18.* (unaffected · semver)7.0.10 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

8

Provider assertions

3

Linux · cna

eventpoll: fix ep_remove struct eventpoll / struct file UAF

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
159d8042e23f2f0fdd997931b8f6fd123c637f67ebcad3df2f5703ee79002dbb
Ingested
19 Oct 2026, 19:50:32 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected