CVE-2025-71182

can: j1939: make j1939_session_activate() fail if device is no longer registered

No CVSS score yet EPSS 0.14%

Published 31 Jan 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2025-71182

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-71182 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.30% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Jun 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 9d71dd0c70099914fcd063135da3c580865e924c, before ebb0dfd718dd31c8d3600612ca4b7207ec3d923a
affected from 9d71dd0c70099914fcd063135da3c580865e924c, before c3a4316e3c746af415c0fd6c6d489ad13f53714d
affected from 9d71dd0c70099914fcd063135da3c580865e924c, before 46ca9dc978923c5e1247a9e9519240ba7ace413c
affected from 9d71dd0c70099914fcd063135da3c580865e924c, before 78d87b72cebe2a993fd5b017e9f14fb6278f2eae
affected from 9d71dd0c70099914fcd063135da3c580865e924c, before ba6f0d1832eeb5eb3a6dc5cb30e0f720b3cb3536
affected from 9d71dd0c70099914fcd063135da3c580865e924c, before 79dd3f1d9dd310c2af89b09c71f34d93973b200f
affected from 9d71dd0c70099914fcd063135da3c580865e924c, before 5d5602236f5db19e8b337a2cd87a90ace5ea776d
Other versions: unaffected
Linux
affected 5.4
unaffected before 5.4
unaffected from 5.10.248 up to and including 5.10.*
unaffected from 5.15.198 up to and including 5.15.*
unaffected from 6.1.161 up to and including 6.1.*
unaffected from 6.6.121 up to and including 6.6.*
unaffected from 6.12.66 up to and including 6.12.*
unaffected from 6.18.6 up to and including 6.18.*
unaffected 6.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-71182 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-71182

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-71182
trivy image --scanners vuln IMAGE | grep CVE-2025-71182

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-71182 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.