CVE-2025-71182

Source
https://cve.org/CVERecord?id=CVE-2025-71182
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71182.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-71182
Downstream
Related
Published
2026-01-31T11:38:55.157Z
Modified
2026-03-20T17:44:21.855783Z
Summary
can: j1939: make j1939_session_activate() fail if device is no longer registered
Details

In the Linux kernel, the following vulnerability has been resolved:

can: j1939: make j1939sessionactivate() 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 NETDEVUNREGISTER notification handler") was added. A debug printk() patch found that j1939sessionactivate() can succeed even after j1939cancelactivesession() from j1939netdevnotify(NETDEV_UNREGISTER) has completed.

Since j1939cancelactivesession() is processed with the session list lock held, checking ndev->regstate in j1939sessionactivate() with the session list lock held can reliably close the race window.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71182.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9d71dd0c70099914fcd063135da3c580865e924c
Fixed
ebb0dfd718dd31c8d3600612ca4b7207ec3d923a
Fixed
c3a4316e3c746af415c0fd6c6d489ad13f53714d
Fixed
46ca9dc978923c5e1247a9e9519240ba7ace413c
Fixed
78d87b72cebe2a993fd5b017e9f14fb6278f2eae
Fixed
ba6f0d1832eeb5eb3a6dc5cb30e0f720b3cb3536
Fixed
79dd3f1d9dd310c2af89b09c71f34d93973b200f
Fixed
5d5602236f5db19e8b337a2cd87a90ace5ea776d

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71182.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.4.0
Fixed
5.10.248
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.198
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.161
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.121
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.66
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71182.json"