CVE-2024-36940

HIGH

Linux Kernel < 4.19.314 - Double Free

Title source: rule
STIX 2.1

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 5.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-415
Status published
Products (10)
debian/debian_linux 10.0
linux/Kernel 4.11.0 - 4.19.314linux
linux/Kernel 4.20.0 - 5.4.276linux
linux/Kernel 5.11.0 - 5.15.159linux
linux/Kernel 5.16.0 - 6.1.91linux
linux/Kernel 5.5.0 - 5.10.217linux
linux/Kernel 6.2.0 - 6.6.31linux
linux/Kernel 6.7.0 - 6.8.10linux
linux/linux_kernel 6.9 rc1 (6 CPE variants)
linux/linux_kernel 4.11 - 4.19.314
Published May 30, 2024
Tracked Since Feb 18, 2026