CVE-2024-36959
kernel: pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 30, 2024
Updated · November 21, 2025
Description
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()
If we fail to allocate propname buffer, we need to drop the reference count we just took. Because the pinctrl_dt_free_maps() includes the droping operation, here we call it directly.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-402 · Transmission of Private Resources into a New Sphere ('Resource Leak')