{"id":"CVE-2025-71182","aliases":["CVE-2025-71182"],"related":[],"kind":"vulnerability","state":"published","title":"can: j1939: make j1939_session_activate() fail if device is no longer registered","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncan: j1939: hacer que j1939_session_activate() falle si el dispositivo ya no está registrado\n\nsyzbot sigue reportando\n\n  unregister_netdevice: waiting for vcan0 to become free. Usage count = 2\n\nincluso después de que el commit 93a27b5891b8 ('can: j1939: añadir llamadas faltantes en el manejador de notificaciones NETDEV_UNREGISTER') fue añadido. Un parche de depuración printk() encontró que j1939_session_activate() puede tener éxito incluso después de que j1939_cancel_active_session() de j1939_netdev_notify(NETDEV_UNREGISTER) se haya completado.\n\nDado que j1939_cancel_active_session() se procesa con el bloqueo de la lista de sesiones mantenido, verificar ndev-&gt;reg_state en j1939_session_activate() con el bloqueo de la lista de sesiones mantenido puede cerrar de forma fiable la ventana de carrera.","source":"nvd"}],"published":"2026-01-31T11:38:55.157Z","modified":"2026-10-19T19:17:16.013Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"ebb0dfd718dd31c8d3600612ca4b7207ec3d923a","status":"affected"},{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"c3a4316e3c746af415c0fd6c6d489ad13f53714d","status":"affected"},{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"46ca9dc978923c5e1247a9e9519240ba7ace413c","status":"affected"},{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"78d87b72cebe2a993fd5b017e9f14fb6278f2eae","status":"affected"},{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"ba6f0d1832eeb5eb3a6dc5cb30e0f720b3cb3536","status":"affected"},{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"79dd3f1d9dd310c2af89b09c71f34d93973b200f","status":"affected"},{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"5d5602236f5db19e8b337a2cd87a90ace5ea776d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"5.10.248","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.161","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.121","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.66","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.6","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4.1","fixed":"5.10.248"},{"status":"affected","introduced":"5.11","fixed":"5.15.198"},{"status":"affected","introduced":"5.16","fixed":"6.1.161"},{"status":"affected","introduced":"6.2","fixed":"6.6.121"},{"status":"affected","introduced":"6.7","fixed":"6.12.66"},{"status":"affected","introduced":"6.13","fixed":"6.18.6"},{"status":"affected","version":"5.4"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ebb0dfd718dd31c8d3600612ca4b7207ec3d923a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c3a4316e3c746af415c0fd6c6d489ad13f53714d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46ca9dc978923c5e1247a9e9519240ba7ace413c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/78d87b72cebe2a993fd5b017e9f14fb6278f2eae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba6f0d1832eeb5eb3a6dc5cb30e0f720b3cb3536","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79dd3f1d9dd310c2af89b09c71f34d93973b200f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d5602236f5db19e8b337a2cd87a90ace5ea776d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-10T20:42:04.625Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71182","url":"https://www.cve.org/CVERecord?id=CVE-2025-71182","licence":"CVE Terms of Use","modified":"2026-10-19T18:15:16.548Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71182","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71182","licence":"Public domain","modified":"2026-10-19T19:17:16.013Z"}],"updatedAt":"2026-11-25T22:59:10.964Z","epss":{"score":0.00137,"percentile":0.03304,"date":"2026-12-01T12:00:22.000Z"}}