
Cloud Vulnerability DB
A community-led vulnerabilities database
In the Linux kernel, a vulnerability (CVE-2025-39925) was discovered related to the CAN J1939 protocol implementation. The issue was identified when syzbot reported an 'unregister_netdevice: waiting for vcan0 to become free' problem with a usage count of 2. This occurred because the j1939 protocol lacked a NETDEV_UNREGISTER notification handler for properly undoing changes made by j1939_sk_bind(). The vulnerability was disclosed on October 1, 2025 (NVD).
The vulnerability stems from an architectural issue in the Linux kernel's CAN J1939 protocol implementation. The problem occurs because Commit 25fe97cb7620 ('can: j1939: move j1939_priv_put() into sk_destruct callback') assumes that j1939_priv_put() can be unconditionally delayed until j1939_sk_sock_destruct() is called. However, j1939_priv_put() needs to be called against an extra ref held by j1939_sk_bind() as soon as NETDEV_UNREGISTER notification fires, before j1939_sk_sock_destruct() is called via j1939_sk_release() (NVD).
The vulnerability prevents the unregister_netdevice() function from continuing its operation. This occurs because the extra reference on 'struct j1939_priv' held by j1939_sk_bind() call prevents 'struct net_device' from dropping the usage count to 1 (NVD).
The vulnerability has been resolved by implementing a NETDEV_UNREGISTER notification handler for the j1939 protocol to properly handle the undoing of changes made by j1939_sk_bind(). Two kernel commits have been provided to address this issue (Kernel.org, Kernel.org).
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."