CVE-2024-58078
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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_DYNAMIC_MINOR but misc_minor_free was always freeing ids using ida_free causing a mismatch and following warn: > > WARNING: CPU: 0 PID: 159 at lib/idr.c:525 ida_free+0x3e0/0x41f > > ida_free called for id=127 which is not allocated. > > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ... > > [<60941eb4>] ida_free+0x3e0/0x41f > > [<605ac993>] misc_minor_free+0x3e/0xbc > > [<605acb82>] misc_deregister+0x171/0x1b3 misc_minor_alloc is changed to allocate id from ida for all minors falling in the range of dynamic/ misc dynamic minors

Affected

Product or packageVersionsReported by
Linux Linuxfrom ab760791c0cfbb1d7a668f46a135264f56c8f018 before 3df72111c39f7e4c5029c9ff720b56ec2e05b764, from ab760791c0cfbb1d7a668f46a135264f56c8f018 before 8b4120b3e060e137eaa8dc76a1c40401088336e5, from ab760791c0cfbb1d7a668f46a135264f56c8f018 before 6635332d246d7db89b90e145f2bf937406cecaf0, from ab760791c0cfbb1d7a668f46a135264f56c8f018 before 6d04d2b554b14ae6c428a9c60b6c85f1e5c89f68, 6.2
Not affected: before 6.2, from 6.6.78 up to 6.6.*, from 6.12.14 up to 6.12.*, from 6.13.3 up to 6.13.*, from 6.14 up to *
CVE List
linux linux_kernelfrom 6.2 before 6.6.78, from 6.7 before 6.12.14, from 6.13 before 6.13.3NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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_DYNAMIC_MINOR but misc_minor_free was always freeing ids using ida_free causing a mismatch and following warn: > > WARNING: CPU: 0 PID: 159 at lib/idr.c:525 ida_free+0x3e0/0x41f > > ida_free called for id=127 which is not allocated. > > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ... > > [<60941eb4>] ida_free+0x3e0/0x41f > > [<605ac993>] misc_minor_free+0x3e/0xbc > > [<605acb82>] misc_deregister+0x171/0x1b3 misc_minor_alloc is changed to allocate id from ida for all minors falling in the range of dynamic/ misc dynamic minors

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: misc: misc_minor_alloc para usar ida para todos los menores dinámicos/misc dinámicos misc_minor_alloc asignaba id usando ida para menores solo en el caso de MISC_DYNAMIC_MINOR pero misc_minor_free siempre liberaba id usando ida_free, lo que causaba una falta de coincidencia y la siguiente advertencia: &gt; &gt; WARNING: CPU: 0 PID: 159 at lib/idr.c:525 ida_free+0x3e0/0x41f &gt; &gt; ida_free called for id=127 which is not allocated. &gt; &gt; &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; ... &gt; &gt; [&lt;60941eb4&gt;] ida_free+0x3e0/0x41f &gt; &gt; [&lt;605ac993&gt;] misc_minor_free+0x3e/0xbc &gt; &gt; [&lt;605acb82&gt;] misc_deregister+0x171/0x1b3 misc_minor_alloc Se cambió misc_minor_alloc para asignar id de ida para todos los menores que caen en el rango de menores dinámicos/misc dinámicos

References

Sources

SourceRecordLicence
CVE ListCVE-2024-58078 changed 2026-11-05CVE Terms of Use
NVDCVE-2024-58078 changed 2026-11-05Public domain