Deadlock Vulnerability in Linux Kernel
Summary
GSD-2022-1003577: tty: fix deadlock caused by calling printk() under tty_port->lock. Affects Kernel versions >= b6da31b2c07c46f2dcad1d86caa835227a16d9ff, < 9834b13e8b962caa28fbcf1f422dd82413da4ede. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 a critical piece of software that is widely used in various devices, from servers to smartphones. The vulnerability in question affects the tty subsystem of the Linux Kernel, which is responsible for handling terminal devices. The tty subsystem provides the interface for user input and output, including terminal emulators and serial ports.
Vulnerability Detail
The vulnerability arises from a deadlock caused by calling printk() under tty_port->lock. A deadlock occurs when two or more processes are unable to proceed because each is waiting for the other to release a resource. In this case, calling printk() while holding the tty_port->lock can lead to a deadlock situation. The impact and attack plausibility of this vulnerability have not been proven yet. However, if successfully exploited, it could result in system instability or denial of service.
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
The deadlock vulnerability in the Linux Kernel's tty subsystem can lead to system instability or denial of service if successfully exploited. It has been fixed in Linux Kernel version v5.10.121. Users are advised to update their Linux Kernel to the latest version to ensure their systems are protected. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is not yet proven, but if successfully exploited, it could lead to system instability or denial of service.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.
Yes, a patch has been released in Linux Kernel version v5.10.121. Users should update their Linux Kernel to the latest version to fix the vulnerability.
The remote exploitability of this vulnerability has not been determined yet. Further analysis is required to assess the potential for remote exploitation.
There are no known instances of this vulnerability being exploited at the moment. However, it is always recommended to apply security patches and keep the system up to date to mitigate potential risks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.