CVE-2023-52887

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

HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.67 % · percentile 52 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
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

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 9d71dd0c70099914fcd063135da3c580865e924c < ed581989d7ea9df6f8646beba2341e32cd49a1f9 ; affected 9d71dd0c70099914fcd063135da3c580865e924c < f6c839e717901dbd6b1c1ca807b6210222eb70f6 ; affected 9d71dd0c70099914fcd063135da3c580865e924c < 1762ca80c2b72dd1b5821c5e347713ae696276ea ; affected 9d71dd0c70099914fcd063135da3c580865e924c < 26b18dd30e63d4fd777be429148e8e4ed66f60b2 ; affected 9d71dd0c70099914fcd063135da3c580865e924c < 177e33b655d35d72866b50aec84307119dc5f3d4 ; affected 9d71dd0c70099914fcd063135da3c580865e924c < 0bc0a7416ea73f79f915c9a05ac0858dff65cfed
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 5.4.279 ≤ 5.4.* ; unaffected 5.10.221 ≤ 5.10.* ; unaffected 5.15.162 ≤ 5.15.* ; unaffected 6.1.97 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD