
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-71182 is a race condition vulnerability in the Linux kernel's CAN J1939 subsystem that can cause denial of service through resource exhaustion. The flaw exists in the j1939_session_activate() function, which can succeed even after j1939_cancel_active_session() has been called during network device unregistration, leaving sessions active and preventing the network device from being fully freed. It affects Linux kernel versions from 5.4 through 6.18.x (with specific fixed versions available per stable branch) as well as 6.19 release candidates up to rc8. The vulnerability was published on January 31, 2026, and carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat Advisory).
The root cause is a time-of-check/time-of-use (TOCTOU) race condition (CWE-362) in the Linux kernel's CAN J1939 subsystem. When a network device is unregistered, j1939_netdev_notify(NETDEV_UNREGISTER) calls j1939_cancel_active_session() while holding the session list lock; however, j1939_session_activate() does not check the network device's registration state (ndev->reg_state) under the same lock, creating a window where a new session can be activated on an already-unregistering device. The fix closes this race by checking ndev->reg_state inside j1939_session_activate() while the session list lock is held, ensuring the check is atomic with respect to the cancellation path. This was identified via syzbot fuzzing, which reported persistent unregister_netdevice: waiting for vcan0 to become free. Usage count = 2 kernel messages even after a prior partial fix (commit 93a27b5891b8) (Red Hat Advisory).
Successful exploitation causes denial of service through device reference leaks and kernel instability. Sessions that persist after device unregistration hold references to the network device, preventing it from being freed and generating repeated kernel warning messages (unregister_netdevice: waiting for vcan0 to become free). There is no confidentiality or integrity impact; the vulnerability is limited to availability, affecting systems that use the CAN J1939 subsystem (Red Hat Advisory).
unregister_netdevice: waiting for vcan0 to become free. Usage count = 2 in /var/log/kern.log or dmesg output, indicating device reference leaks in the CAN J1939 subsystem.vcan0) failing to unregister cleanly or hanging during removal, observable via ip link commands showing devices stuck in a transitional state.Apply the appropriate stable kernel update for your branch: upgrade to 5.10.248, 5.15.198, 6.1.161, 6.6.121, 6.12.66, or 6.18.6 depending on your current version. Patches are available on git.kernel.org across multiple stable branches. Systems that do not use the CAN J1939 subsystem (e.g., those without automotive/industrial CAN bus interfaces) have a reduced risk profile and may deprioritize patching, but upgrading is still recommended. As a temporary measure, monitor kernel logs for unregister_netdevice timeout errors as an indicator of potential triggering (Red Hat Advisory, Kernel Patch 5.15).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."