Memory Leak in Error Handling Path in tty: serial: 8250: serial_cs
Summary
GSD-2021-1001336: tty: serial: 8250: serial_cs: Fix a memory leak in error handling path. Affects Kernel versions < ee16bed959862a6de2913f71a04cb563d7237b67. 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 tty: serial: 8250: serial_cs package is a component of the Linux Kernel that provides support for serial communication over the 8250 UART controller. It is responsible for managing serial devices connected to the system. This vulnerability specifically affects the error handling path of the serial_cs module, which can lead to a memory leak.
Vulnerability Detail
The vulnerability in the tty: serial: 8250: serial_cs package arises from a memory leak in the error handling path. When certain error conditions occur during the execution of the serial_cs module, memory resources are not properly released, resulting in a memory leak. This can lead to a gradual depletion of available memory, potentially causing system instability or denial of service. The vulnerability has been fixed in Linux Kernel version v5.4.134 by commit ee16bed959862a6de2913f71a04cb563d7237b67.
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 →
Conclusion
The memory leak vulnerability in the tty: serial: 8250: serial_cs package can be mitigated by updating the Linux Kernel to version v5.4.134 or later. This update ensures that memory resources are properly released, preventing the depletion of available memory. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
tty: serial: 8250: serial_cs is a component of the Linux Kernel that provides support for serial communication over the 8250 UART controller. It manages serial devices connected to the system.
A memory leak is a software bug where allocated memory is not properly released, leading to a gradual depletion of available memory resources.
The memory leak caused by this vulnerability can result in a gradual depletion of available memory, potentially leading to system instability or denial of service.
To fix this vulnerability, update the Linux Kernel to version v5.4.134 or later. Instructions for updating the kernel can be found in the official Linux Kernel repository.
No specific workaround has been provided for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.