CVE-2024-58078: misc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors

Published Mar 6, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

misc: miscminoralloc to use ida for all dynamic/misc dynamic minors

miscminoralloc was allocating id using ida for minor only in case of MISCDYNAMICMINOR but miscminorfree was always freeing ids using idafree causing a mismatch and following warn: > WARNING: CPU: 0 PID: 159 at lib/idr.c:525 idafree+0x3e0/0x41f > idafree called for id=127 which is not allocated. > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ... > [<60941eb4>] idafree+0x3e0/0x41f > [<605ac993>] miscminorfree+0x3e/0xbc > [<605acb82>] miscderegister+0x171/0x1b3

miscminoralloc is changed to allocate id from ida for all minors falling in the range of dynamic/ misc dynamic minors

Affected Software

10 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=6.2<6.6.78
Linux Linux kernel>=6.7<6.12.14
Linux Linux kernel>=6.13<6.13.3
debian/linux<6.12.15-1
6.12.15-1
debian/linux<6.12.15-1
6.12.15-1
linux/kernel>=6.2.0<6.6.78
6.6.78
linux/kernel>=6.7.0<6.12.14
6.12.14
linux/kernel>=6.13.0<6.13.3
6.13.3
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.15-1
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.78
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.14
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.13.3
  5. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.15-1

Event History

Mar 6, 2025
CVE Published
via MITRE·04:13 PM
Data Sourced
via MITRE·04:13 PM
Description
Data Sourced
via OSV·04:13 PM
DescriptionAffected Software
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·05:15 PM
Severity

Frequently Asked Questions

1

What is the severity of CVE-2024-58078?

CVE-2024-58078 has a severity rating that indicates a medium level of risk due to improper handling of dynamic minor IDs in the Linux kernel.

2

How do I fix CVE-2024-58078?

To mitigate CVE-2024-58078, update your Linux kernel to the latest patched version available.

3

Which versions of the Linux kernel are affected by CVE-2024-58078?

CVE-2024-58078 affects various versions of the Linux kernel prior to the fixes implemented in the latest updates.

4

What are the potential exploits of CVE-2024-58078?

Potential exploits of CVE-2024-58078 include unauthorized access or modifications due to the improper allocation and freeing of minor IDs.

5

Is CVE-2024-58078 relevant for all Linux systems?

CVE-2024-58078 is relevant for all systems running an affected version of the Linux kernel that utilizes dynamic minors.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203