PT-2024-8997 · Linux+9 · Linux Kernel+9
Dan Carpenter
·
Published
2024-05-30
·
Updated
2025-09-29
·
CVE-2024-36940
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
Linux kernel (affected versions not specified)
Description:
The issue is related to a double free error in the Linux kernel's pinctrl core. The "pctldev" struct is allocated in devm pinctrl register and init() and is a devm managed pointer that is freed by devm pinctrl dev release(). However, freeing it in pinctrl enable() will lead to a double free. The devm pinctrl dev release() function also frees the pindescs and destroys the mutex. This vulnerability may allow an attacker to cause a denial of service.
Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu