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: j1939xtprxrtssessionactive(): deactivate session upon receiving the second rts
Since j1939sessiondeactivateactivatenext() in j1939tprxtimer() is called only when the timer is enabled, we need to call j1939sessiondeactivateactivatenext() if we cancelled the timer. Otherwise, refcount for j1939session leaks, which will later appear as
| unregisternetdevice: waiting for vcan0 to become free. Usage count = 2.
problem.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-22997?
CVE-2026-22997 has a moderate severity level as it can lead to unexpected outcomes during J1939 communication.
How do I fix CVE-2026-22997?
To fix CVE-2026-22997, update to the latest version of the Linux kernel where the vulnerability is resolved.
Which versions of the Linux kernel are affected by CVE-2026-22997?
CVE-2026-22997 affects certain versions of the Linux kernel that implement the J1939 protocol.
What type of vulnerability is CVE-2026-22997?
CVE-2026-22997 is a session management vulnerability in the J1939 CAN protocol implementation.
Can CVE-2026-22997 be exploited remotely?
Yes, if the vulnerable Linux kernel is used in a networked environment, CVE-2026-22997 may be exploitable remotely.