CVE-2024-36959
pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= a988dcd3dd9e691c5ccc3324b209688f3b5453e9, < 06780473cb8a858d1d6cab2673e021b072a852d1; >= 040f726fecd88121f3b95e70369785ad452dddf9, < 47d253c485491caaf70d8cd8c0248ae26e42581f; >= 777430aa4ddccaa5accec6db90ffc1d47f00d471, < 35ab679e8bb5a81a4f922d3efbd43e32bce69274; >= 97e5b508e96176f1a73888ed89df396d7041bfcb, < 76aa2440deb9a35507590f2c981a69a57ecd305d; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < 518d5ddafeb084d6d9b1773ed85164300037d0e6; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < 026e24cf31733dbd97f41cc9bc5273ace428eeec; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < c7e02ccc9fdc496fe51e440e3e66ac36509ca049; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < a0cedbcc8852d6c77b00634b81e41f17f29d9404; aaf552c5d53abe4659176e099575fe870d2e4768; b4d9f55cd38435358bc16d580612bc0d798d7b4c; …
- Anyone running Linux 6.1
Vulnerability facts
- Affected
- Linux >= a988dcd3dd9e691c5ccc3324b209688f3b5453e9, < 06780473cb8a858d1d6cab2673e021b072a852d1; >= 040f726fecd88121f3b95e70369785ad452dddf9, < 47d253c485491caaf70d8cd8c0248ae26e42581f; >= 777430aa4ddccaa5accec6db90ffc1d47f00d471, < 35ab679e8bb5a81a4f922d3efbd43e32bce69274; >= 97e5b508e96176f1a73888ed89df396d7041bfcb, < 76aa2440deb9a35507590f2c981a69a57ecd305d; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < 518d5ddafeb084d6d9b1773ed85164300037d0e6; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < 026e24cf31733dbd97f41cc9bc5273ace428eeec; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < c7e02ccc9fdc496fe51e440e3e66ac36509ca049; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < a0cedbcc8852d6c77b00634b81e41f17f29d9404; aaf552c5d53abe4659176e099575fe870d2e4768; b4d9f55cd38435358bc16d580612bc0d798d7b4c; …; Linux 6.1
- Fixed in
- Linux 06780473cb8a858d1d6cab2673e021b072a852d1, Linux 47d253c485491caaf70d8cd8c0248ae26e42581f, Linux 35ab679e8bb5a81a4f922d3efbd43e32bce69274, Linux 76aa2440deb9a35507590f2c981a69a57ecd305d, Linux 518d5ddafeb084d6d9b1773ed85164300037d0e6, Linux 026e24cf31733dbd97f41cc9bc5273ace428eeec
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a988dcd3dd9e691c5ccc3324b209688f3b5453e9, < 06780473cb8a858d1d6cab2673e021b072a852d1; >= 040f726fecd88121f3b95e70369785ad452dddf9, < 47d253c485491caaf70d8cd8c0248ae26e42581f; >= 777430aa4ddccaa5accec6db90ffc1d47f00d471, < 35ab679e8bb5a81a4f922d3efbd43e32bce69274; >= 97e5b508e96176f1a73888ed89df396d7041bfcb, < 76aa2440deb9a35507590f2c981a69a57ecd305d; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < 518d5ddafeb084d6d9b1773ed85164300037d0e6; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < 026e24cf31733dbd97f41cc9bc5273ace428eeec; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < c7e02ccc9fdc496fe51e440e3e66ac36509ca049; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < a0cedbcc8852d6c77b00634b81e41f17f29d9404; aaf552c5d53abe4659176e099575fe870d2e4768; b4d9f55cd38435358bc16d580612bc0d798d7b4c; … | — | cvelist |
| Linux | 6.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-36959. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-36959.md Affected: Linux >= a988dcd3dd9e691c5ccc3324b209688f3b5453e9, < 06780473cb8a858d1d6cab2673e021b072a852d1; >= 040f726fecd88121f3b95e70369785ad452dddf9, < 47d253c485491caaf70d8cd8c0248ae26e42581f; >= 777430aa4ddccaa5accec6db90ffc1d47f00d471, < 35ab679e8bb5a81a4f922d3efbd43e32bce69274; >= 97e5b508e96176f1a73888e… Fixed in: Linux 06780473cb8a858d1d6cab2673e021b072a852d1, Linux 47d253c485491caaf70d8cd8c0248ae26e42581f, Linux 35ab679e8bb5a81a4f922d3efbd43e32bce69274, Linux 76aa2440deb9a35507590f2c981a69a57ecd305d, Linux 518d5ddafeb084d6d9b1773ed85164300037d0e6, Linux 026e24cf31733dbd97f41cc9bc5273ace428eeec Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2024-36959 being exploited?
There is no confirmed exploitation: CVE-2024-36959 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-36959?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-36959?
Linux >= a988dcd3dd9e691c5ccc3324b209688f3b5453e9, < 06780473cb8a858d1d6cab2673e021b072a852d1; >= 040f726fecd88121f3b95e70369785ad452dddf9, < 47d253c485491caaf70d8cd8c0248ae26e42581f; >= 777430aa4ddccaa5accec6db90ffc1d47f00d471, < 35ab679e8bb5a81a4f922d3efbd43e32bce69274; >= 97e5b508e96176f1a73888ed89df396d7041bfcb, < 76aa2440deb9a35507590f2c981a69a57ecd305d; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < 518d5ddafeb084d6d9b1773ed85164300037d0e6; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < 026e24cf31733dbd97f41cc9bc5273ace428eeec; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < c7e02ccc9fdc496fe51e440e3e66ac36509ca049; >= 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, < a0cedbcc8852d6c77b00634b81e41f17f29d9404; aaf552c5d53abe4659176e099575fe870d2e4768; b4d9f55cd38435358bc16d580612bc0d798d7b4c; …; Linux 6.1.
Is there a fix for CVE-2024-36959?
Yes. Fixed in Linux 06780473cb8a858d1d6cab2673e021b072a852d1, Linux 47d253c485491caaf70d8cd8c0248ae26e42581f, Linux 35ab679e8bb5a81a4f922d3efbd43e32bce69274, Linux 76aa2440deb9a35507590f2c981a69a57ecd305d, Linux 518d5ddafeb084d6d9b1773ed85164300037d0e6, Linux 026e24cf31733dbd97f41cc9bc5273ace428eeec. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-36959?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.