Vulnerability in Linux Kernel: md: Don't set mddev private to NULL in raid0 pers->free
Summary
GSD-2022-1003295: md: Don't set mddev private to NULL in raid0 pers->free. Affects Kernel versions >= 00e3d58f50a875343124bcf5a9637520a492b0d1, < f63fd1e0e0fc158023cc67ea6a07e278019061ba. 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 Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for managing hardware resources, scheduling tasks, and facilitating communication between software and hardware components. The md (multiple devices) subsystem within the Linux Kernel enables the creation and management of software RAID (Redundant Array of Independent Disks) devices. RAID0 is a specific RAID level that combines multiple disks into a single logical unit to enhance performance. However, a vulnerability has been identified in the md subsystem's raid0 personality (pers->free) that could potentially lead to security issues.
Vulnerability Detail
The vulnerability arises from a flaw in the raid0 personality's handling of the mddev private field during the freeing process. In certain circumstances, the mddev private field is set to NULL, which can result in a use-after-free vulnerability. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in Linux Kernel version v5.15.17 and has been fixed in version v5.15.46.
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
No specific workaround has been provided for this vulnerability.
Conclusion
In conclusion, a vulnerability has been identified in the Linux Kernel's raid0 personality (pers->free) that could allow for arbitrary code execution or denial-of-service attacks. It is crucial to update the Linux Kernel to version v5.15.46 or later to mitigate this vulnerability. For further assistance or support in addressing this vulnerability, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition.
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 monitoring and alerts for open-source vulnerabilities.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the necessary updates to mitigate any potential risks.
The recommended mitigation is to update the Linux Kernel to version v5.15.46 or later, which includes the fix for this vulnerability.
The exact attack vector and remote exploitability of this vulnerability have not been determined. However, it is always advisable to apply security updates promptly to minimize potential risks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.