NULL pointer dereference in serial: liteuart package
Summary
GSD-2021-1002580: serial: liteuart: Fix NULL pointer dereference in ->remove(). Affects Kernel versions >= 1da81e5562fac8286567422cc56a7fbd0dc646d4, < 189c99c629bbf85916c02c153f904649cc0a9d7f. 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 serial: liteuart package is a component of the Linux Kernel, which is responsible for handling serial communication. It provides functionality for UART (Universal Asynchronous Receiver-Transmitter) devices. UART is a common interface used for serial communication between devices. The package is widely used in Linux-based systems for various applications that require serial communication.
Vulnerability Detail
The vulnerability identified as GSD-2021-1002580 is a NULL pointer dereference issue in the serial: liteuart package. This vulnerability can be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code. The vulnerability occurs when the ->remove() function is called on a NULL pointer, leading to a crash or other unexpected behavior. This vulnerability was introduced in version v5.11 of the Linux Kernel and has been fixed in version v5.15.7.
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.
Conclusion
The NULL pointer dereference vulnerability in the serial: liteuart package can lead to a denial-of-service (DoS) condition or potential code execution. It is crucial to update the Linux Kernel to version v5.15.7 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can lead to a denial-of-service (DoS) condition or potentially allow an attacker to execute arbitrary code.
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 prevent any potential exploitation.
The recommended approach is to update the Linux Kernel to the fixed version. However, if updating is not immediately feasible, it is advised to follow best security practices such as restricting access to vulnerable systems and implementing network-level protections.
You can find more information about this vulnerability in the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and the Cloud Security Alliance GSD Database (https://github.com/cloudsecurityalliance/gsd-database).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.