CVE-2024-36973

HIGH

Linux Kernel < 6.1.95 - Double Free

Title source: rule

Description

In the Linux kernel, the following vulnerability has been resolved: misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe() When auxiliary_device_add() returns error and then calls auxiliary_device_uninit(), callback function gp_auxiliary_device_release() calls ida_free() and kfree(aux_device_wrapper) to free memory. We should't call them again in the error handling path. Fix this by skipping the redundant cleanup functions.

Scores

CVSS v3 7.8
EPSS 0.0003
EPSS Percentile 7.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-415
Status published

Affected Products (7)

linux/linux_kernel < 6.1.95
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/Kernel < 6.1.95linux
linux/Kernel < 6.6.35linux
linux/Kernel < 6.9.6linux

Timeline

Published Jun 17, 2024
Tracked Since Feb 18, 2026