vulnerability
Red Hat: CVE-2024-36940: kernel: pinctrl: core: delete incorrect free in pinctrl_enable() (Multiple Advisories)
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
1 | (AV:L/AC:L/Au:M/C:N/I:N/A:P) | 05/30/2024 | 08/12/2024 | 03/10/2025 |
Severity
1
CVSS
(AV:L/AC:L/Au:M/C:N/I:N/A:P)
Published
05/30/2024
Added
08/12/2024
Modified
03/10/2025
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.
Solution(s)
redhat-upgrade-kernelredhat-upgrade-kernel-rt

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.