CVE-2026-22997
net: can: j1939: j1939_xtp_rx_rts_session_active(): deactivate session upon receiving the second rts
Description
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.
INFO
Published Date :
Jan. 25, 2026, 3:15 p.m.
Last Modified :
Feb. 26, 2026, 5:01 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Apply the kernel patch for the j1939 module.
- Ensure session is deactivated when timer is cancelled.
- Deactivate session upon receiving the second RTS.
- Fix the session reference count leak.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-22997.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-22997 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-22997
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-22997 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-22997 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 26, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.7 *cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.199 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.162 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.122 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.67 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4 up to (excluding) 5.10.249 Added Reference Type kernel.org: https://git.kernel.org/stable/c/1809c82aa073a11b7d335ae932d81ce51a588a4a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6121b7564c725b632ffe4764abe85aa239d37703 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/809a437e27a3bf3c1c6c8c157773635552116f2b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a73e7d7e346dae1c22dc3e95b02ca464b12daf2c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/adabf01c19561e42899da9de56a6a1da0e6b8a5b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b1d67607e97d489c0cfbbf55f48a76b00710b0e4 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/cb2a610867bc379988bae0bb4b8bbc59c0decf1a Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 06, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/a73e7d7e346dae1c22dc3e95b02ca464b12daf2c Added Reference https://git.kernel.org/stable/c/adabf01c19561e42899da9de56a6a1da0e6b8a5b Added Reference https://git.kernel.org/stable/c/b1d67607e97d489c0cfbbf55f48a76b00710b0e4 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jan. 30, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/809a437e27a3bf3c1c6c8c157773635552116f2b -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jan. 25, 2026
Action Type Old Value New Value Added Description 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. Added Reference https://git.kernel.org/stable/c/1809c82aa073a11b7d335ae932d81ce51a588a4a Added Reference https://git.kernel.org/stable/c/6121b7564c725b632ffe4764abe85aa239d37703 Added Reference https://git.kernel.org/stable/c/cb2a610867bc379988bae0bb4b8bbc59c0decf1a