CVE-2023-52638
publishedcan: j1939: prevent deadlock by changing j1939_socks_lock to rwlock
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5b9272e93f2efe3f6cda60cc2c26817b2ce49386 to < 03358aba991668d3bb2c65b3c82aa32c36851170 · 5b9272e93f2efe3f6cda60cc2c26817b2ce49386 to < aedda066d717a0b4335d7e0a00b2e3a61e40afcf · 5b9272e93f2efe3f6cda60cc2c26817b2ce49386 to < 26dfe112ec2e95fe0099681f6aec33da13c2dd8e · 5b9272e93f2efe3f6cda60cc2c26817b2ce49386 to < 559b6322f9480bff68cfa98d108991e945a4f284 · 5b9272e93f2efe3f6cda60cc2c26817b2ce49386 to < 6cdedc18ba7b9dacc36466e27e3267d201948c8d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.149 through 5.15.* (unaffected · semver) · 6.1.79 through 6.1.* (unaffected · semver) · 6.6.18 through 6.6.* (unaffected · semver) · 6.7.6 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.26.1.el9_4 | ALSA-2024:4583 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.3.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 5.14.0-70.161.1.el9_0 | RHSA-2026:0576 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.3.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | python3-perfaarch64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | python3-perfx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | rtlax86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | rvx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock The following 3 locks would race against each other, causing the deadlock situation in the Syzbot bug report: - j1939_socks_lock - active_session_list_lock - sk_session_queue_lock A reasonable fix is to change j1939_socks_lock to an rwlock, since in the rare situations where a write lock is required for the linked list that j1939_socks_lock is protecting, the code does not attempt to acquire any more locks. This would break the circular lock dependency, where, for example, the current thread already locks j1939_socks_lock and attempts to acquire sk_session_queue_lock, and at the same time, another thread attempts to acquire j1939_socks_lock while holding sk_session_queue_lock. NOTE: This patch along does not fix the unregister_netdevice bug reported by Syzbot; instead, it solves a deadlock situation to prepare for one or more further patches to actually fix the Syzbot bug, which appears to be a reference counting problem within the j1939 codebase. [mkl: remove unrelated newline change]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5b9272e93f2efe3f6cda60cc2c26817b2ce49386 to < 03358aba991668d3bb2c65b3c82aa32c36851170 (affected · git)5b9272e93f2efe3f6cda60cc2c26817b2ce49386 to < aedda066d717a0b4335d7e0a00b2e3a61e40afcf (affected · git)5b9272e93f2efe3f6cda60cc2c26817b2ce49386 to < 26dfe112ec2e95fe0099681f6aec33da13c2dd8e (affected · git)5b9272e93f2efe3f6cda60cc2c26817b2ce49386 to < 559b6322f9480bff68cfa98d108991e945a4f284 (affected · git)5b9272e93f2efe3f6cda60cc2c26817b2ce49386 to < 6cdedc18ba7b9dacc36466e27e3267d201948c8d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.149 through 5.15.* (unaffected · semver)6.1.79 through 6.1.* (unaffected · semver)6.6.18 through 6.6.* (unaffected · semver)6.7.6 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/03358aba991668d3bb2c65b3c82aa32c36851170
- https://git.kernel.org/stable/c/26dfe112ec2e95fe0099681f6aec33da13c2dd8e
- https://git.kernel.org/stable/c/559b6322f9480bff68cfa98d108991e945a4f284
- https://git.kernel.org/stable/c/6cdedc18ba7b9dacc36466e27e3267d201948c8d
- https://git.kernel.org/stable/c/aedda066d717a0b4335d7e0a00b2e3a61e40afcf
Provider assertions
3Linux · cna
can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 06c348d68b4b7fb1173327f2a3ddc952031722ad0ca5f51c9f0f37f42fef8a0d
- Ingested
- 23 Sep 2026, 08:14:33 UTC
- Source record
- Official CVE record