CVE-2024-58078

MEDIUM

Linux Kernel 6.2-6.6.77, 6.7.0-6.12.13, 6.13.0-6.13.2 - Use-After-Free in Misc Minor ID Allocation

Title source: llm
STIX 2.1

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

Scores

CVSS v3 5.5
EPSS 0.0017
EPSS Percentile 6.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (14)
linux/Kernel 6.13.0 - 6.13.3linux
linux/Kernel 6.2.0 - 6.6.78linux
linux/Kernel 6.7.0 - 6.12.14linux
Linux/Linux < 6.2
Linux/Linux 6.12.14 - 6.12.*
Linux/Linux 6.13.3 - 6.13.*
Linux/Linux 6.14
Linux/Linux 6.2
Linux/Linux 6.6.78 - 6.6.*
Linux/Linux ab760791c0cfbb1d7a668f46a135264f56c8f018 - 3df72111c39f7e4c5029c9ff720b56ec2e05b764
... and 4 more
Published Mar 06, 2025
Tracked Since Feb 18, 2026