Vulnerability in Kernel package: serial: rp2
Summary
GSD-2021-1000693: serial: rp2: use 'request_firmware' instead of 'request_firmware_nowait'. Affects Kernel versions < c697244ce940ec07e2d745ccb63ca97fc0266fbc. 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 Kernel package is a fundamental component of the Linux operating system, responsible for managing the system's core functionality. It provides essential services and interfaces for hardware communication, including serial communication. The 'serial: rp2' module within the Kernel package specifically handles serial communication for the Raspberry Pi 2 (rp2) platform. This vulnerability affects the 'serial: rp2' module and can potentially impact the security and stability of the system.
Vulnerability Detail
The vulnerability in the 'serial: rp2' module arises from the improper use of the 'request_firmware_nowait' function instead of the recommended 'request_firmware' function. This improper usage can lead to security vulnerabilities and instability in the system. Attackers may exploit this vulnerability to execute arbitrary code, escalate privileges, or cause denial-of-service conditions. The vulnerability was introduced in an unknown version and has been fixed in Linux Kernel version v4.9.271 by commit c697244ce940ec07e2d745ccb63ca97fc0266fbc.
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 Kernel package to the patched version.
Conclusion
The vulnerability in the 'serial: rp2' module of the Kernel package can pose significant security risks and system instability. It is crucial to update the Kernel package to the patched version to mitigate these risks. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially allow attackers to execute arbitrary code, escalate privileges, or cause denial-of-service conditions on systems using the affected 'serial: rp2' module.
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 the Vulert Playground will provide real-time alerts for open-source vulnerabilities, including this one.
The recommended approach is to update the Kernel package to the patched version. However, if updating is not immediately feasible, you can consider implementing additional security measures such as restricting access to the affected module or applying relevant system hardening techniques.
There are no known exploits for this vulnerability at the time of this report. However, it is crucial to apply the fix promptly to mitigate any potential risks.
You can refer to the Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) for more details about the fix and the vulnerability. Additionally, the vulnerability details are available in the GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000693.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.