Impact
In the Linux kernel’s TIPC networking stack, a use‑after‑free bug exists in tipc_l2_send_msg() when tipc_disable_l2_media() clears media_ptr after calling synchronize_net() while the pointer still points to a valid device. RCU readers can race this sequence and later access a freed memory location during bearer_disable(), causing the kernel to dereference freed memory. This memory corruption can crash the kernel or, if attacker‑controlled data is placed in the freed region, lead to arbitrary kernel code execution.
Affected Systems
All Linux kernel versions that lack commit 0d8a12d7, which introduces the early clearing of b->media_ptr, are vulnerable. The issue is not vendor specific; any distribution shipping a kernel without this patch is affected.
Risk and Exploitability
Based on the description, the likely attack vector requires an adversary to send specially crafted TIPC packets to a target system where the TIPC module is enabled. It is inferred that local or privileged access is needed to manipulate the TIPC traffic or reproduce the race condition. The EPSS score is under 1% and the vulnerability is not listed in CISA KEV, indicating a low probability of public exploitation. Nevertheless, the CVSS score of 9.8 classifies it as Critical, meaning that exploitation could trigger a kernel panic or privilege escalation on affected systems.
OpenCVE Enrichment