# CVE-2025-71182: can: j1939: make j1939\_session\_activate() fail if device is no longer registered

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-28)
- **CWE:** CWE-362
- **Published:** 2026-01-31T11:38:55.157Z
- **Modified:** 2026-10-19T19:17:16.013Z

## Who should check

- Anyone running Linux \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< ebb0dfd718dd31c8d3600612ca4b7207ec3d923a; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< c3a4316e3c746af415c0fd6c6d489ad13f53714d; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 46ca9dc978923c5e1247a9e9519240ba7ace413c; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 78d87b72cebe2a993fd5b017e9f14fb6278f2eae; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< ba6f0d1832eeb5eb3a6dc5cb30e0f720b3cb3536; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 79dd3f1d9dd310c2af89b09c71f34d93973b200f; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 5d5602236f5db19e8b337a2cd87a90ace5ea776d
- Anyone running Linux 5.4

## Description

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.

## Affected and fixed versions

- Linux: \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< ebb0dfd718dd31c8d3600612ca4b7207ec3d923a; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< c3a4316e3c746af415c0fd6c6d489ad13f53714d; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 46ca9dc978923c5e1247a9e9519240ba7ace413c; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 78d87b72cebe2a993fd5b017e9f14fb6278f2eae; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< ba6f0d1832eeb5eb3a6dc5cb30e0f720b3cb3536; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 79dd3f1d9dd310c2af89b09c71f34d93973b200f; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 5d5602236f5db19e8b337a2cd87a90ace5ea776d (cvelist)
- Linux: 5.4 (cvelist)

## Mitigation

- Upgrade Linux to 5d5602236f5db19e8b337a2cd87a90ace5ea776d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-71182. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71182.md
Affected: Linux >= 9d71dd0c70099914fcd063135da3c580865e924c, < ebb0dfd718dd31c8d3600612ca4b7207ec3d923a; >= 9d71dd0c70099914fcd063135da3c580865e924c, < c3a4316e3c746af415c0fd6c6d489ad13f53714d; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 46ca9dc978923c5e1247a9e9519240ba7ace413c; >= 9d71dd0c70099914fcd0631…
Fixed in: Linux 46ca9dc978923c5e1247a9e9519240ba7ace413c, Linux 78d87b72cebe2a993fd5b017e9f14fb6278f2eae, Linux 79dd3f1d9dd310c2af89b09c71f34d93973b200f, Linux 5d5602236f5db19e8b337a2cd87a90ace5ea776d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-71182 being exploited?

There is no confirmed exploitation: CVE-2025-71182 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-71182?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-71182?

Linux \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< ebb0dfd718dd31c8d3600612ca4b7207ec3d923a; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< c3a4316e3c746af415c0fd6c6d489ad13f53714d; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 46ca9dc978923c5e1247a9e9519240ba7ace413c; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 78d87b72cebe2a993fd5b017e9f14fb6278f2eae; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< ba6f0d1832eeb5eb3a6dc5cb30e0f720b3cb3536; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 79dd3f1d9dd310c2af89b09c71f34d93973b200f; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 5d5602236f5db19e8b337a2cd87a90ace5ea776d; Linux 5.4.

### Is there a fix for CVE-2025-71182?

Yes. Fixed in Linux 46ca9dc978923c5e1247a9e9519240ba7ace413c, Linux 78d87b72cebe2a993fd5b017e9f14fb6278f2eae, Linux 79dd3f1d9dd310c2af89b09c71f34d93973b200f, Linux 5d5602236f5db19e8b337a2cd87a90ace5ea776d. Upgrade Linux to 5d5602236f5db19e8b337a2cd87a90ace5ea776d or later.

### How do I check if I'm affected by CVE-2025-71182?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ebb0dfd718dd31c8d3600612ca4b7207ec3d923a>
- patch: <https://git.kernel.org/stable/c/c3a4316e3c746af415c0fd6c6d489ad13f53714d>
- patch: <https://git.kernel.org/stable/c/46ca9dc978923c5e1247a9e9519240ba7ace413c>
- patch: <https://git.kernel.org/stable/c/78d87b72cebe2a993fd5b017e9f14fb6278f2eae>
- patch: <https://git.kernel.org/stable/c/ba6f0d1832eeb5eb3a6dc5cb30e0f720b3cb3536>
- patch: <https://git.kernel.org/stable/c/79dd3f1d9dd310c2af89b09c71f34d93973b200f>
- patch: <https://git.kernel.org/stable/c/5d5602236f5db19e8b337a2cd87a90ace5ea776d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-71182>

HTML: <https://flawdb.com/CVE-2025-71182> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-71182>
