{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-22997",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-01-13T15:37:45.938Z",
        "datePublished": "2026-01-25T14:36:12.053Z",
        "dateUpdated": "2026-08-05T12:20:01.212Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:20:01.212Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: can: j1939: j1939_xtp_rx_rts_session_active(): deactivate session upon receiving the second rts\n\nSince j1939_session_deactivate_activate_next() in j1939_tp_rxtimer() is\ncalled only when the timer is enabled, we need to call\nj1939_session_deactivate_activate_next() if we cancelled the timer.\nOtherwise, refcount for j1939_session leaks, which will later appear as\n\n| unregister_netdevice: waiting for vcan0 to become free. Usage count = 2.\n\nproblem."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - The vulnerable path is reached by received SAE J1939 transport-control frames delivered through the CAN network receive path into j1939_can_recv(), j1939_tp_recv(), j1939_tp_cmd_recv(), j1939_xtp_rx_rts(), and then j1939_xtp_rx_rts_session_active(). A remote CAN/J1939 peer can send the duplicate RTS/BAM sequence to a Linux node using a bound J1939 socket, so the attacker does not need local execution on the target.\nAC:L - The trigger is a controlled protocol sequence involving a second RTS/BAM for an active receiver session; the attacker controls the packet timing and contents. No hard-to-win race or condition outside attacker influence is required.\nPR:N - Received CAN/J1939 frames enter the vulnerable receive path without authentication or credential checks. In the highest reasonable deployment, the attacker is an unauthenticated peer on the J1939/CAN network.\nUI:N - No victim interaction is required once the target is running the J1939 stack with a bound socket. The attacker only needs to transmit the crafted J1939 frames.\nS:U - The bug affects kernel CAN/J1939 session and netdevice lifetime management within the same kernel security authority. It does not cross a VM, sandbox, IOMMU, or other separate security boundary.\nC:N - The bug is a reference-count leak caused by failing to deactivate a receiver session after cancelling its timer. The investigation did not identify memory disclosure, arbitrary read, or use-after-free behavior.\nI:N - The leaked references pin session/private/netdevice objects but do not provide attacker-controlled data modification or a write primitive. There is no evidence of control-flow corruption or persistent data tampering.\nA:H - The leaked J1939 session/private references pin the CAN net_device and can make unregister_netdevice wait indefinitely with a nonzero usage count. This is a persistent denial of service against network device or namespace teardown and can be retriggered."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/can/j1939/transport.c"
                    ],
                    "versions": [
                        {
                            "version": "9d71dd0c70099914fcd063135da3c580865e924c",
                            "lessThan": "a73e7d7e346dae1c22dc3e95b02ca464b12daf2c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d71dd0c70099914fcd063135da3c580865e924c",
                            "lessThan": "adabf01c19561e42899da9de56a6a1da0e6b8a5b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d71dd0c70099914fcd063135da3c580865e924c",
                            "lessThan": "b1d67607e97d489c0cfbbf55f48a76b00710b0e4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d71dd0c70099914fcd063135da3c580865e924c",
                            "lessThan": "809a437e27a3bf3c1c6c8c157773635552116f2b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d71dd0c70099914fcd063135da3c580865e924c",
                            "lessThan": "cb2a610867bc379988bae0bb4b8bbc59c0decf1a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d71dd0c70099914fcd063135da3c580865e924c",
                            "lessThan": "6121b7564c725b632ffe4764abe85aa239d37703",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9d71dd0c70099914fcd063135da3c580865e924c",
                            "lessThan": "1809c82aa073a11b7d335ae932d81ce51a588a4a",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/can/j1939/transport.c"
                    ],
                    "versions": [
                        {
                            "version": "5.4",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.4",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.249",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.199",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.162",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.122",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.67",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.7",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.4",
                                    "versionEndExcluding": "5.10.249"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.4",
                                    "versionEndExcluding": "5.15.199"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.4",
                                    "versionEndExcluding": "6.1.162"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.4",
                                    "versionEndExcluding": "6.6.122"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.4",
                                    "versionEndExcluding": "6.12.67"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.4",
                                    "versionEndExcluding": "6.18.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.4",
                                    "versionEndExcluding": "6.19"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
                }
            ],
            "title": "net: can: j1939: j1939_xtp_rx_rts_session_active(): deactivate session upon receiving the second rts",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-06-16T20:36:25.922251Z",
                                "id": "CVE-2026-22997",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-06-16T20:36:36.417Z"
                }
            }
        ]
    }
}