CVE-2024-58078
misc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors
Reported by linux · Published March 6, 2025
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.13.3, 6.12.14, 6.6.78 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ab760791c0cfbb1d7a668f46a135264f56c8f018, ab760791c0cfbb1d7a668f46a135264f56c8f018, ab760791c0cfbb1d7a668f46a135264f56c8f018 |
| Linux | Linux | 6.2, 0, 6.6.78 |
| linux | linux_kernel | 6.2, 6.2, 6.2 |
| Linux | Linux | *, *, * |
Timeline
- Mar 6, 2025 CVE Published
- Mar 7, 2025 EPSS Score (30 in total, the first dated here)
- Mar 18, 2025 Coalition ESS Score (5 in total, the first dated here)
- Dec 29, 2025 Security Advisory (111 in total, the first dated here)
- Oct 20, 2026 Distribution Patch (110 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-58078
vulnetix vdb fixes CVE-2024-58078
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-58078/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart