{"id":"CVE-2023-52887","summary":"net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new\n\nThis patch enhances error handling in scenarios with RTS (Request to\nSend) messages arriving closely. It replaces the less informative WARN_ON_ONCE\nbacktraces with a new error handling method. This provides clearer error\nmessages and allows for the early termination of problematic sessions.\nPreviously, sessions were only released at the end of j1939_xtp_rx_rts().\n\nPotentially this could be reproduced with something like:\ntestj1939 -r vcan0:0x80 &\nwhile true; do\n\t# send first RTS\n\tcansend vcan0 18EC8090#1014000303002301;\n\t# send second RTS\n\tcansend vcan0 18EC8090#1014000303002301;\n\t# send abort\n\tcansend vcan0 18EC8090#ff00000000002301;\ndone","modified":"2026-04-11T12:46:37.812835Z","published":"2024-07-29T15:52:27.615Z","related":["SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52887.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52887.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52887"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9d71dd0c70099914fcd063135da3c580865e924c"},{"fixed":"ed581989d7ea9df6f8646beba2341e32cd49a1f9"},{"fixed":"f6c839e717901dbd6b1c1ca807b6210222eb70f6"},{"fixed":"1762ca80c2b72dd1b5821c5e347713ae696276ea"},{"fixed":"26b18dd30e63d4fd777be429148e8e4ed66f60b2"},{"fixed":"177e33b655d35d72866b50aec84307119dc5f3d4"},{"fixed":"0bc0a7416ea73f79f915c9a05ac0858dff65cfed"},{"fixed":"d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52887.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.0"},{"fixed":"5.4.279"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.162"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.37"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.9.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52887.json"}}],"schema_version":"1.7.5"}