Deadlock Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003887: tty: fix deadlock caused by calling printk() under tty_port->lock. Affects Kernel versions >= b6da31b2c07c46f2dcad1d86caa835227a16d9ff, < 04ee31678c128a6cc7bb057ea189a8624ba5a314. 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 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 tty subsystem is responsible for managing input and output devices, such as serial ports and terminals. It provides an interface for applications to read from and write to these devices. The vulnerability arises from a deadlock situation that can occur when the printk() function is called under the tty_port->lock. This can lead to a system freeze or unresponsiveness, impacting the overall stability and availability of the system.

Vulnerability Detail

The identified vulnerability in the Linux Kernel is related to a deadlock caused by calling printk() under tty_port->lock. When this occurs, it can result in a system freeze or unresponsiveness. The vulnerability was introduced in version v4.18 of the Linux Kernel by commit b6da31b2c07c46f2dcad1d86caa835227a16d9ff and is fixed in version v4.19.247 by commit 04ee31678c128a6cc7bb057ea189a8624ba5a314.

The impact of this vulnerability can vary depending on the specific use case and environment. In some scenarios, it may be possible for an attacker to exploit this vulnerability to cause a denial-of-service (DoS) condition by triggering the deadlock. However, the attack plausibility and actual impact have not been proven at this time.

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.

Conclusion

In conclusion, the identified vulnerability in the Linux Kernel can lead to a deadlock situation when calling printk() under tty_port->lock. This can result in a system freeze or unresponsiveness, potentially impacting the availability of the system. It is recommended to update the Linux Kernel to version v4.19.247 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can vary depending on the specific use case and environment. In some scenarios, it may be possible for an attacker to exploit this vulnerability to cause a denial-of-service (DoS) condition by triggering the deadlock. However, the attack plausibility and actual impact have not been proven at this time.

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 and the Vulert Playground will analyze it for any open-source vulnerabilities, including this specific vulnerability in the Linux Kernel.

At this time, there is no known exploit for this vulnerability. However, it is always recommended to apply security updates promptly to mitigate any potential risks.

The primary mitigation for this vulnerability is to update the Linux Kernel to the fixed version. Additionally, it is recommended to follow security best practices, such as restricting access to vulnerable systems and implementing network segmentation to minimize the potential impact of any successful exploitation.

For more information about this vulnerability, you can refer to the source link provided in the database_specific section of this report (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003887.json). This link contains additional details and references related to the vulnerability.

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