CVE-2023-52887
net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= 9d71dd0c70099914fcd063135da3c580865e924c, < ed581989d7ea9df6f8646beba2341e32cd49a1f9; >= 9d71dd0c70099914fcd063135da3c580865e924c, < f6c839e717901dbd6b1c1ca807b6210222eb70f6; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 1762ca80c2b72dd1b5821c5e347713ae696276ea; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 26b18dd30e63d4fd777be429148e8e4ed66f60b2; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 177e33b655d35d72866b50aec84307119dc5f3d4; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 0bc0a7416ea73f79f915c9a05ac0858dff65cfed; >= 9d71dd0c70099914fcd063135da3c580865e924c, < d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb; Linux 5.4
- Fixed in
- Linux 1762ca80c2b72dd1b5821c5e347713ae696276ea, Linux 26b18dd30e63d4fd777be429148e8e4ed66f60b2, Linux 177e33b655d35d72866b50aec84307119dc5f3d4, Linux 0bc0a7416ea73f79f915c9a05ac0858dff65cfed
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.93% chance of exploitation in 30 days (percentile 59, 2026-11-26)
- CWE
- CWE-617
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 9d71dd0c70099914fcd063135da3c580865e924c, < ed581989d7ea9df6f8646beba2341e32cd49a1f9; >= 9d71dd0c70099914fcd063135da3c580865e924c, < f6c839e717901dbd6b1c1ca807b6210222eb70f6; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 1762ca80c2b72dd1b5821c5e347713ae696276ea; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 26b18dd30e63d4fd777be429148e8e4ed66f60b2; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 177e33b655d35d72866b50aec84307119dc5f3d4; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 0bc0a7416ea73f79f915c9a05ac0858dff65cfed; >= 9d71dd0c70099914fcd063135da3c580865e924c, < d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb | — | cvelist |
| Linux | 5.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9
- https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6
- https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea
- https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2
- https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4
- https://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed
- https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb
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.