# CVE-2026-72404: tipc: fix UAF in cleanup\_bearer() due to premature dst\_cache\_destroy()

> 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-28)
- **Published:** 2026-08-15T05:56:28.124Z
- **Modified:** 2026-10-30T13:19:51.223Z

## Who should check

- Anyone running Linux \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 5a66ca574eee958123ee9d2822683964d42d656a; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 6aeb4ba4fb098199e13723cfd04d9a749741f731; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 6b0e29f7662c237e717f35dad746efe94715d0da; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 3827ff67f9fbecd1086e33d23693ef6a1a9c6c38; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 1c8393eefa3cadf4ca0b61119ad1321aa32d3c8c; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 7116764ca53ff529335d7ab7c364a69f094b23a5
- Anyone running Linux 5.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

tipc: fix UAF in cleanup\_bearer() due to premature dst\_cache\_destroy()

TIPC UDP media bearer teardown calls dst\_cache\_destroy() on its
replicast caches before calling synchronize\_net() to wait for
concurrent RCU readers (transmitters) to finish:

static void cleanup\_bearer(struct work\_struct \*work)
{
...
	list\_for\_each\_entry\_safe(rcast, tmp, &ub-\>rcast.list, list) {
		dst\_cache\_destroy(&rcast-\>dst\_cache);
		list\_del\_rcu(&rcast-\>list);
		kfree\_rcu(rcast, rcu);
	}
...
	dst\_cache\_destroy(&ub-\>rcast.dst\_cache);
	udp\_tunnel\_sock\_release(ub-\>sk);
	synchronize\_net();
...
}

This is highly buggy because dst\_cache\_destroy() immediately frees the
per-CPU cache memory (free\_percpu()) and releases the cached dst
entries without any synchronization.

If a concurrent transmitter (e.g., tipc\_udp\_xmit()) is running on another
CPU under RCU protection, it can call dst\_cache\_get() concurrently,
leading to:
1. Use-After-Free on the per-CPU cache pointer itself (crash).
2. "rcuref - imbalanced put()" warning if it attempts to release a
   dst that was concurrently released by dst\_cache\_destroy().

Furthermore, calling kfree(ub) immediately after synchronize\_net() without
closing the socket first (or waiting after closing it) leaves a window
where a concurrent receiver (tipc\_udp\_recv()) could start after
synchronize\_net(), access ub, and suffer a UAF when kfree(ub) runs.

To fix this, we must defer dst\_cache\_destroy() and kfree(ub) until after
we have ensured that no more readers can see the bearer/socket and all
existing readers have finished:

1. Defer rcast entry destruction (both dst\_cache\_destroy() and kfree())
   to an RCU callback using call\_rcu\_hurry().
   Using call\_rcu\_hurry() ensures the dst entries are released quickly.

2. Release the bearer socket using udp\_tunnel\_sock\_release() (stops
   new receive readers).

3. Call synchronize\_net() to wait for all outstanding RCU readers
   (both transmit and receive) to finish.

4. Now that it is safe, call dst\_cache\_destroy() on the main bearer
   cache, and free ub.

Note: 3) and 4) can be changed later in net-next to also use
call\_rcu\_hurry() and get rid of the synchronize\_net() latency.

## Affected and fixed versions

- Linux: \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 5a66ca574eee958123ee9d2822683964d42d656a; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 6aeb4ba4fb098199e13723cfd04d9a749741f731; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 6b0e29f7662c237e717f35dad746efe94715d0da; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 3827ff67f9fbecd1086e33d23693ef6a1a9c6c38; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 1c8393eefa3cadf4ca0b61119ad1321aa32d3c8c; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 7116764ca53ff529335d7ab7c364a69f094b23a5 (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

- Upgrade Linux to 7116764ca53ff529335d7ab7c364a69f094b23a5 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-72404. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72404.md
Affected: Linux >= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, < 5a66ca574eee958123ee9d2822683964d42d656a; >= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, < 6aeb4ba4fb098199e13723cfd04d9a749741f731; >= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, < 6b0e29f7662c237e717f35dad746efe94715d0da; >= e9c1a793210f29f32ee4cf0…
Fixed in: Linux 5a66ca574eee958123ee9d2822683964d42d656a, Linux 6aeb4ba4fb098199e13723cfd04d9a749741f731, Linux 6b0e29f7662c237e717f35dad746efe94715d0da, Linux 3827ff67f9fbecd1086e33d23693ef6a1a9c6c38, Linux 1c8393eefa3cadf4ca0b61119ad1321aa32d3c8c, Linux 7116764ca53ff529335d7ab7c364a69f094b23a5

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-72404 being exploited?

There is no confirmed exploitation: CVE-2026-72404 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-28).

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

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

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

Linux \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 5a66ca574eee958123ee9d2822683964d42d656a; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 6aeb4ba4fb098199e13723cfd04d9a749741f731; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 6b0e29f7662c237e717f35dad746efe94715d0da; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 3827ff67f9fbecd1086e33d23693ef6a1a9c6c38; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 1c8393eefa3cadf4ca0b61119ad1321aa32d3c8c; \>= e9c1a793210f29f32ee4cf048e04d7d9bb3221cc, \< 7116764ca53ff529335d7ab7c364a69f094b23a5; Linux 5.3.

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

Yes. Fixed in Linux 5a66ca574eee958123ee9d2822683964d42d656a, Linux 6aeb4ba4fb098199e13723cfd04d9a749741f731, Linux 6b0e29f7662c237e717f35dad746efe94715d0da, Linux 3827ff67f9fbecd1086e33d23693ef6a1a9c6c38, Linux 1c8393eefa3cadf4ca0b61119ad1321aa32d3c8c, Linux 7116764ca53ff529335d7ab7c364a69f094b23a5. Upgrade Linux to 7116764ca53ff529335d7ab7c364a69f094b23a5 or later.

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

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/5a66ca574eee958123ee9d2822683964d42d656a>
- other: <https://git.kernel.org/stable/c/6aeb4ba4fb098199e13723cfd04d9a749741f731>
- other: <https://git.kernel.org/stable/c/6b0e29f7662c237e717f35dad746efe94715d0da>
- other: <https://git.kernel.org/stable/c/3827ff67f9fbecd1086e33d23693ef6a1a9c6c38>
- other: <https://git.kernel.org/stable/c/1c8393eefa3cadf4ca0b61119ad1321aa32d3c8c>
- other: <https://git.kernel.org/stable/c/7116764ca53ff529335d7ab7c364a69f094b23a5>

## 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-72404>

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