CVE-2023-52887CWE-617

CVE-2023-52887

High · published July 29, 2024

CVSS v3.1
7.5
EPSS
1%
Percentile
51.4
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00670 · 51.4th percentile
Weakness
CWE-617 · Reachable Assertion
Published
2024-07-29T20:15Z
Affected products (11)
ProductVersionsFixed in
linux/linux_kernel≥ 5.4, < 5.4.2795.4.279
linux/linux_kernel≥ 5.5, < 5.10.2215.10.221
linux/linux_kernel≥ 5.11, < 5.15.1625.15.162
linux/linux_kernel≥ 5.16, < 6.1.976.1.97
linux/linux_kernel≥ 6.2, < 6.6.376.6.37
linux/linux_kernel≥ 6.7, < 6.9.86.9.8
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (15)
https://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 29 JUL 15:52Z
    net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new
    cvelistv5