# CVE-2026-72071: tracing/user\_events: Fix use-after-free in user\_event\_mm\_dup()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-08-15T05:52:23.215Z
- **Modified:** 2026-08-17T06:18:05.650Z

## Who should check

- Anyone running Linux \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< 25acb6711da6fa0382744fa92bd6d42a22c1ae68; \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< 95400e7039cdfeb0b53652d521d766f1698cae95; \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< b33ac2d39953efb12f598c0dae242c5f644ea669; \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< 05b24f68f78ff3a1ef7f015f7327b35886b741f6; \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< 50fd6dd755c6e48a38af2fa4621167eea56829c2
- Anyone running Linux 6.4

## Description

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.

## Affected and fixed versions

- Linux: \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< 25acb6711da6fa0382744fa92bd6d42a22c1ae68; \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< 95400e7039cdfeb0b53652d521d766f1698cae95; \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< b33ac2d39953efb12f598c0dae242c5f644ea669; \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< 05b24f68f78ff3a1ef7f015f7327b35886b741f6; \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< 50fd6dd755c6e48a38af2fa4621167eea56829c2 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 50fd6dd755c6e48a38af2fa4621167eea56829c2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72071. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72071.md
Affected: Linux >= 7235759084a4f8524a46bd2638885ff3b34ce279, < 25acb6711da6fa0382744fa92bd6d42a22c1ae68; >= 7235759084a4f8524a46bd2638885ff3b34ce279, < 95400e7039cdfeb0b53652d521d766f1698cae95; >= 7235759084a4f8524a46bd2638885ff3b34ce279, < b33ac2d39953efb12f598c0dae242c5f644ea669; >= 7235759084a4f8524a46bd2…
Fixed in: Linux 25acb6711da6fa0382744fa92bd6d42a22c1ae68, Linux 95400e7039cdfeb0b53652d521d766f1698cae95, Linux 05b24f68f78ff3a1ef7f015f7327b35886b741f6, Linux 50fd6dd755c6e48a38af2fa4621167eea56829c2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72071 being exploited?

There is no confirmed exploitation: CVE-2026-72071 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-72071?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-72071?

Linux \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< 25acb6711da6fa0382744fa92bd6d42a22c1ae68; \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< 95400e7039cdfeb0b53652d521d766f1698cae95; \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< b33ac2d39953efb12f598c0dae242c5f644ea669; \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< 05b24f68f78ff3a1ef7f015f7327b35886b741f6; \>= 7235759084a4f8524a46bd2638885ff3b34ce279, \< 50fd6dd755c6e48a38af2fa4621167eea56829c2; Linux 6.4.

### Is there a fix for CVE-2026-72071?

Yes. Fixed in Linux 25acb6711da6fa0382744fa92bd6d42a22c1ae68, Linux 95400e7039cdfeb0b53652d521d766f1698cae95, Linux 05b24f68f78ff3a1ef7f015f7327b35886b741f6, Linux 50fd6dd755c6e48a38af2fa4621167eea56829c2. Upgrade Linux to 50fd6dd755c6e48a38af2fa4621167eea56829c2 or later.

### How do I check if I'm affected by CVE-2026-72071?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/25acb6711da6fa0382744fa92bd6d42a22c1ae68>
- other: <https://git.kernel.org/stable/c/95400e7039cdfeb0b53652d521d766f1698cae95>
- other: <https://git.kernel.org/stable/c/b33ac2d39953efb12f598c0dae242c5f644ea669>
- other: <https://git.kernel.org/stable/c/05b24f68f78ff3a1ef7f015f7327b35886b741f6>
- other: <https://git.kernel.org/stable/c/50fd6dd755c6e48a38af2fa4621167eea56829c2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72071>

HTML: <https://flawdb.com/CVE-2026-72071> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72071>
