{"id":"CVE-2025-71182","published":"2026-01-31T11:38:55Z","modified":"2026-10-19T18:15:16Z","title":"can: j1939: make j1939_session_activate() fail if device is no longer registered","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: j1939: make j1939_session_activate() fail if device is no longer registered\n\nsyzbot is still reporting\n\n  unregister_netdevice: waiting for vcan0 to become free. Usage count = 2\n\neven after commit 93a27b5891b8 (\"can: j1939: add missing calls in\nNETDEV_UNREGISTER notification handler\") was added. A debug printk() patch\nfound that j1939_session_activate() can succeed even after\nj1939_cancel_active_session() from j1939_netdev_notify(NETDEV_UNREGISTER)\nhas completed.\n\nSince j1939_cancel_active_session() is processed with the session list lock\nheld, checking ndev->reg_state in j1939_session_activate() with the session\nlist lock held can reliably close the race window.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00152,"percentile":0.02277,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://git.kernel.org/stable/c/ebb0dfd718dd31c8d3600612ca4b7207ec3d923a","tags":[]},{"url":"https://git.kernel.org/stable/c/c3a4316e3c746af415c0fd6c6d489ad13f53714d","tags":[]},{"url":"https://git.kernel.org/stable/c/46ca9dc978923c5e1247a9e9519240ba7ace413c","tags":[]},{"url":"https://git.kernel.org/stable/c/78d87b72cebe2a993fd5b017e9f14fb6278f2eae","tags":[]},{"url":"https://git.kernel.org/stable/c/ba6f0d1832eeb5eb3a6dc5cb30e0f720b3cb3536","tags":[]},{"url":"https://git.kernel.org/stable/c/79dd3f1d9dd310c2af89b09c71f34d93973b200f","tags":[]},{"url":"https://git.kernel.org/stable/c/5d5602236f5db19e8b337a2cd87a90ace5ea776d","tags":[]}],"priority":{"score":0.5,"factors":[{"name":"EPSS percentile","points":0.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9d71dd0c70099914fcd063135da3c580865e924c, < ebb0dfd718dd31c8d3600612ca4b7207ec3d923a",">= 9d71dd0c70099914fcd063135da3c580865e924c, < c3a4316e3c746af415c0fd6c6d489ad13f53714d",">= 9d71dd0c70099914fcd063135da3c580865e924c, < 46ca9dc978923c5e1247a9e9519240ba7ace413c",">= 9d71dd0c70099914fcd063135da3c580865e924c, < 78d87b72cebe2a993fd5b017e9f14fb6278f2eae",">= 9d71dd0c70099914fcd063135da3c580865e924c, < ba6f0d1832eeb5eb3a6dc5cb30e0f720b3cb3536",">= 9d71dd0c70099914fcd063135da3c580865e924c, < 79dd3f1d9dd310c2af89b09c71f34d93973b200f",">= 9d71dd0c70099914fcd063135da3c580865e924c, < 5d5602236f5db19e8b337a2cd87a90ace5ea776d"]},{"vendor":"Linux","product":"Linux","versions":["5.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-10T20:42:04.625425Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-206593","exploited":false,"provenance":"source"}}