VDB

CVE-2026-72071

CVE-2026-72071 PUBLISHED CVSS 7.8 HIGH

tracing/user_events: Fix use-after-free in user_event_mm_dup()

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: tracing/user_events: Fix use-after-free in user_event_mm_dup() user_event_mm_dup() walks the parent mm's enabler list locklessly under rcu_read_lock() during fork() (from copy_process()); it does not take event_mutex: rcu_read_lock(); list_for_each_entry_rcu(enabler, &old_mm->enablers, mm_enablers_link) enabler->event = user_event_get(orig->event); user_event_enabler_destroy() removes an enabler from that list with list_del_rcu() and then, without waiting for a grace period, drops the enabler's user_event reference with user_event_put() and frees the enabler with kfree(). A reader that loaded the enabler before the list_del_rcu() can still be walking it, which leads to two use-after-frees: - kfree(enabler) frees the enabler while that reader dereferences enabler->event. - user_event_put() may drop the last reference to the user_event, which is then freed (via delayed_destroy_user_event() on a work queue), while the same reader does user_event_get(orig->event) on it. Both are reachable by an unprivileged task that can open user_events_data: one multithreaded process that registers an enabler and then concurrently unregisters it and calls fork() triggers the race. KASAN reports a slab-use-after-free in user_event_mm_dup() during clone(), with a "refcount_t: addition on 0" warning when the user_event is freed. The enabler use-after-free was found first; the user_event one was reported by XIAO WU, and the earlier enabler-only fix did not address it. Defer both the user_event_put() and the kfree(enabler) to a work item queued with queue_rcu_work(), so they run only after an RCU grace period, once all readers walking the enabler list have finished. The put must run in process context because user_event_put() takes event_mutex on the last reference, so a work queue is used rather than call_rcu(). The now-unlocked put lets the locked argument of user_event_enabler_destroy() be removed; all callers are updated.

EPSS 0.17% · 6.5th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-headersAmazon Linux1:6.18.41-94.142.amzn2023
perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.100-125.179.amzn2023
python3-perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
bpftool6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.41-94.142.amzn2023
kernel-livepatch-6.12.100-125.179Amazon Linux1:1.0-0.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.41-94.142.amzn2023
kernel6.12-develAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-develAmazon Linux1:6.18.41-94.142.amzn2023

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.17%
6.5th percentile

Affected products

VendorProductVersions
LinuxLinux7235759084a4f8524a46bd2638885ff3b34ce279, 7235759084a4f8524a46bd2638885ff3b34ce279, 7235759084a4f8524a46bd2638885ff3b34ce279
LinuxLinux6.4, 0, 6.6.148
amazon:2023kernel6.18-headers0
amazon:2023perf6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.180
amazon:2023bpftool6.120
amazon:2023kernel6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel-livepatch-6.12.100-125.1790
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-devel0
amazon:2023perf6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023bpftool6.180
LinuxLinux7.2, 7235759084a4f8524a46bd2638885ff3b34ce279, 7235759084a4f8524a46bd2638885ff3b34ce279
amazon:2023kernel6.120
linuxlinux_kernel6.4, 6.4, 6.4

…and 7 more

Timeline

  • Aug 15, 2026 Coalition ESS Score
  • Aug 15, 2026 CVE Published
  • Aug 17, 2026 CVE Updated
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (13 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72071
vulnetix vdb fixes CVE-2026-72071

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72071/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›