Vulnerability in Linux Kernel: md/bitmap - Failed Sanity Check

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003392: md/bitmap: don't set sb values if can't pass sanity check. Affects Kernel versions < 27f672af28a8e9b783ff7f0eaf7ef2fbd5a2f4ba. 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 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 system resources, including memory, processes, and hardware devices. The md/bitmap module is responsible for managing bitmaps used in the Linux software RAID subsystem. It helps track the status of blocks in a RAID array. However, a vulnerability has been discovered in the md/bitmap module that could potentially lead to security issues.

Vulnerability Detail

The vulnerability in the md/bitmap module arises when certain sanity checks fail during the setting of superblock (sb) values. If these checks fail, the sb values should not be set. However, the code logic in the affected versions of the Linux Kernel allows the sb values to be set even when the sanity checks fail. This could lead to incorrect or inconsistent metadata, potentially resulting in data corruption or other security vulnerabilities. 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

There is no specific workaround mentioned for this vulnerability. Users are strongly encouraged to apply the fix by updating their Linux Kernel to the latest version.

Conclusion

The vulnerability in the Linux Kernel's md/bitmap module, which allowed the setting of superblock values without passing sanity checks, has been addressed in the latest version of the Linux Kernel. Users are advised to update their Linux Kernel to the fixed version to mitigate the potential security risks 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 Linux Kernel is an open-source operating system kernel that forms the core of various Linux distributions. It provides essential functionality for managing system resources and hardware devices.

The md/bitmap module is a component of the Linux software RAID subsystem. It is responsible for managing bitmaps used to track the status of blocks in a RAID array.

In the Linux Kernel, a superblock (sb) is a data structure that contains metadata about a filesystem or a block device. It provides information such as the size, type, and location of the filesystem or device.

The vulnerability could lead to data corruption or other security vulnerabilities due to incorrect or inconsistent metadata. However, the actual impact and attack plausibility have not been proven yet.

To fix this vulnerability, users should update their Linux Kernel to version v5.15.46 or later. Detailed instructions for updating the kernel can be found in the official Linux Kernel documentation.

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