Junglewise Threat Intelligence

CVE-2025-40280: Linux kernel use-after-free in TIPC tipc_mon_reinit_self

CVE-2025-40280 · Severity: info · CVSS 7.8 · Published 2025-12-06

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's Transparent Inter-Process Communication (TIPC) protocol, which is used for efficient communication between nodes in a cluster. A flaw in how the system manages internal monitoring data could allow a local attacker to cause a system crash or potentially execute unauthorized code. This issue primarily impacts system stability and the integrity of the operating system environment.

Technical details

A use-after-free vulnerability exists in the TIPC (Transparent Inter-Process Communication) protocol implementation within the Linux kernel, specifically in the tipc_mon_reinit_self() function. The root cause is a race condition where the monitors array is accessed without proper RTNL (Routing Netlink) locking during background work execution in tipc_net_finalize_work(). An attacker can exploit this by triggering network interface events that lead to the deallocation of monitoring structures while they are still being iterated over. This can result in a kernel panic (DoS) or arbitrary memory corruption. The fix involves ensuring the RTNL lock is held during the finalization work.

Affected products

  • Linux Linux kernel All versions prior to the fix in late 2025

Timeline

  • 2025-11-07: patched: Initial patch authored by Kuniyuki Iwashima
  • 2025-12-06: advisory: CVE-2025-40280 published

References

Related threats