Use-after-free vulnerability in dm_cleanup_zoned_dev() in Kernel

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001911: dm: fix use-after-free in dm_cleanup_zoned_dev(). Affects Kernel versions >= bb37d77239af25cde59693dbe3fac04dd17d7b29, < 0987f00a76a17aa7213da492c00ed9e5a6210c73. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel is a crucial component of the Linux operating system that manages the system's resources and facilitates communication between hardware and software. It provides essential functionality for various subsystems, including storage, networking, and device drivers. The dm (device-mapper) subsystem is responsible for creating virtual block devices by mapping physical block devices. The dm_cleanup_zoned_dev() function is part of the dm subsystem and is used to clean up resources associated with a zoned block device. A zoned block device is a type of storage device that divides its storage space into zones, each with specific characteristics and limitations.

Vulnerability Detail

The vulnerability identified as GSD-2022-1001911 is a use-after-free vulnerability in the dm_cleanup_zoned_dev() function. This vulnerability allows an attacker to exploit a freed memory region, potentially leading to a crash or arbitrary code execution. The use-after-free vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed. In this case, an attacker could manipulate the freed memory region to execute malicious code or cause a denial-of-service condition. The vulnerability was introduced in version v5.14 of the Linux Kernel and has been fixed in version v5.15.33.

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

As this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is strongly advised to update to the patched version to eliminate the risk of exploitation.

Conclusion

The use-after-free vulnerability in dm_cleanup_zoned_dev() in the Kernel can be mitigated by updating to version v5.15.33 or later. This update includes the necessary fix to address the vulnerability. It is crucial to keep systems up to date with the latest security patches to ensure the integrity and security of the Linux Kernel. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The use-after-free vulnerability in dm_cleanup_zoned_dev() could potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition. The impact depends on the attacker's ability to exploit the freed memory region and the privileges they possess.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, allowing you to assess the security of your software without requiring access to the code or installation.

There are no known instances of this vulnerability being exploited in the wild. However, it is crucial to apply the necessary updates to mitigate the risk of exploitation.

The specific conditions required for remote exploitation of this vulnerability are not mentioned in the available information. However, it is always recommended to keep systems up to date with the latest security patches to minimize the risk of remote exploitation.

For more details about this vulnerability, including technical specifics and the fix commit, you can refer to the vulnerability database entry at: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1001xxx/GSD-2022-1001911.json

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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