Vulnerability in dm era package: Commit Metadata in Postsuspend After Worker Stops

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004479: dm era: commit metadata in postsuspend after worker stops. Affects Kernel versions >= eec40579d84873dfb7021eb24c50360f073237c5, < ac0a5f701f4d5549e494bc36276aebb7dc480dab. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The dm era package is a component of the Linux Kernel, which is responsible for managing the Device Mapper (DM) subsystem. The DM subsystem provides a framework for creating virtual block devices, such as logical volumes and RAID arrays, with various features and functionalities. The era module within the DM subsystem is used for managing the era (Erase-After-Write) device, which is a type of device that supports secure erasure of data. This vulnerability specifically affects the commit metadata process in the era module after the worker stops.

Vulnerability Detail

The vulnerability arises from a flaw in the dm era package, where the commit metadata process is executed in the postsuspend phase after the worker has already stopped. This can lead to inconsistent or incomplete metadata being committed, potentially resulting in data corruption or loss. An attacker could potentially exploit this vulnerability to manipulate or tamper with the metadata, leading to unauthorized access or data integrity issues. It is important to note that the impact and attack plausibility of this vulnerability have not been proven yet.

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 a workaround, users can avoid the vulnerability by manually ensuring that the worker has stopped before executing the commit metadata process in the postsuspend phase. This can be achieved by monitoring the worker status and delaying the commit metadata process until the worker has completely stopped. Here is an example code snippet in Python:

import time

# Check worker status
while worker_status != 'stopped':
    time.sleep(1)

# Execute commit metadata process
commit_metadata()

Conclusion

In conclusion, the dm era package in the Linux Kernel is vulnerable to a flaw in the commit metadata process after the worker stops. This vulnerability can potentially lead to data corruption or loss. It is recommended to update the Kernel to the latest version to fix this vulnerability. If you require further support or assistance in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The dm era package is a component of the Linux Kernel's Device Mapper subsystem, responsible for managing era (Erase-After-Write) devices that support secure erasure of data.

The vulnerability could potentially lead to data corruption or loss due to inconsistent or incomplete commit metadata in the dm era package.

The vulnerability can be fixed by updating the Linux Kernel to version v5.15.51 or later, which includes the necessary fix for the dm era package.

Yes, a workaround is to manually ensure that the worker has stopped before executing the commit metadata process in the postsuspend phase.

There is currently no evidence of this vulnerability being actively exploited in the wild.

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