CVE-2025-71182
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Indicators of compromise

  • Logs: Repeated kernel messages such as 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.
  • System Behavior: Network devices (e.g., vcan0) failing to unregister cleanly or hanging during removal, observable via ip link commands showing devices stuck in a transitional state.

Mitigation and workarounds

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).

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-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

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