What’s Vulnerable › Vulnerabilities

CVE-2024-36959: pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.10, 4.15, 4.19.314, 5.10.217. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-36959 or the next vulnerability affects your stack