CVE-2023-52887: net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new
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
Security readout for executives and security teams
Plain-English summary
CVE-2023-52887 is a Linux kernel flaw in the CAN J1939 networking code. Specially timed Request-To-Send messages can cause problematic session handling and availability impact. This matters mainly for systems that use Linux CAN/J1939, common in automotive, industrial, or embedded environments.
Executive priority
Prioritize patching for embedded, vehicle, industrial, or lab systems using Linux CAN/J1939. For standard IT servers without CAN usage, urgency is lower but still track through normal kernel update cycles.
Technical view
The issue is in net/can/j1939 xtp_rx_rts_session_new handling of tightly received RTS messages. The kernel fix replaces WARN_ON_ONCE backtraces with clearer error handling and earlier termination of problematic sessions. CVSS is 7.5, reflecting high availability impact with no confidentiality or integrity impact stated.
Likely exposure
Exposure is likely limited to Linux systems with CAN J1939 functionality enabled or reachable. General-purpose servers not using CAN/J1939 are less likely exposed, but embedded Linux and operational technology environments should verify kernel configuration and deployed versions.
Exploitation context
The CVE record includes a potential reproduction scenario using crafted CAN J1939 traffic, but CISA KEV is false and no supplied source states active exploitation. Treat this as a denial-of-service risk where attackers can reach the relevant CAN interface.
Researcher notes
Source evidence supports an availability-focused kernel bug fixed by stable commits. The provided record does not identify data exposure, privilege escalation, or confirmed exploitation. Affected-version detail is kernel-branch specific, so rely on vendor backport status rather than version strings alone.
Mitigation direction
Apply Linux stable kernel updates containing the referenced fixes.
Use distribution security updates where available, including Debian LTS guidance if applicable.
If unsure, check your vendor kernel advisory for CVE-2023-52887 applicability.
Validation and detection
Inventory Linux systems using CAN or J1939 networking.
Compare running kernel versions against vendor fixed packages or stable commits.
Review distribution advisories for whether your kernel build includes the fix.
Check logs for related kernel warnings or J1939 session errors.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2023-52887 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.