CVE-2024-36959: Linux kernel · pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 5.4.0-1130.140~18.04.1 : update Linux kernel when convenient.
Data as of 6 Nov 2026, 15:19 UTC
- Patch
- Available – fixed in 5.4.0-1130.140~18.04.1, 5.4.0-1135.142~18.04.1, 5.4.0-1134.143~18.04.1 +73
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-6949-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6950-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6951-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6952-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6953-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6955-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6956-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6957-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6950-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6950-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6949-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6952-2 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-ibmpkg:deb/ubuntu/linux-ibm?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released in multiple Linux kernel versions including 5.4.0-1130.140~18.04.1 and later. Users should upgrade to these fixed versions or later to remediate the issue. No additional mitigation actions are required beyond applying the official kernel updates.
Description
CVE-2024-36959 is a medium severity vulnerability in the Linux kernel's pinctrl devicetree subsystem caused by a reference count leak in the pinctrl_dt_to_map() function. The issue occurs when allocation of a propname buffer fails, leading to improper reference count handling. This flaw has been fixed in multiple patched Linux kernel versions. No known exploits are reported in the wild.
References
- ubuntu.com/security/CVE-2024-36959 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-36959 (opens in a new tab)
- git.kernel.org/linus/a0cedbcc8852d6c77b00634b81e41f17f29d9404 (opens in a new tab)
- git.kernel.org/stable/c/06780473cb8a858d1d6cab2673e021b072a852d1 (opens in a new tab)
- git.kernel.org/stable/c/47d253c485491caaf70d8cd8c0248ae26e42581f (opens in a new tab)
- git.kernel.org/stable/c/35ab679e8bb5a81a4f922d3efbd43e32bce69274 (opens in a new tab)
- git.kernel.org/stable/c/76aa2440deb9a35507590f2c981a69a57ecd305d (opens in a new tab)
- git.kernel.org/stable/c/518d5ddafeb084d6d9b1773ed85164300037d0e6 (opens in a new tab)
- git.kernel.org/stable/c/026e24cf31733dbd97f41cc9bc5273ace428eeec (opens in a new tab)
- git.kernel.org/stable/c/c7e02ccc9fdc496fe51e440e3e66ac36509ca049 (opens in a new tab)
- git.kernel.org/stable/c/a0cedbcc8852d6c77b00634b81e41f17f29d9404 (opens in a new tab)
- ubuntu.com/security/notices/USN-6949-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6950-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6951-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6952-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6953-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6955-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6956-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6957-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6950-2 (opens in a new tab)