CVE Catalog

CVE-2025-71182

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

3th percentile - higher than 3% of all known CVEs

Summary

In the Linux kernel CAN j1939 subsystem, j1939_session_activate() could succeed even after the network device was unregistered, causing a usage count leak and hangs in unregister_netdevice. The fix checks ndev->reg_state under the session list lock, closing the race window.

Risk Assessment

May cause kernel hangs and failures to unregister CAN interfaces, leading to denial of service or system instability.

Recommendation

Update the Linux kernel to a version containing the fix for the CAN j1939 subsystem.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: can: j1939: make j1939_session_activate() fail if device is no longer registered syzbot is still reporting unregister_netdevice: waiting for vcan0 to become free. Usage count = 2 even after commit 93a27b5891b8 ("can: j1939: add missing calls in NETDEV_UNREGISTER notification handler") was added. A debug printk() patch found that j1939_session_activate() can succeed even after j1939_cancel_active_session() from j1939_netdev_notify(NETDEV_UNREGISTER) has completed. Since j1939_cancel_active_session() is processed with the session list lock held, checking ndev->reg_state in j1939_session_activate() with the session list lock held can reliably close the race window.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS