Critical Locking Issue in Linux Kernel's MAX3100 Driver

linux Updated 02 Oct 2025

Summary

21/06/2024
N/A
Yes i
Unrated
Not published

CVE-2024-38634: In the Linux kernel, the following vulnerability has been resolved: serial: max3100: Lock port->lock when calling uart_handle_cts_change() uart_handle_cts_change() has to be called with port lock taken, Since we run it i... Affects linux versions < 5.10.221-1. Fixed in 5.10.221-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It manages hardware resources and provides essential services for software applications. The MAX3100 driver is a serial communication driver within the Linux kernel that facilitates communication with MAX3100 UART devices. This driver is crucial for ensuring reliable data transmission and reception. However, it has been identified to have a vulnerability that can lead to system instability and potential crashes.

Vulnerability Detail

In the Linux kernel, specifically within the MAX3100 driver, there exists a vulnerability related to the handling of the Clear To Send (CTS) signal. The function uart_handle_cts_change() must be executed with the port lock taken to ensure thread safety. However, due to its execution in a separate work queue, the lock may not be held at the time of invocation, leading to a race condition. This oversight can result in a system warning and potential crashes, as indicated by the warning message generated during operation. The lack of proper locking mechanisms can compromise system stability and data integrity.

How To Fix

Minimum fixed version

5.10.221-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the kernel updates as outlined in the 'how_to_fix' section.

Conclusion

The CVE-2024-38634 vulnerability in the Linux kernel's MAX3100 driver poses a significant risk to system stability due to improper locking during signal handling. Users are strongly encouraged to update their kernel to the latest versions to mitigate this risk. Utilizing tools like Vulert can help monitor and identify vulnerabilities in your software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-38634 is a vulnerability in the Linux kernel's MAX3100 driver that can lead to system instability due to improper locking mechanisms during the handling of the CTS signal.

You can use Vulert, which monitors open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected by CVE-2024-38634 without requiring any installation.

The vulnerability can lead to system warnings and potential crashes, affecting the stability and reliability of applications relying on the MAX3100 driver.

Yes, patches are available in the updated versions of the Linux kernel. Users should upgrade to the specified versions to mitigate the risk.

While there are no specific workarounds, it is advisable to monitor your system for unusual behavior and plan for an update as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.10.221-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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