CVE-2024-36959

published 30 May 2024 · updated 17 Nov 2026

pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 06780473cb8a858d1d6cab2673e021b072a852d1, Kernel 5.10.217, Kernel 5.15.159 and 15 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=a988dcd3dd9e691c5ccc3324b209688f3b5453e9 <06780473cb8a858d1d6cab2673e021b072a852d1, >=5.10.156 <5.10.217, >=5.15.80 <5.15.159, >=5.4.225 <5.4.276, >=6.0.10 <6.1, >=777430aa4ddccaa5accec6db90ffc1d47f00d471 <35ab679e8bb5a81a4f922d3efbd43e32bce69274, >=91d5c5060ee24fe8da88cd585bb43b843d2f0dce <026e24cf31733dbd97f41cc9bc5273ace428eeec, >=91d5c5060ee24fe8da88cd585bb43b843d2f0dce <518d5ddafeb084d6d9b1773ed85164300037d0e6, >=91d5c5060ee24fe8da88cd585bb43b843d2f0dce <a0cedbcc8852d6c77b00634b81e41f17f29d9404, >=91d5c5060ee24fe8da88cd585bb43b843d2f0dce <c7e02ccc9fdc496fe51e440e3e66ac36509ca049, >=97e5b508e96176f1a73888ed89df396d7041bfcb <76aa2440deb9a35507590f2c981a69a57ecd305d, =5834a3a98cd266ad35a229923c0adbd0addc8d68, =6.1, =aaf552c5d53abe4659176e099575fe870d2e4768, =b4d9f55cd38435358bc16d580612bc0d798d7b4c, >=040f726fecd88121f3b95e70369785ad452dddf9 <47d253c485491caaf70d8cd8c0248ae26e42581f, >=4.14.300 <4.15, >=4.19.267 <4.19.314, >=4.9.334 <4.1006780473cb8a858d1d6cab2673e021b072a852d1, 5.10.217, 5.15.159, 5.4.276, 6.1, 35ab679e8bb5a81a4f922d3efbd43e32bce69274, 026e24cf31733dbd97f41cc9bc5273ace428eeec, 518d5ddafeb084d6d9b1773ed85164300037d0e6, a0cedbcc8852d6c77b00634b81e41f17f29d9404, c7e02ccc9fdc496fe51e440e3e66ac36509ca049, 76aa2440deb9a35507590f2c981a69a57ecd305d, 47d253c485491caaf70d8cd8c0248ae26e42581f, 4.15, 4.19.314, 4.10
linux-kernel: Kernel>=4.19.267 <4.19.314, >=4.9.334 <4.10, >=5.10.156 <5.10.217, >=5.15.80 <5.15.159, >=5.4.225 <5.4.276, >=6.0.10 <6.1, >=6.1.0 <6.1.91, >=6.2.0 <6.6.31, >=6.7.0 <6.8.10, >=4.14.300 <4.154.19.314, 4.10, 5.10.217, 5.15.159, 5.4.276, 6.1, 6.1.91, 6.6.31, 6.8.10, 4.15

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-36959 severity on Zeptric[![CVE-2024-36959](https://zeptric.io/badge/cve/CVE-2024-36959.svg)](https://zeptric.io/cve/CVE-2024-36959)