# CVE-2025-38273: net: tipc: fix refcount warning in tipc\_aead\_encrypt

> 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.30% (percentile 15, 2026-11-26)
- **Published:** 2025-07-10T07:41:54.415Z
- **Modified:** 2026-08-05T12:00:54.344Z

## Who should check

- Anyone running Linux \>= d42ed4de6aba232d946d20653a70f79158a6535b, \< 445d59025d76d0638b03110f8791d5b89ed5162d; \>= f5c2c4eaaa5a8e7e0685ec031d480e588e263e59, \< e0b11227c4e8eb4bdf1b86aa8f0f3abb24e0f029; \>= b8fcae6d2e93c54cacb8f579a77d827c1c643eb5, \< 307391e8fe70401a6d39ecc9978e13c2c0cdf81f; \>= b19fc1d0be3c3397e5968fe2627f22e7f84673b1, \< acab7ca5ff19889b80a8ee7dec220ee1a96dede9; \>= 689a205cd968a1572ab561b0c4c2d50a10e9d3b0, \< c762fc79d710d676b793f9d98b1414efe6eb51e6; \>= e279024617134c94fd3e37470156534d5f2b3472, \< 9ff60e0d9974dccf24e89bcd3ee7933e538d929f; \>= e279024617134c94fd3e37470156534d5f2b3472, \< f29ccaa07cf3d35990f4d25028cc55470d29372b; 4a0fddc2c0d5c28aec8c262ad4603be0bef1938c; \>= 5.10.238, \< 5.10.239; \>= 5.15.185, \< 5.15.186; …
- Anyone running Linux 6.15

## Description

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

net: tipc: fix refcount warning in tipc\_aead\_encrypt

syzbot reported a refcount warning \[1\] caused by calling get\_net() on
a network namespace that is being destroyed (refcount=0). This happens
when a TIPC discovery timer fires during network namespace cleanup.

The recently added get\_net() call in commit e279024617134 ("net/tipc:
fix slab-use-after-free Read in tipc\_aead\_encrypt\_done") attempts to
hold a reference to the network namespace. However, if the namespace
is already being destroyed, its refcount might be zero, leading to the
use-after-free warning.

Replace get\_net() with maybe\_get\_net(), which safely checks if the
refcount is non-zero before incrementing it. If the namespace is being
destroyed, return -ENODEV early, after releasing the bearer reference.

\[1\]: https://lore.kernel.org/all/68342b55.a70a0220.253bc2.0091.GAE@google.com/T/\#m12019cf9ae77e1954f666914640efa36d52704a2

## Affected and fixed versions

- Linux: \>= d42ed4de6aba232d946d20653a70f79158a6535b, \< 445d59025d76d0638b03110f8791d5b89ed5162d; \>= f5c2c4eaaa5a8e7e0685ec031d480e588e263e59, \< e0b11227c4e8eb4bdf1b86aa8f0f3abb24e0f029; \>= b8fcae6d2e93c54cacb8f579a77d827c1c643eb5, \< 307391e8fe70401a6d39ecc9978e13c2c0cdf81f; \>= b19fc1d0be3c3397e5968fe2627f22e7f84673b1, \< acab7ca5ff19889b80a8ee7dec220ee1a96dede9; \>= 689a205cd968a1572ab561b0c4c2d50a10e9d3b0, \< c762fc79d710d676b793f9d98b1414efe6eb51e6; \>= e279024617134c94fd3e37470156534d5f2b3472, \< 9ff60e0d9974dccf24e89bcd3ee7933e538d929f; \>= e279024617134c94fd3e37470156534d5f2b3472, \< f29ccaa07cf3d35990f4d25028cc55470d29372b; 4a0fddc2c0d5c28aec8c262ad4603be0bef1938c; \>= 5.10.238, \< 5.10.239; \>= 5.15.185, \< 5.15.186; … (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38273.md
Affected: Linux >= d42ed4de6aba232d946d20653a70f79158a6535b, < 445d59025d76d0638b03110f8791d5b89ed5162d; >= f5c2c4eaaa5a8e7e0685ec031d480e588e263e59, < e0b11227c4e8eb4bdf1b86aa8f0f3abb24e0f029; >= b8fcae6d2e93c54cacb8f579a77d827c1c643eb5, < 307391e8fe70401a6d39ecc9978e13c2c0cdf81f; >= b19fc1d0be3c3397e5968fe…
Fixed in: Linux 445d59025d76d0638b03110f8791d5b89ed5162d, Linux 307391e8fe70401a6d39ecc9978e13c2c0cdf81f, Linux 9ff60e0d9974dccf24e89bcd3ee7933e538d929f, Linux 5.10.239, Linux 5.15.186

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-2025-38273 being exploited?

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

### How serious is CVE-2025-38273?

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

### Which versions are affected by CVE-2025-38273?

Linux \>= d42ed4de6aba232d946d20653a70f79158a6535b, \< 445d59025d76d0638b03110f8791d5b89ed5162d; \>= f5c2c4eaaa5a8e7e0685ec031d480e588e263e59, \< e0b11227c4e8eb4bdf1b86aa8f0f3abb24e0f029; \>= b8fcae6d2e93c54cacb8f579a77d827c1c643eb5, \< 307391e8fe70401a6d39ecc9978e13c2c0cdf81f; \>= b19fc1d0be3c3397e5968fe2627f22e7f84673b1, \< acab7ca5ff19889b80a8ee7dec220ee1a96dede9; \>= 689a205cd968a1572ab561b0c4c2d50a10e9d3b0, \< c762fc79d710d676b793f9d98b1414efe6eb51e6; \>= e279024617134c94fd3e37470156534d5f2b3472, \< 9ff60e0d9974dccf24e89bcd3ee7933e538d929f; \>= e279024617134c94fd3e37470156534d5f2b3472, \< f29ccaa07cf3d35990f4d25028cc55470d29372b; 4a0fddc2c0d5c28aec8c262ad4603be0bef1938c; \>= 5.10.238, \< 5.10.239; \>= 5.15.185, \< 5.15.186; …; Linux 6.15.

### Is there a fix for CVE-2025-38273?

Yes. Fixed in Linux 445d59025d76d0638b03110f8791d5b89ed5162d, Linux 307391e8fe70401a6d39ecc9978e13c2c0cdf81f, Linux 9ff60e0d9974dccf24e89bcd3ee7933e538d929f, Linux 5.10.239, Linux 5.15.186. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38273?

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

- patch: <https://git.kernel.org/stable/c/445d59025d76d0638b03110f8791d5b89ed5162d>
- patch: <https://git.kernel.org/stable/c/e0b11227c4e8eb4bdf1b86aa8f0f3abb24e0f029>
- patch: <https://git.kernel.org/stable/c/307391e8fe70401a6d39ecc9978e13c2c0cdf81f>
- patch: <https://git.kernel.org/stable/c/acab7ca5ff19889b80a8ee7dec220ee1a96dede9>
- patch: <https://git.kernel.org/stable/c/c762fc79d710d676b793f9d98b1414efe6eb51e6>
- patch: <https://git.kernel.org/stable/c/9ff60e0d9974dccf24e89bcd3ee7933e538d929f>
- patch: <https://git.kernel.org/stable/c/f29ccaa07cf3d35990f4d25028cc55470d29372b>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## 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-2025-38273>

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