Bugzilla – Bug 1225839
VUL-0: CVE-2024-36959: kernel: pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()
Last modified: 2024-06-13 13:54:20 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-36959 https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-36959.mbox https://git.kernel.org/stable/c/06780473cb8a858d1d6cab2673e021b072a852d1 https://git.kernel.org/stable/c/47d253c485491caaf70d8cd8c0248ae26e42581f https://git.kernel.org/stable/c/35ab679e8bb5a81a4f922d3efbd43e32bce69274 https://git.kernel.org/stable/c/76aa2440deb9a35507590f2c981a69a57ecd305d https://git.kernel.org/stable/c/518d5ddafeb084d6d9b1773ed85164300037d0e6 https://git.kernel.org/stable/c/026e24cf31733dbd97f41cc9bc5273ace428eeec https://git.kernel.org/stable/c/c7e02ccc9fdc496fe51e440e3e66ac36509ca049 https://git.kernel.org/stable/c/a0cedbcc8852d6c77b00634b81e41f17f29d9404 https://www.cve.org/CVERecord?id=CVE-2024-36959
The fix backport already present on SLE15-SP5 branch.