Critical Vulnerability in Linux Kernel: Serial Port Locking Issue

linux Updated 02 Oct 2025

Summary

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

DEBIAN-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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of the Linux operating system, managing hardware and system resources. It provides essential services for all other parts of the system, including device drivers, system calls, and process management. The kernel is crucial for system stability and performance. This vulnerability affects the serial driver for the MAX3100 chip, which is used for serial communication in various devices. The issue arises from improper locking mechanisms when handling changes in the Clear to Send (CTS) signal, potentially leading to system instability.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the serial driver for the MAX3100 chip, specifically in the function uart_handle_cts_change(). This function must be called with the port lock taken to prevent race conditions. However, it is executed in a separate work queue, which may not have the lock taken at the time of execution. This oversight can lead to a system crash, as indicated by the warning message generated during operation. The vulnerability is critical as it can cause unexpected behavior in devices relying on the MAX3100 for serial communication.

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 available patches as soon as possible.

Conclusion

The vulnerability in the Linux kernel's serial driver for the MAX3100 chip poses a significant risk to system stability. It is crucial for users to update their systems to the patched versions to mitigate this risk. Regular monitoring for vulnerabilities is essential to ensure the security of your systems.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves improper locking in the serial driver for the MAX3100 chip, which can lead to system crashes.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software without requiring code access. Visit Vulert Scanner to check if your application is affected.

Failure to address this vulnerability may result in system instability, crashes, and potential data loss in devices utilizing the MAX3100 for serial communication.

Yes, the vulnerability affects specific versions of the Linux kernel across Debian 11, 12, 13, and 14. Ensure you upgrade to the patched versions.

It is recommended to regularly check for vulnerabilities and apply updates promptly to maintain system security and stability.

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