UAF Vulnerability in Kernel package
Summary
GSD-2021-1002168: can: peak_pci: peak_pci_remove(): fix UAF. Affects Kernel versions >= e6d9c80b7ca1504411ad6d7acdb8683e4ae1c9cd, < 949fe9b35570361bc6ee2652f89a0561b26eec98. 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. It provides core functionalities and acts as an interface between the hardware and software layers. The package is responsible for managing system resources, including memory, processes, and device drivers. It plays a crucial role in ensuring the stability and security of the operating system.
Vulnerability Detail
The UAF (Use-After-Free) vulnerability in the Kernel package, specifically in the 'can: peak_pci: peak_pci_remove()' function, allows an attacker to exploit a use-after-free condition. This vulnerability can be triggered when a certain sequence of operations is performed, leading to the use of a freed memory object. An attacker with local access to the system could potentially execute arbitrary code or cause a denial-of-service (DoS) condition. The vulnerability was introduced in version v3.4 of the Kernel package and has been fixed in version v5.15.
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 known workaround for this vulnerability. It is essential to apply the fix by updating to a patched version of the Kernel package.
Conclusion
The UAF vulnerability in the Kernel package poses a potential security risk, allowing an attacker to execute arbitrary code or cause a denial-of-service condition. It is crucial to update to the latest version of the Kernel package (v5.15 or later) to mitigate this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The UAF vulnerability in the Kernel package can potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition. However, the actual impact may vary depending on the system configuration and the attacker's privileges.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) to the playground, and it will analyze and alert you in real-time if the vulnerability is detected.
At the time of this report, there are no known public exploits targeting this specific UAF vulnerability in the Kernel package. However, it is always recommended to apply security patches promptly to mitigate potential risks.
No, this vulnerability requires local access to the system to exploit. An attacker would need to have privileged access or be able to execute arbitrary code on the target system.
For more details about this vulnerability, including the specific code changes and commits that address it, you can refer to the vulnerability database entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002168.json.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.