CVE-2023-52638: Vulnerability in linux-libc-dev package - Deadlock in j1939 codebase

linux Updated 02 Oct 2025

Summary

03/04/2024
No i
Medium
5.5

CVE-2023-52638: 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... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The linux-libc-dev package is a development package that provides the necessary C library headers and symbolic links for the Linux kernel. It is used to compile and build applications that interact with the kernel. The package is an essential component for developers working on Linux-based systems. However, a vulnerability has been identified in the package that can lead to a deadlock situation in the j1939 codebase.

Vulnerability Detail

The vulnerability in the linux-libc-dev package arises from a race condition between three locks: j1939_socks_lock, active_session_list_lock, and sk_session_queue_lock. This race condition can cause a deadlock, resulting in a system freeze or unresponsiveness. The j1939_socks_lock is currently a regular lock, but changing it to a read-write lock (rwlock) can prevent the circular lock dependency and avoid the deadlock. It is important to note that this fix addresses the deadlock situation but does not resolve the underlying unregister_netdevice bug reported by Syzbot.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

No specific workaround has been provided for this vulnerability. It is advised to apply the recommended fix by updating the linux-libc-dev package to the latest version.

Conclusion

The linux-libc-dev package is vulnerable to a deadlock situation in the j1939 codebase. To mitigate this vulnerability, it is crucial to update the package to version 6.1.90-1 or later. This update includes the necessary changes to prevent the deadlock. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The linux-libc-dev package provides C library headers and symbolic links for the Linux kernel. It is essential for compiling and building applications that interact with the kernel.

A deadlock is a situation where two or more processes are unable to proceed because each is waiting for the other to release a resource.

The j1939 codebase is a component in the Linux kernel that implements the J1939 protocol, which is used for communication between automotive electronic control units.

The vulnerability can lead to a deadlock situation, causing the system to freeze or become unresponsive. This can impact the overall stability and availability of the system.

No known exploits for this vulnerability have been reported at the moment.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback