CVE-2025-38273: net: tipc: fix refcount warning in tipc_aead_encrypt
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
Security readout for executives and security teams
Plain-English summary
A timing flaw in Linux TIPC encryption can access a network namespace after its destruction begins. The report shows a kernel reference-count/use-after-free warning during cleanup, not a demonstrated attack. Given the 7.8 CVSS score and potential high impact, affected systems warrant timely kernel updates.
Executive priority
Treat this as a high-priority, targeted kernel update rather than an internet-wide emergency. Accelerate remediation where TIPC and namespace teardown are present. Broader urgency is moderated by the local-access requirement and absence of documented active exploitation.
Technical view
A TIPC discovery timer can invoke tipc_aead_encrypt during network-namespace teardown. The added get_net() may increment an already-zero namespace reference count. The stable fix uses maybe_get_net(); if teardown has begun, it releases the bearer reference and returns -ENODEV.
Likely exposure
Exposure is most plausible on Linux systems using TIPC where network namespaces are created or destroyed. The CVSS vector requires local, low-privileged access and no user interaction. The bundle's flattened affected-version lists are ambiguous, so confirm exposure through distribution guidance and fix lineage.
Exploitation context
CISA KEV status is false, and the supplied sources provide no evidence of active exploitation or a public weaponized exploit. The issue was found by syzbot as a reference-count warning. Potential confidentiality, integrity, and availability effects are rated high, but demonstrated security impact is not described.
Researcher notes
The reported regression follows a get_net() addition intended to address an earlier slab use-after-free. The replacement prevents acquiring a namespace whose reference count reached zero. Exact vulnerable and fixed ranges cannot be reliably reconstructed from the bundle's flattened version entries; inspect stable commits and vendor backports.
Mitigation direction
Apply a vendor-supported kernel update incorporating the applicable Linux stable fix.
Consult the operating-system vendor advisory for backport status and exact affected package versions.
Prioritize systems using TIPC and frequently creating or destroying network namespaces.
Validation and detection
Record the running kernel version and compare it with vendor advisories and stable-fix lineage.
Determine whether TIPC is available, configured, or used on each potentially affected host.
After updating, confirm the fixed kernel is running, not merely installed.
Review kernel logs for TIPC reference-count warnings during network-namespace teardown.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-38273 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
10Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.