Vulnerability in Kernel: Fix the maximum minor value is blk_alloc_ext_minor()

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001428: block: Fix the maximum minor value is blk_alloc_ext_minor(). Affects Kernel versions >= 22ae8ce8b89241c94ac00c237752c0ffa37ba5ae, < 0f8cf8f5ccbad25ed6828875b222dbab29d5c272. 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 Kernel is a critical component of the Linux operating system that manages communication between hardware and software. It provides essential functions and services for the system's operation. This vulnerability affects the Kernel and specifically impacts the blk_alloc_ext_minor() function. This function is responsible for allocating minor numbers for block devices. The vulnerability allows for the allocation of an excessively large minor value, which can lead to various security issues.

Vulnerability Detail

The vulnerability arises from a flaw in the blk_alloc_ext_minor() function within the Kernel. By exploiting this flaw, an attacker could allocate a minor number that exceeds the maximum allowed value. This can result in several potential security risks, such as privilege escalation, denial of service, or information disclosure. The vulnerability was introduced in version v5.11 of the Linux Kernel and has been fixed in version v5.16.19.

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 known workaround for this vulnerability. It is essential to apply the provided fix by updating the Linux Kernel to the recommended version.

Conclusion

In conclusion, the vulnerability in the Kernel's blk_alloc_ext_minor() function allows for the allocation of an excessively large minor value, leading to potential security risks. To mitigate these risks, it is crucial to update the Linux Kernel to version v5.16.19 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially lead to privilege escalation, denial of service, or information disclosure.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities.

No, there is no known workaround for this vulnerability. It is crucial to update the Linux Kernel to the recommended version.

The vulnerability was introduced in version v5.11 of the Linux Kernel. All versions between v5.11 and v5.16.18 are affected.

You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) under ID GSD-2022-1001428.

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