CVE-2023-52638: Linux kernel CAN J1939 socket-lock deadlock
- Vendor
- Linux
CVE-2023-52638 is a deadlock vulnerability in the Linux kernel CAN J1939 subsystem. Conflicting lock acquisition involving j1939_socks_lock, active_session_list_lock, and sk_session_queue_lock can form a circular lock dependency when concurrent threads acquire the locks in opposing orders. The upstream correction changes j1939_socks_lock to a read-write lock, preventing the circular dependency in the affected locking paths.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Concurrent CAN J1939 activity can cause affected kernel execution paths to deadlock, blocking progress in the involved subsystem and potentially causing a denial of service for dependent operations.
Mitigation
If you can’t patch tonight, do this now.
Where an updated kernel cannot immediately be installed, limit or disable use of the CAN J1939 subsystem and avoid concurrent J1939 socket/session operations that can exercise the conflicting lock acquisition paths. This is an operational workaround rather than a complete fix.
Remediation
Patch, then assume compromise.
Install a Linux kernel update containing the CAN J1939 locking fix that changes j1939_socks_lock to a read-write lock. On Red Hat Enterprise Linux, apply the applicable kernel or kernel-rt security update and reboot so the updated kernel takes effect.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-52638 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2023-52638 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-52638?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2023-52638.
- Is there a patch for CVE-2023-52638?
- Install a Linux kernel update containing the CAN J1939 locking fix that changes j1939_socks_lock to a read-write lock. On Red Hat Enterprise Linux, apply the applicable kernel or kernel-rt security update and reboot so the updated kernel takes effect.
- What products are affected by CVE-2023-52638?
- Linux Kernel.
- How severe is CVE-2023-52638?
- CVE-2023-52638 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.23% (8th percentile) as of Oct 16, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.