# CVE-2023-52887: net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-02)
- Published: 2024-07-29T15:52:27.615Z
- Modified: 2026-08-05T09:11:52.764Z
- Weaknesses: CWE-617
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new

This patch enhances error handling in scenarios with RTS (Request to
Send) messages arriving closely. It replaces the less informative WARN_ON_ONCE
backtraces with a new error handling method. This provides clearer error
messages and allows for the early termination of problematic sessions.
Previously, sessions were only released at the end of j1939_xtp_rx_rts().

Potentially this could be reproduced with something like:
testj1939 -r vcan0:0x80 &
while true; do
	# send first RTS
	cansend vcan0 18EC8090#1014000303002301;
	# send second RTS
	cansend vcan0 18EC8090#1014000303002301;
	# send abort
	cansend vcan0 18EC8090#ff00000000002301;
done

(As written by CVE List.)

## Affected

- Linux Linux: from 9d71dd0c70099914fcd063135da3c580865e924c before ed581989d7ea9df6f8646beba2341e32cd49a1f9; from 9d71dd0c70099914fcd063135da3c580865e924c before f6c839e717901dbd6b1c1ca807b6210222eb70f6; from 9d71dd0c70099914fcd063135da3c580865e924c before 1762ca80c2b72dd1b5821c5e347713ae696276ea; from 9d71dd0c70099914fcd063135da3c580865e924c before 26b18dd30e63d4fd777be429148e8e4ed66f60b2; from 9d71dd0c70099914fcd063135da3c580865e924c before 177e33b655d35d72866b50aec84307119dc5f3d4; from 9d71dd0c70099914fcd063135da3c580865e924c before 0bc0a7416ea73f79f915c9a05ac0858dff65cfed; from 9d71dd0c70099914fcd063135da3c580865e924c before d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb; 5.4 (not affected: before 5.4; from 5.4.279 up to 5.4.*; from 5.10.221 up to 5.10.*; from 5.15.162 up to 5.15.*; from 6.1.97 up to 6.1.*; from 6.6.37 up to 6.6.*; from 6.9.8 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 5.4 before 5.4.279; from 5.5 before 5.10.221; from 5.11 before 5.15.162; from 5.16 before 6.1.97; from 6.2 before 6.6.37; from 6.7 before 6.9.8; 6.10

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9> (patch)
- <https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6> (patch)
- <https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea> (patch)
- <https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2> (patch)
- <https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4> (patch)
- <https://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed> (patch)
- <https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2023-52887](https://www.cve.org/CVERecord?id=CVE-2023-52887), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-52887](https://nvd.nist.gov/vuln/detail/CVE-2023-52887), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-52887 · Whole record: https://cve.day/CVE-2023-52887.json · Rebuilt by cve.day 2026-11-25T22:58:34.236Z
