CVE-2026-22997: net: can: j1939: j1939_xtp_rx_rts_session_active(): deactivate session upon receiving the second rts
In the Linux kernel, the following vulnerability has been resolved:
net: can: j1939: j1939_xtp_rx_rts_session_active(): deactivate session upon receiving the second rts
Since j1939_session_deactivate_activate_next() in j1939_tp_rxtimer() is
called only when the timer is enabled, we need to call
j1939_session_deactivate_activate_next() if we cancelled the timer.
Otherwise, refcount for j1939_session leaks, which will later appear as
| unregister_netdevice: waiting for vcan0 to become free. Usage count = 2.
problem.
Security readout for executives and security teams
Plain-English summary
A Linux CAN J1939 flaw can leak kernel session references when a second connection request arrives. The leak may prevent a CAN network device from being released, disrupting shutdown, reconfiguration, or recovery operations. The documented impact is availability loss, not data theft or modification.
Executive priority
Prioritize remediation for safety-sensitive, industrial, automotive, or embedded systems that actively use reachable J1939. Treat it as high operational risk where device reconfiguration or recovery is essential. Lower the immediate priority only after confirming J1939 is unused or isolated and documenting that evidence.
Technical view
When a second J1939 RTS is received for an active session, cancelling the receive timer can bypass session deactivation. The retained j1939_session reference later causes unregister_netdevice to wait indefinitely for the CAN device. The upstream resolution explicitly deactivates the session after timer cancellation.
Likely exposure
Exposure is concentrated in Linux systems using CAN J1939, particularly embedded, vehicle, and industrial environments where untrusted traffic can reach the J1939 interface. The supplied record lists affected kernels from 5.4 through 6.19, but provides no CPEs. Systems not using reachable J1939 functionality are less likely to be exposed.
Exploitation context
The CVSS 3.1 assessment is 7.5 with network reachability, low complexity, no privileges, and high availability impact. The record is not in KEV, and the supplied sources do not establish active exploitation or a public exploit. Practical reachability depends on CAN/J1939 topology and trust boundaries.
Researcher notes
The failure mechanism and upstream correction are clearly described. However, the supplied affected-version data mixes release numbers with duplicated commit identifiers, lacks CPEs, and does not identify distribution package versions. Validate exposure against vendor advisories and confirm which stable fix applies to each deployed kernel branch.
Mitigation direction
Install a vendor-supported kernel release incorporating the applicable upstream stable fix.
Consult the Linux distribution or device vendor for exact fixed package versions.
Restrict untrusted access to CAN and J1939 interfaces where operationally feasible.
Disable unused J1939 functionality after confirming safety and operational requirements.
Monitor affected systems for CAN device release or reconfiguration failures.
Validation and detection
Inventory kernel versions on systems using CAN J1939.
Confirm vendor packages include the applicable linked stable-kernel correction.
Verify whether untrusted sources can send traffic to J1939 interfaces.
Review logs for unregister_netdevice waits and persistent CAN device usage counts.
Regression-test CAN device shutdown and reconfiguration after updating.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2026-22997 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.