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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.249, 5.15.199, 6.1.162, 6.12.67, 6.18.7, 6.6.122
- CVEs
- CVE-2026-22997
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 04:26 UTC · Revision 1
Source evidence
net: can: j1939: j1939_xtp_rx_rts_session_active(): deactivate session upon receiving the second rts
core-osv · Original sourcePublished 25 Jan 2026, 14:36 UTC
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.
osv:CVE-2026-22997
Kernel
Fixed versions: 5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.67, 6.18.7
Complete source record
{
"id": "a0af3a07d92572aadb87b6d7a76d323f52e1eb31b9eea3dfae4bbfb563a3798b",
"url": "https://osv.dev/vulnerability/CVE-2026-22997",
"method": "structured",
"payload": {
"kind": "advisory",
"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() 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.",
"evidence": "osv:CVE-2026-22997",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.249",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.199",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.162",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.122",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.67",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-22997",
"aliases": [
"CVE-2026-22997"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "9d71dd0c70099914fcd063135da3c580865e924c"
},
{
"fixed": "a73e7d7e346dae1c22dc3e95b02ca464b12daf2c"
},
{
"fixed": "adabf01c19561e42899da9de56a6a1da0e6b8a5b"
},
{
"fixed": "b1d67607e97d489c0cfbbf55f48a76b00710b0e4"
},
{
"fixed": "809a437e27a3bf3c1c6c8c157773635552116f2b"
},
{
"fixed": "cb2a610867bc379988bae0bb4b8bbc59c0decf1a"
},
{
"fixed": "6121b7564c725b632ffe4764abe85aa239d37703"
},
{
"fixed": "1809c82aa073a11b7d335ae932d81ce51a588a4a"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22997.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.4.0"
},
{
"fixed": "5.10.249"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.199"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.162"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.122"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.67"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22997.json"
}
}
],
"modified": "2026-10-28T02:30:49.647718650Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1809c82aa073a11b7d335ae932d81ce51a588a4a",
"https://git.kernel.org/stable/c/6121b7564c725b632ffe4764abe85aa239d37703",
"https://git.kernel.org/stable/c/809a437e27a3bf3c1c6c8c157773635552116f2b",
"https://git.kernel.org/stable/c/a73e7d7e346dae1c22dc3e95b02ca464b12daf2c",
"https://git.kernel.org/stable/c/adabf01c19561e42899da9de56a6a1da0e6b8a5b",
"https://git.kernel.org/stable/c/b1d67607e97d489c0cfbbf55f48a76b00710b0e4",
"https://git.kernel.org/stable/c/cb2a610867bc379988bae0bb4b8bbc59c0decf1a",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22997.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-22997",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22997.json"
}
},
"related_cves": [
{
"value": "CVE-2026-22997",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518122,
"published_at": "2026-01-25T14:36:12.053+00:00"
}