Deadlock Vulnerability in sa1100_set_termios() in Linux Kernel
Summary
GSD-2022-1004034: drivers: tty: serial: Fix deadlock in sa1100_set_termios(). Affects Kernel versions < 0976808d0d171ec837d4bd3e9f4ad4a00ab703b8. 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. The sa1100_set_termios() function is part of the tty (teletypewriter) subsystem in the kernel and is used for setting terminal I/O settings for serial devices. This vulnerability affects the Linux Kernel and specifically impacts the sa1100_set_termios() function.
Vulnerability Detail
The vulnerability in sa1100_set_termios() can lead to a deadlock situation. 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, the deadlock can occur when multiple processes attempt to set terminal I/O settings simultaneously, leading to a situation where none of the processes can proceed. This can result in a system freeze or unresponsiveness. The vulnerability has been identified and fixed in Linux Kernel version v4.9.318 by commit 0976808d0d171ec837d4bd3e9f4ad4a00ab703b8.
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 apply the fix by updating the Linux Kernel to the patched version.
Conclusion
The vulnerability in sa1100_set_termios() in the Linux Kernel can lead to a deadlock situation, causing system freeze or unresponsiveness. It is recommended to update the Linux Kernel to version v4.9.318 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a deadlock situation, causing system freeze or unresponsiveness.
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 Vulert will analyze it for any open-source vulnerabilities, including this one.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate the risk.
While it is technically possible to manually patch the affected function in the kernel source code, it is recommended to update the entire kernel to the fixed version. This ensures that all relevant fixes and improvements are applied.
You can find more information about the fix and the commit in the Linux Kernel repository. The specific commit can be viewed at: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0976808d0d171ec837d4bd3e9f4ad4a00ab703b8
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.