Deadlock Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003764: tty: fix deadlock caused by calling printk() under tty_port->lock. Affects Kernel versions >= b6da31b2c07c46f2dcad1d86caa835227a16d9ff, < 3219ac364ac3d8d30771612a6010f1e0b7fa0a28. 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 is widely used in various devices, including servers, desktops, and embedded systems. The vulnerability identified in this report affects the Linux Kernel and specifically impacts the tty subsystem, which handles terminal devices. The vulnerability arises from a deadlock caused by calling printk() under tty_port->lock, leading to potential system instability and denial of service.

Vulnerability Detail

The vulnerability in the Linux Kernel arises from a deadlock situation that can occur when printk() is called under tty_port->lock. This can lead to a system deadlock, where multiple processes are unable to proceed due to a circular dependency on the tty_port->lock. An attacker could potentially exploit this vulnerability to cause a denial of service by triggering the deadlock condition. The vulnerability was introduced in version v4.18 of the Linux Kernel and has been fixed in version v5.4.198. It is recommended to update to the fixed version to mitigate the risk.

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

There is no specific workaround mentioned for this vulnerability. The recommended approach is to update the Linux Kernel to the fixed version.

Conclusion

In conclusion, a vulnerability has been identified in the Linux Kernel that can lead to a system deadlock when calling printk() under tty_port->lock. This vulnerability can be exploited to cause a denial of service. It is crucial to update the Linux Kernel to version v5.4.198 or later to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

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.

The tty subsystem in the Linux Kernel handles terminal devices, providing the necessary functionality for input and output operations.

A deadlock is a situation where multiple processes are unable to proceed because each is waiting for a resource that is held by another process in the deadlock cycle.

The vulnerability can lead to a system deadlock, causing system instability and denial of service.

To mitigate the risk, it is recommended to update the Linux Kernel to version v5.4.198 or later.

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