cve.bz

CVE-2026-46242 linux linux kernel: Use After Free

7.8 highEPSS 4.6%Fix available

High (7.8) in linux linux kernel. EPSS 4.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
4.6% (unchanged from 4.6% a week ago; 4.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-46242 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-46242?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-46242?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-46242 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 5.15.209 before 5.15.222
Linuxfrom 6.1.175 before 6.1.178
Linux6.4 and later

Fixed in

ProductRelease lineFixed in
Linux5.155.15.222
Linux6.16.1.178
Linux6.66.6.144
Linux6.126.12.95
Linux6.186.18.33
Linux7.07.0.10
Linuxlater releases7.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13linux6.12.95-1DEBIAN-CVE-2026-46242
Debian14linux7.0.10-1DEBIAN-CVE-2026-46242
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2026-46242
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2026-46242
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2026-46242
Ubuntu22.04:LTSlinux5.15.0-202.212UBUNTU-CVE-2026-46242 USN-8961-1
Ubuntu22.04:LTSlinux-aws5.15.0-1119.126UBUNTU-CVE-2026-46242 USN-8961-1
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1062.65~22.04.2UBUNTU-CVE-2026-46242 USN-8630-4
Ubuntu22.04:LTSlinux-azure5.15.0-1125.134UBUNTU-CVE-2026-46242 USN-8961-1
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1064.72~22.04.1UBUNTU-CVE-2026-46242 USN-8630-1
Ubuntu22.04:LTSlinux-azure-fde5.15.0-1124.133UBUNTU-CVE-2026-46242 USN-8962-1
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1063.70~22.04.1UBUNTU-CVE-2026-46242 USN-8630-1
Ubuntu22.04:LTSlinux-gcp5.15.0-1120.130UBUNTU-CVE-2026-46242 USN-8961-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1065.73~22.04.1UBUNTU-CVE-2026-46242 USN-8630-1
85 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-687.23.1.el9_8RHSA-2026:36645
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-687.23.1.el9_8RHSA-2026:36645
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-687_10_1, kpatch-patch-5_14_0-687_10_1-debuginfo, kpatch-patch-5_14_0-687_10_1-debugsource0:1-4.el9_8RHSA-2026:43825
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-687.23.1.el9_8RHSA-2026:36645
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-687.23.1.el9_8RHSA-2026:36645
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-687.23.1.el9_8RHSA-2026:36645
Red Hatenterprise_linux:10.2kpatch-patch-6_12_0-211_16_1, kpatch-patch-6_12_0-211_16_1-debuginfo, kpatch-patch-6_12_0-211_16_1-debugsource0:1-4.el10_2RHSA-2026:43826
Red Hatenterprise_linux:10.2rv, perf, rtla and 87 more0:6.12.0-211.31.1.el10_2RHSA-2026:36541
Red Hatenterprise_linux_eus:10.0rv, perf, rtla and 88 more0:6.12.0-55.88.1.el10_0RHSA-2026:39371
Red Hatenterprise_linux_nvidia:10::el10rv, perf, rtla and 43 more0:6.12.0-231.15.el10nvRHSA-2026:36186
Red Hatenterprise_linux_nvidia:10::el10rv, perf, rtla and 49 more0:6.12.0-259.26.el10nvRHSA-2026:73187
Red Hatrhel_e4s:9.4::appstreamrv, perf, rtla and 26 more0:5.14.0-427.137.1.el9_4RHSA-2026:37729
20 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6kernel-default6.4.0-150600.23.125.1SUSE-SU-2026:3156-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.73.2SUSE-SU-2026:3166-1
SUSELinux Enterprise High Availability Extension 16.0kernel-default6.12.0-160000.36.1SUSE-SU-2026:22812-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_1416-150600.2.1SUSE-SU-2026:3726-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_1516-150600.2.1SUSE-SU-2026:3754-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_1613-150600.2.1SUSE-SU-2026:3704-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_1811-150600.2.1SUSE-SU-2026:3748-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_2010-150600.2.1SUSE-SU-2026:3719-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_246-150600.2.1SUSE-SU-2026:3761-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_255-150600.2.1SUSE-SU-2026:3760-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_265-150600.2.1SUSE-SU-2026:3775-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_274-150600.2.1SUSE-SU-2026:3776-1
156 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0kernel-default-base6.12.0-160000.36.1.160000.2.17openSUSE-SU-2026:21388-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A race in eventpoll ep_remove() can let a concurrent file release observe a transient cleared file f_ep state and skip the normal eventpoll_release_file cleanup path. In the epoll watches epoll case this can free the watched struct eventpoll while ep_remove() still uses list pointers that refer into that freed object, so hlist_del_rcu() can write into freed kmalloc memory. This is a use-after-free memory corruption issue rather than a pure crash or resource leak. For the CVSS the AC:H is selected because reliable triggering depends on a race window between ep_remove() and __fput(). The issue is not network reachable. Impact is at least a local denial of service via kernel crash and in worst case may allow confidentiality, integrity, and availability compromise due to kernel heap memory corruption.

RHEL 9.0 and 9.2 are not affected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
NVIDIA for RHEL 10kernel-0:6.12.0-231.15.el10nvFixed 2026-07-07RHSA-2026:36186
NVIDIA for RHEL 10kernel-0:6.12.0-259.26.el10nvFixed 2026-09-29RHSA-2026:73187
Red Hat Enterprise Linux 10kernel-0:6.12.0-211.31.1.el10_2Fixed 2026-07-08RHSA-2026:36541
Red Hat Enterprise Linux 10kpatch-patchFixed 2026-07-22RHSA-2026:43826
Red Hat Enterprise Linux 10.0 Extended Update Supportkernel-0:6.12.0-55.88.1.el10_0Fixed 2026-07-14RHSA-2026:39371
Red Hat Enterprise Linux 9kernel-0:5.14.0-687.23.1.el9_8Fixed 2026-07-08RHSA-2026:36645
Red Hat Enterprise Linux 9kpatch-patchFixed 2026-07-22RHSA-2026:43825
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionskernel-0:5.14.0-427.137.1.el9_4Fixed 2026-07-10RHSA-2026:37729
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionskpatch-patchFixed 2026-07-23RHSA-2026:44006
Red Hat Enterprise Linux 9.6 Extended Update Supportkernel-0:5.14.0-570.127.1.el9_6Fixed 2026-07-13RHSA-2026:38902
Red Hat Enterprise Linux 9.6 Extended Update Supportkpatch-patchFixed 2026-07-23RHSA-2026:44007
Red Hat OpenShift Container Platform 4.19openshift/ose-rhel-coreos-9:4.19.9.6.202607220857-0Fixed 2026-07-29RHSA-2026:44231
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected
3 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-46242.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

References

Check your stackJSON