{"id":"CVE-2024-36959","title":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()\n\nIf we fail to allocate propname buffer, we need to drop the reference\ncount we just took","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()\n\nIf we fail to allocate propname buffer, we need to drop the reference\ncount we just took. Because the pin…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 4.9.334, < 4.10","linux_kernel >= 4.14.300, < 4.15","linux_kernel >= 4.19.267, < 4.19.314","linux_kernel >= 5.4.225, < 5.4.276","linux_kernel >= 5.10.156, < 5.10.217","linux_kernel >= 5.15.80, < 5.15.159","linux_kernel >= 6.0.10, < 6.1.91","linux_kernel >= 6.2, < 6.6.31","linux_kernel >= 6.7, < 6.8.10","linux_kernel = 6.9"],"patched":["linux_kernel 6.8.10"],"published":"2024-05-30","updated":"2026-10-15","sourceUpdated":"2026-10-15T01:18:26.573","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-36959","references":[{"url":"https://git.kernel.org/stable/c/026e24cf31733dbd97f41cc9bc5273ace428eeec","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/06780473cb8a858d1d6cab2673e021b072a852d1","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/35ab679e8bb5a81a4f922d3efbd43e32bce69274","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/47d253c485491caaf70d8cd8c0248ae26e42581f","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/518d5ddafeb084d6d9b1773ed85164300037d0e6","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/76aa2440deb9a35507590f2c981a69a57ecd305d","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a0cedbcc8852d6c77b00634b81e41f17f29d9404","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c7e02ccc9fdc496fe51e440e3e66ac36509ca049","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/026e24cf31733dbd97f41cc9bc5273ace428eeec","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/06780473cb8a858d1d6cab2673e021b072a852d1","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/35ab679e8bb5a81a4f922d3efbd43e32bce69274","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/47d253c485491caaf70d8cd8c0248ae26e42581f","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/518d5ddafeb084d6d9b1773ed85164300037d0e6","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/76aa2440deb9a35507590f2c981a69a57ecd305d","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/a0cedbcc8852d6c77b00634b81e41f17f29d9404","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/c7e02ccc9fdc496fe51e440e3e66ac36509ca049","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd","cve.org"],"epss":0.00252,"epssPercentile":0.16539,"ingestedAt":"2026-10-15T03:30:12.703Z","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:15:35.448800Z"},"slug":"CVE-2024-36959","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()\n\nIf we fail to allocate propname buffer, we need to drop the reference\ncount we just took. Because the pinctrl_dt_free_maps() includes the\ndroping operation, here we call it directly.\n\n## Affected\n\n- `linux_kernel >= 4.9.334, < 4.10`\n- `linux_kernel >= 4.14.300, < 4.15`\n- `linux_kernel >= 4.19.267, < 4.19.314`\n- `linux_kernel >= 5.4.225, < 5.4.276`\n- `linux_kernel >= 5.10.156, < 5.10.217`\n- `linux_kernel >= 5.15.80, < 5.15.159`\n- `linux_kernel >= 6.0.10, < 6.1.91`\n- `linux_kernel >= 6.2, < 6.6.31`\n- `linux_kernel >= 6.7, < 6.8.10`\n- `linux_kernel = 6.9`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.8.10`","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}