Memory Leak in auxdisplay: lcd2s Package
Summary
GSD-2022-1000696: auxdisplay: lcd2s: Fix memory leak in ->remove(). Affects Kernel versions >= 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b, < 3585ed5f9b11a6094dd991d76a1541e5d03b986a. 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 auxdisplay: lcd2s package is a component of the Linux Kernel ecosystem. It provides support for auxiliary displays, specifically for the lcd2s device. This package allows users to connect and interact with LCD displays in various applications. However, a vulnerability has been discovered in the package that can lead to a memory leak issue.
Vulnerability Detail
The vulnerability in the auxdisplay: lcd2s package is related to a memory leak in the ->remove() function. When this function is called, it fails to release allocated memory properly, resulting in a memory leak. An attacker could potentially exploit this vulnerability to exhaust system memory resources, leading to denial of service or other adverse effects. The vulnerability was introduced in version v5.11 of the Linux Kernel and has been fixed in version v5.16.13.
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 available for this vulnerability. It is advised to apply the recommended fix by updating the Linux Kernel to the patched version.
Conclusion
The memory leak vulnerability in the auxdisplay: lcd2s package can be mitigated by updating the Linux Kernel to version v5.16.13 or later. It is important to apply this fix to prevent potential memory exhaustion and denial of service. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially lead to a memory leak, causing system resource exhaustion and possible denial of service.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground and it will provide real-time alerts for open-source vulnerabilities.
There is no known exploit for this vulnerability at the moment. However, it is crucial to apply the fix to prevent any potential exploitation.
It is recommended to update the Linux Kernel to the patched version rather than attempting manual patching. This ensures that all necessary fixes and dependencies are properly addressed.
You can refer to the vulnerability details in the GSD database at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000696.json for more information.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.