Deadlock Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003474: drivers: tty: serial: Fix deadlock in sa1100_set_termios(). Affects Kernel versions < 6e2273eefab54a521d9c59efb6e1114e742bdf41. 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 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, responsible for managing system resources and providing an interface for applications to interact with the hardware. It consists of various subsystems, including the TTY (teletypewriter) subsystem, which handles terminal input and output. The TTY subsystem includes drivers for serial communication, such as the sa1100 driver. This vulnerability specifically affects the sa1100_set_termios() function in the serial driver, which is responsible for setting terminal I/O attributes for the sa1100 serial port.

Vulnerability Detail

The sa1100_set_termios() function in the sa1100 serial driver in the Linux Kernel is susceptible to a deadlock. This vulnerability can be triggered when multiple processes attempt to set terminal I/O attributes simultaneously. The deadlock occurs due to a race condition in the locking mechanism used by the function. An attacker could potentially exploit this vulnerability to cause a denial-of-service condition or disrupt the normal operation of the affected system. The vulnerability has been fixed in Linux Kernel version v5.10.122 by commit 6e2273eefab54a521d9c59efb6e1114e742bdf41.

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

As a workaround, users can avoid triggering the deadlock by ensuring that only one process at a time attempts to set terminal I/O attributes for the sa1100 serial port. This can be achieved by implementing proper synchronization mechanisms, such as using locks or semaphores, to serialize access to the sa1100_set_termios() function.

Conclusion

In conclusion, the Linux Kernel sa1100 serial driver is vulnerable to a deadlock issue in the sa1100_set_termios() function. This vulnerability can be mitigated by updating the Linux Kernel to version v5.10.122 or later. Alternatively, users can implement the suggested workaround to avoid triggering the deadlock. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can lead to a deadlock, causing a denial-of-service condition or disruption of normal system operation.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground and it will analyze the dependencies for any known vulnerabilities.

Yes, the vulnerability has been fixed in Linux Kernel version v5.10.122 by commit 6e2273eefab54a521d9c59efb6e1114e742bdf41.

Yes, you can implement the suggested workaround mentioned earlier to avoid triggering the deadlock.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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