{"id":"CVE-2024-58078","published":"2025-03-06T16:13:41Z","modified":"2026-11-05T20:41:39Z","title":"misc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors\n\nmisc_minor_alloc was allocating id using ida for minor only in case of\nMISC_DYNAMIC_MINOR but misc_minor_free was always freeing ids\nusing ida_free causing a mismatch and following warn:\n> > WARNING: CPU: 0 PID: 159 at lib/idr.c:525 ida_free+0x3e0/0x41f\n> > ida_free called for id=127 which is not allocated.\n> > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n...\n> > [<60941eb4>] ida_free+0x3e0/0x41f\n> > [<605ac993>] misc_minor_free+0x3e/0xbc\n> > [<605acb82>] misc_deregister+0x171/0x1b3\n\nmisc_minor_alloc is changed to allocate id from ida for all minors\nfalling in the range of dynamic/ misc dynamic minors","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00284,"percentile":0.13494,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3df72111c39f7e4c5029c9ff720b56ec2e05b764","tags":[]},{"url":"https://git.kernel.org/stable/c/8b4120b3e060e137eaa8dc76a1c40401088336e5","tags":[]},{"url":"https://git.kernel.org/stable/c/6635332d246d7db89b90e145f2bf937406cecaf0","tags":[]},{"url":"https://git.kernel.org/stable/c/6d04d2b554b14ae6c428a9c60b6c85f1e5c89f68","tags":[]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":2.7}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ab760791c0cfbb1d7a668f46a135264f56c8f018, < 3df72111c39f7e4c5029c9ff720b56ec2e05b764",">= ab760791c0cfbb1d7a668f46a135264f56c8f018, < 8b4120b3e060e137eaa8dc76a1c40401088336e5",">= ab760791c0cfbb1d7a668f46a135264f56c8f018, < 6635332d246d7db89b90e145f2bf937406cecaf0",">= ab760791c0cfbb1d7a668f46a135264f56c8f018, < 6d04d2b554b14ae6c428a9c60b6c85f1e5c89f68"]},{"vendor":"Linux","product":"Linux","versions":["6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T20:33:33.682507Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-54021","exploited":false,"provenance":"source"}}