Vulnerability in mxser package: xmit_buf leak in activate when LSR == 0xff
Summary
GSD-2022-1002070: mxser: fix xmit_buf leak in activate when LSR == 0xff. Affects Kernel versions >= 6769140d304731f0a3b177470a2adb4bacd9036b, < 2cd05c38a27bee7fb42aa4d43174d68ac55dac0f. 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 mxser package is a component of the Linux Kernel, which is responsible for handling serial communication. It provides support for multiport serial devices. The vulnerability in question affects the activate function of the mxser package when the LSR (Line Status Register) is equal to 0xff. This vulnerability was introduced in version v2.6.33 of the Linux Kernel and has been fixed in version v5.10.110.
Vulnerability Detail
The vulnerability arises due to a memory leak in the xmit_buf function of the mxser package. When the LSR is set to 0xff, the activate function fails to release the memory allocated for the xmit_buf, leading to a resource leak. Although the impact and attack plausibility of this vulnerability have not been proven, it is essential to address it to prevent potential security risks.
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 mxser package in the Linux Kernel is vulnerable to a xmit_buf leak in the activate function when the LSR is set to 0xff. To address this vulnerability, it is crucial to update the Linux Kernel to version v5.10.110 or later. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The mxser package is a component of the Linux Kernel that handles serial communication and provides support for multiport serial devices.
The impact of this vulnerability is not yet proven, but it has the potential to result in resource leaks and may be exploitable for security attacks.
You can use Vulert's 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, including this one.
No specific workaround has been mentioned for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.
You can find more information about this vulnerability in the GSD-2022-1002070.json file available at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002070.json.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.