Bug 2273082 (CVE-2023-52638) - CVE-2023-52638 kernel: can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock
Summary: CVE-2023-52638 kernel: can: j1939: prevent deadlock by changing j1939_socks_l...
Keywords:
Status: NEW
Alias: CVE-2023-52638
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2273083
Blocks: 2273079
TreeView+ depends on / blocked
 
Reported: 2024-04-03 22:02 UTC by Robb Gatica
Modified: 2024-09-19 22:30 UTC (History)
49 users (show)

Fixed In Version: kernel 5.15.149, kernel 6.1.79, kernel 6.6.18, kernel 6.7.6, kernel 6.8
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's Controller Area Network (CAN) protocol, within the J1939 protocol implementation. This issue occurs due to a potential deadlock caused by a race condition involving three locks: j1939_socks_lock, active_session_list_lock, and sk_session_queue_lock. This issue was identified in a Syzbot bug report.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:4691 0 None None None 2024-07-22 06:55:21 UTC
Red Hat Product Errata RHSA-2024:4533 0 None None None 2024-07-15 05:11:38 UTC
Red Hat Product Errata RHSA-2024:4554 0 None None None 2024-07-15 21:23:18 UTC
Red Hat Product Errata RHSA-2024:4583 0 None None None 2024-07-17 00:48:44 UTC

Description Robb Gatica 2024-04-03 22:02:22 UTC
In the Linux kernel, the following vulnerability has been resolved:

can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock

The Linux kernel CVE team has assigned CVE-2023-52638 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024040334-CVE-2023-52638-26a6@gregkh/T

Comment 1 Robb Gatica 2024-04-03 22:02:55 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2273083]

Comment 6 Alex 2024-06-09 15:11:25 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2023-52638 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags LOCK DEADLOCK INIT RACE  ; these flags parsed automatically based on patche data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.

Comment 11 errata-xmlrpc 2024-07-15 05:11:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:4533 https://access.redhat.com/errata/RHSA-2024:4533

Comment 12 errata-xmlrpc 2024-07-15 21:23:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:4554 https://access.redhat.com/errata/RHSA-2024:4554

Comment 13 errata-xmlrpc 2024-07-17 00:48:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:4583 https://access.redhat.com/errata/RHSA-2024:4583


Note You need to log in before you can comment on or make changes to this bug.