# CVE-2023-52887: net: can: j1939: enhanced error handling for tightly received RTS messages in xtp\_rx\_rts\_session\_new

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.93% (percentile 59, 2026-11-26)
- **CWE:** CWE-617
- **Published:** 2024-07-29T15:52:27.615Z
- **Modified:** 2026-08-05T09:11:52.764Z

## Who should check

- Anyone running Linux \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< ed581989d7ea9df6f8646beba2341e32cd49a1f9; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< f6c839e717901dbd6b1c1ca807b6210222eb70f6; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 1762ca80c2b72dd1b5821c5e347713ae696276ea; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 26b18dd30e63d4fd777be429148e8e4ed66f60b2; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 177e33b655d35d72866b50aec84307119dc5f3d4; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 0bc0a7416ea73f79f915c9a05ac0858dff65cfed; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb
- Anyone running Linux 5.4

## 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

## Affected and fixed versions

- Linux: \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< ed581989d7ea9df6f8646beba2341e32cd49a1f9; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< f6c839e717901dbd6b1c1ca807b6210222eb70f6; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 1762ca80c2b72dd1b5821c5e347713ae696276ea; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 26b18dd30e63d4fd777be429148e8e4ed66f60b2; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 177e33b655d35d72866b50aec84307119dc5f3d4; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 0bc0a7416ea73f79f915c9a05ac0858dff65cfed; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb (cvelist)
- Linux: 5.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52887. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52887.md
Affected: Linux >= 9d71dd0c70099914fcd063135da3c580865e924c, < ed581989d7ea9df6f8646beba2341e32cd49a1f9; >= 9d71dd0c70099914fcd063135da3c580865e924c, < f6c839e717901dbd6b1c1ca807b6210222eb70f6; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 1762ca80c2b72dd1b5821c5e347713ae696276ea; >= 9d71dd0c70099914fcd0631…
Fixed in: Linux 1762ca80c2b72dd1b5821c5e347713ae696276ea, Linux 26b18dd30e63d4fd777be429148e8e4ed66f60b2, Linux 177e33b655d35d72866b50aec84307119dc5f3d4, Linux 0bc0a7416ea73f79f915c9a05ac0858dff65cfed

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52887 being exploited?

There is no confirmed exploitation: CVE-2023-52887 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.93% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52887?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-52887?

Linux \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< ed581989d7ea9df6f8646beba2341e32cd49a1f9; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< f6c839e717901dbd6b1c1ca807b6210222eb70f6; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 1762ca80c2b72dd1b5821c5e347713ae696276ea; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 26b18dd30e63d4fd777be429148e8e4ed66f60b2; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 177e33b655d35d72866b50aec84307119dc5f3d4; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< 0bc0a7416ea73f79f915c9a05ac0858dff65cfed; \>= 9d71dd0c70099914fcd063135da3c580865e924c, \< d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb; Linux 5.4.

### Is there a fix for CVE-2023-52887?

Yes. Fixed in Linux 1762ca80c2b72dd1b5821c5e347713ae696276ea, Linux 26b18dd30e63d4fd777be429148e8e4ed66f60b2, Linux 177e33b655d35d72866b50aec84307119dc5f3d4, Linux 0bc0a7416ea73f79f915c9a05ac0858dff65cfed. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-52887?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52887>

HTML: <https://flawdb.com/CVE-2023-52887> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52887>
