---
id: CVE-2026-22997
title: >-
  net: can: j1939: j1939_xtp_rx_rts_session_active(): deactivate session upon
  receiving the second rts
summary: >-
  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…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 9d71dd0c70099914fcd063135da3c580865e924c <
    a73e7d7e346dae1c22dc3e95b02ca464b12daf2c
  - >-
    Linux >= 9d71dd0c70099914fcd063135da3c580865e924c <
    adabf01c19561e42899da9de56a6a1da0e6b8a5b
  - >-
    Linux >= 9d71dd0c70099914fcd063135da3c580865e924c <
    b1d67607e97d489c0cfbbf55f48a76b00710b0e4
  - >-
    Linux >= 9d71dd0c70099914fcd063135da3c580865e924c <
    809a437e27a3bf3c1c6c8c157773635552116f2b
  - >-
    Linux >= 9d71dd0c70099914fcd063135da3c580865e924c <
    cb2a610867bc379988bae0bb4b8bbc59c0decf1a
  - >-
    Linux >= 9d71dd0c70099914fcd063135da3c580865e924c <
    6121b7564c725b632ffe4764abe85aa239d37703
  - >-
    Linux >= 9d71dd0c70099914fcd063135da3c580865e924c <
    1809c82aa073a11b7d335ae932d81ce51a588a4a
  - Linux 5.4
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-06-16T20:36:25.922251Z'
published: '2026-01-25'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T18:25:26.725Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-22997'
references:
  - url: 'https://git.kernel.org/stable/c/a73e7d7e346dae1c22dc3e95b02ca464b12daf2c'
  - url: 'https://git.kernel.org/stable/c/adabf01c19561e42899da9de56a6a1da0e6b8a5b'
  - url: 'https://git.kernel.org/stable/c/b1d67607e97d489c0cfbbf55f48a76b00710b0e4'
  - url: 'https://git.kernel.org/stable/c/809a437e27a3bf3c1c6c8c157773635552116f2b'
  - url: 'https://git.kernel.org/stable/c/cb2a610867bc379988bae0bb4b8bbc59c0decf1a'
  - url: 'https://git.kernel.org/stable/c/6121b7564c725b632ffe4764abe85aa239d37703'
  - url: 'https://git.kernel.org/stable/c/1809c82aa073a11b7d335ae932d81ce51a588a4a'
tags:
  - cve.org
epss: 0.00472
epssPercentile: 0.39476
ingestedAt: '2026-10-19T18:35:50.121Z'
---

## Overview

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.

## Affected

- `Linux >= 9d71dd0c70099914fcd063135da3c580865e924c < a73e7d7e346dae1c22dc3e95b02ca464b12daf2c`
- `Linux >= 9d71dd0c70099914fcd063135da3c580865e924c < adabf01c19561e42899da9de56a6a1da0e6b8a5b`
- `Linux >= 9d71dd0c70099914fcd063135da3c580865e924c < b1d67607e97d489c0cfbbf55f48a76b00710b0e4`
- `Linux >= 9d71dd0c70099914fcd063135da3c580865e924c < 809a437e27a3bf3c1c6c8c157773635552116f2b`
- `Linux >= 9d71dd0c70099914fcd063135da3c580865e924c < cb2a610867bc379988bae0bb4b8bbc59c0decf1a`
- `Linux >= 9d71dd0c70099914fcd063135da3c580865e924c < 6121b7564c725b632ffe4764abe85aa239d37703`
- `Linux >= 9d71dd0c70099914fcd063135da3c580865e924c < 1809c82aa073a11b7d335ae932d81ce51a588a4a`
- `Linux 5.4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
