Vulnerability in dm package: Fix mempool NULL pointer race when completing IO

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002147: dm: fix mempool NULL pointer race when completing IO. Affects Kernel versions < d208b89401e073de986dc891037c5a668f5d5d95. 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 dm package is a component of the Linux Kernel, which is responsible for device-mapper functionality. Device-mapper is a framework that provides a generic way to create virtual block devices, such as encrypted volumes, RAID arrays, and snapshot devices. It is widely used in Linux distributions and provides essential functionality for various storage-related tasks. However, a vulnerability has been discovered in the dm package that can lead to a NULL pointer race condition when completing IO operations.

Vulnerability Detail

The vulnerability in the dm package arises due to a race condition involving a mempool and a NULL pointer. When completing IO operations, there is a possibility of a race condition occurring, where the mempool is accessed before it is properly initialized, resulting in a NULL pointer dereference. This vulnerability could potentially be exploited by an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code with kernel privileges. It is important to note that the impact and attack plausibility of this vulnerability have not yet been proven.

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.

Conclusion

The vulnerability in the dm package, which could lead to a NULL pointer race condition when completing IO operations, has been addressed in the Linux Kernel version v5.15. It is crucial to update the kernel to the fixed version to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The dm package is a component of the Linux Kernel that provides device-mapper functionality, allowing the creation of virtual block devices.

A NULL pointer race condition occurs when multiple threads or processes access a NULL pointer concurrently, leading to unpredictable behavior or crashes.

This vulnerability could potentially be exploited by an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code with kernel privileges.

No, the impact and attack plausibility of this vulnerability have not yet been proven.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15 or later.

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