CVE-2025-38273
Linux Kernel vulnerability analysis and mitigation

Overview

A refcount warning vulnerability was discovered in the Linux kernel's TIPC (Transparent Inter-Process Communication) subsystem, identified as CVE-2025-38273. The issue was reported by syzbot and disclosed on July 10, 2025. The vulnerability affects the network namespace handling in the TIPC module, specifically in the tipcaeadencrypt function (NVD, Debian Tracker).

Technical details

The vulnerability occurs when calling getnet() on a network namespace that is being destroyed (refcount=0). This happens specifically when a TIPC discovery timer fires during network namespace cleanup. The issue stems from a getnet() call added in commit e279024617134 which attempts to hold a reference to the network namespace when it might already be in the process of being destroyed, potentially leading to a use-after-free warning (NVD).

Impact

The vulnerability could potentially lead to use-after-free conditions in the Linux kernel's TIPC subsystem, affecting network namespace management. This could impact system stability and potentially lead to kernel crashes (NVD).

Mitigation and workarounds

The fix involves replacing the getnet() call with maybeget_net(), which safely checks if the refcount is non-zero before incrementing it. If the namespace is being destroyed, the function returns -ENODEV early after releasing the bearer reference (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40082N/AN/A
  • Linux KernelLinux Kernel
  • linux
NoNoOct 28, 2025
CVE-2025-40081N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoNoOct 28, 2025
CVE-2025-40080N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel-matched
NoNoOct 28, 2025
CVE-2025-40078N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoNoOct 28, 2025
CVE-2025-40075N/AN/A
  • Linux KernelLinux Kernel
  • kernel-tools
NoNoOct 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management