CVE-2024-36940

HIGH

Linux Kernel 4.11-6.8.9 Use-After-Free in pinctrl_enable

Title source: llm
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.0025
EPSS Percentile 15.7%
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 (28)
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 < 4.11
Linux/Linux 4.11
... and 18 more
Published May 30, 2024
Tracked Since Feb 18, 2026