CVE-2024-36940

HIGH

Linux Kernel < 4.19.314 - Double Free

Title source: rule

Description

In the Linux kernel, the following vulnerability has been resolved: pinctrl: core: delete incorrect free in pinctrl_enable() The "pctldev" struct is allocated in devm_pinctrl_register_and_init(). It's a devm_ managed pointer that is freed by devm_pinctrl_dev_release(), so freeing it in pinctrl_enable() will lead to a double free. The devm_pinctrl_dev_release() function frees the pindescs and destroys the mutex as well.

Scores

CVSS v3 7.8
EPSS 0.0002
EPSS Percentile 4.9%
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 (15)

linux/linux_kernel < 4.19.314
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
debian/debian_linux
linux/Kernel < 4.19.314linux
linux/Kernel < 5.4.276linux
linux/Kernel < 5.10.217linux
linux/Kernel < 5.15.159linux
linux/Kernel < 6.1.91linux
linux/Kernel < 6.6.31linux
linux/Kernel < 6.8.10linux

Timeline

Published May 30, 2024
Tracked Since Feb 18, 2026