Vulnerability in Kernel: dm stats - Looping Over Entries

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003432: dm stats: add cond_resched when looping over entries. Affects Kernel versions < 40aaeb41dde09939ff41ccb2e569c3d8e46c6b3a. 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 critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities for the proper functioning of the system. One of the components in the Kernel is dm stats, which is responsible for collecting and reporting statistics related to device mapper (dm) subsystem. The dm stats module allows users to monitor and analyze the performance of dm devices. However, a vulnerability has been identified in dm stats that could potentially be exploited by attackers.

Vulnerability Detail

The vulnerability in dm stats arises from a missing cond_resched call when looping over entries. This omission can lead to a denial of service (DoS) condition or other potential security issues. Attackers may be able to exploit this vulnerability to cause system instability, crash the system, or execute arbitrary code. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.15.45 by commit 40aaeb41dde09939ff41ccb2e569c3d8e46c6b3a.

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. The recommended approach is to update the Kernel to the fixed version.

Conclusion

The vulnerability in dm stats, which is part of the Kernel, can potentially lead to system instability, crashes, or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.15.45 or later to mitigate the risk associated with this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software.

dm stats is a component in the Kernel responsible for collecting and reporting statistics related to device mapper (dm) subsystem.

The impact of this vulnerability can range from a denial of service (DoS) condition to potential security issues, including system instability, crashes, or arbitrary code execution.

Yes, this vulnerability has been fixed in Linux Kernel version v5.15.45 by commit 40aaeb41dde09939ff41ccb2e569c3d8e46c6b3a.

To mitigate the risk, it is recommended to update the Linux Kernel to version v5.15.45 or later by applying the commit 40aaeb41dde09939ff41ccb2e569c3d8e46c6b3a.

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