Vulnerability in Linux Kernel: md: Don't set mddev private to NULL in raid0 pers->free

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback