# CVE-2024-36959: pinctrl: devicetree: fix refcount leak in pinctrl\_dt\_to\_map()

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-30 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2024-36959, DEBIAN-CVE-2024-36959
- Record: https://cvemate.com/vulnerability/CVE-2024-36959 · JSON: https://cvemate.com/vulnerability/CVE-2024-36959/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.249%, percentile 17.4%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 131)

- debian linux (Debian): \< 6.1.94-1 \| \< 6.8.11-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-192.212 \| \< 5.15.0-118.128 \| \< 6.8.0-40.40
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1130.140 \| \< 5.15.0-1067.73 \| \< 6.8.0-1013.14
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1067.73~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1130.140~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1013.14~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1130.140+fips1 \| \< 5.15.0-1067.73+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1135.142 \| \< 5.15.0-1070.79 \| \< 6.8.0-1012.14
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 34)

- <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://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>
- <https://ubuntu.com/security/CVE-2024-36959>
- <https://www.cve.org/CVERecord?id=CVE-2024-36959>
- <https://git.kernel.org/linus/a0cedbcc8852d6c77b00634b81e41f17f29d9404>
- <https://ubuntu.com/security/notices/USN-6949-1>
- <https://ubuntu.com/security/notices/USN-6950-1>
- <https://ubuntu.com/security/notices/USN-6951-1>
- <https://ubuntu.com/security/notices/USN-6952-1>
- <https://ubuntu.com/security/notices/USN-6953-1>

---

Data as of 2026-12-05T04:59:28.860Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
