Critical Vulnerability in Linux Kernel: Misc Minor Allocation Mismatch

linux Updated 02 Oct 2025

Summary

06/03/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-58078: In the Linux kernel, the following vulnerability has been resolved: misc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors misc_minor_alloc was allocating id using ida for minor only in case of MISC_DYNAMI... Affects linux versions < 6.12.15-1. Fixed in 6.12.15-1. 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 Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. This vulnerability affects the Linux kernel versions in Debian 13 and 14, specifically related to the allocation and deallocation of minor device IDs, which can lead to system warnings and potential instability.

Vulnerability Detail

In the Linux kernel, a vulnerability was identified in the misc_minor_alloc function, which was incorrectly allocating IDs using the ID allocator (ida) only for MISC_DYNAMIC_MINOR. However, the misc_minor_free function was freeing IDs using ida_free regardless of the allocation method, leading to a mismatch. This inconsistency could result in warnings during operation, such as 'ida_free called for id=127 which is not allocated.' This issue can potentially affect system stability and performance.

How To Fix

Minimum fixed version

6.12.15-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it is available.

Conclusion

The vulnerability in the Linux kernel regarding minor device ID allocation presents a significant risk to system stability. Users are advised to update to the patched version to ensure their systems remain secure and functional. Monitoring tools like Vulert can assist in identifying vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves a mismatch in the allocation and deallocation of minor device IDs in the Linux kernel, which can lead to system warnings and potential instability.

The affected versions are those prior to 6.12.15-1 in both Debian 13 and 14.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

If exploited, this vulnerability could lead to system warnings and instability, affecting the overall performance of the operating system.

While there are no specific workarounds available, it is crucial to apply the patch as soon as it is released to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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

Minimum fixed version

6.12.15-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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