data built 2026-10-19T13:16:53Z

Look up another CVE · open CVE-2026-72071 in the interactive tracker

CVE-2026-72071

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

7.8 EPSS 0.2% AV:L

Published 2026-08-15 (2 months ago) by the Linux kernel CNA. Subsystem kernel/trace. Debian urgency: unimportant.

Debian does not build this code. The per-release build detail is under "Where it lives" below.

What to do, per Debian release

Debian's own status for CVE-2026-72071 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source

ReleaseStatus VersionWhat this means
Debian 12bookwormnot affected6.1.190-1Nothing to do. bookworm never shipped the vulnerable code.
Debian 13trixiefixed6.12.100-1Update the kernel and reboot. Fixed in 6.12.100-1. A running kernel keeps the old code until the machine restarts.
Debian 14forkyfixed7.1.5-1Update the kernel and reboot. Fixed in 7.1.5-1. A running kernel keeps the old code until the machine restarts.
Debian unstablesidfixed7.1.5-1Update the kernel and reboot. Fixed in 7.1.5-1. A running kernel keeps the old code until the machine restarts.

The vulnerability

What the bug is

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.

Where it lives

The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.

kernel/trace/trace_events_user.c

What this is
TRACINGMAINTAINERS section matched on kernel/trace/ · linux-kernel@vger.kernel.org · Maintained
Kernel module
none to look for. The file would have gone into trace_events_user, and Debian does not compile it into that module, so finding trace_events_user in lsmod would say nothing about this CVE.

Check it on the machine

grep -wE 'CONFIG_FUNCTION_TRACER|CONFIG_RETHOOK|CONFIG_RING_BUFFER|CONFIG_TRACEPOINTS|CONFIG_TRACE_CLOCK|CONFIG_TRACING|CONFIG_USER_EVENTS' /boot/config-$(uname -r)

Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.

Show whether Debian builds this, per release

Debian does not build this code. In 4 releases below, every kernel flavour Debian publishes has the switch off, so the vulnerable file is compiled into no kernel binary Debian ships.

  • bookworm, trixie, forky, sidn
n
not enabled on any flavour - this release does not build the code
Build switches
CONFIG_FUNCTION_TRACER, CONFIG_RETHOOK, CONFIG_RING_BUFFER, CONFIG_TRACEPOINTS, CONFIG_TRACE_CLOCK, CONFIG_TRACING, CONFIG_USER_EVENTS
Reads as
all on means the file is compiled; any one off means it is not.

From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages

Signals

Published
2026-08-15 (2 months ago)source
CVSS
7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hsource recompute it
Attack vector
local (AV:L)source
EPSS
0.17%, higher than 6.0% of all CVEssource
CISA KEV
not listedthe KEV catalogue
Debian urgency
unimportantsource
Subsystem
kernel/trace

Upstream fixes

The versions the CNA records as introducing and fixing this, and the commit for each. source

IntroducedFixed inCommit
6.46.6.14825acb6711da6
6.46.12.9795400e7039cd
6.46.18.40b33ac2d39953
6.47.1.505b24f68f78f
6.47.250fd6dd755c6

Why the CNA scored it this way

Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source

AV:LAttack vector, local
The bug is reached only through local syscalls (clone/fork via copy_process and ioctl on tracefs user_events_data); there is no network, adjacent-wireless, or physical-device path into user_event_mm_dup or user_event_enabler_destroy.
AC:LAttack complexity, low
A single multithreaded attacker process can register an enabler, then concurrently issue DIAG_IOCSUNREG and fork/clone; the attacker controls both sides of the RCU race, and the fix commit reports reliable KASAN slab-use-after-free reproduction.
PR:LPrivileges required, low
Non-persist DIAG_IOCSREG and DIAG_IOCSUNREG enforce no CAP_SYS_ADMIN or perfmon check; only write access to tracefs user_events_data is required, and tracing deployments (Android/Perfetto, ChromeOS, developer tracefs gid mounts) intentionally grant that to unprivileged local users.
UI:NUser interaction, none
The attacker performs registration, concurrent unregistration, and fork entirely within their own process; no victim action, mount, or cooperating user is required beyond running the exploit code.
S:UScope, unchanged
The coupled slab use-after-frees occur in kernel heap during local fork handling and do not cross a VM, IOMMU, or sandbox boundary; impact is standard in-kernel memory corruption on the same host.
C:HConfidentiality impact, high
Fork-time RCU traversal dereferences freed enabler and user_event objects and calls user_event_get on a freed user_event (refcount addition on zero per KASAN), enabling attacker-influenced kernel memory reads via slab grooming.
I:HIntegrity impact, high
Premature kfree of enabler and user_event while fork duplicates enablement lets an attacker reclaim kmalloc slabs holding tracepoint and trace_event_call state, supporting heap spray and arbitrary kernel write or control-flow hijack primitives.
A:HAvailability impact, high
KASAN reports slab-use-after-free in user_event_mm_dup during clone, and repeated concurrent unreg/fork reliably oopses or panics the kernel even before full exploitation, constituting dependable local denial of service.