Memory Leak in Error Handling Path in tty: serial: 8250: serial_cs
Summary
GSD-2021-1001384: tty: serial: 8250: serial_cs: Fix a memory leak in error handling path. Affects Kernel versions < cddee5c287e26f6b2ba5c0ffdfc3a846f2f10461. 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, which is responsible for handling serial communication on systems. It provides support for serial devices using the 8250 UART controller. This vulnerability specifically affects the error handling path of the serial_cs module.
Vulnerability Detail
The vulnerability in tty: serial: 8250: serial_cs is related to a memory leak in the error handling path. When an error occurs during the execution of the serial_cs module, memory resources are not properly freed, leading to a memory leak. This can result in the gradual depletion of available memory, potentially causing system instability or denial of service. The vulnerability has been fixed in Linux Kernel version v4.19.198 by commit cddee5c287e26f6b2ba5c0ffdfc3a846f2f10461.
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 tty: serial: 8250: serial_cs package in the Linux Kernel is vulnerable to a memory leak in the error handling path. This vulnerability can be fixed by updating the Linux Kernel to version v4.19.198 or later. No specific workaround has been provided. 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 handles serial communication using the 8250 UART controller.
The vulnerability can lead to a memory leak, potentially causing system instability or denial of service.
To fix this vulnerability, update the Linux Kernel to version v4.19.198 or later.
No specific workaround has been mentioned for this vulnerability.
You can find more information about this vulnerability in the Open Source Vulnerability database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001384.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.