# pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()

CVE record · `CVE-2024-36959`

- **Identifiers:** `CVE-2024-36959`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 30 May 2024
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 30 May 2024, 15:35 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `a988dcd3dd9e691c5ccc3324b209688f3b5453e9 to before 06780473cb8a858d1d6cab2673e021b072a852d1` (git)
  - affected: `040f726fecd88121f3b95e70369785ad452dddf9 to before 47d253c485491caaf70d8cd8c0248ae26e42581f` (git)
  - affected: `777430aa4ddccaa5accec6db90ffc1d47f00d471 to before 35ab679e8bb5a81a4f922d3efbd43e32bce69274` (git)
  - affected: `97e5b508e96176f1a73888ed89df396d7041bfcb to before 76aa2440deb9a35507590f2c981a69a57ecd305d` (git)
  - affected: `91d5c5060ee24fe8da88cd585bb43b843d2f0dce to before 518d5ddafeb084d6d9b1773ed85164300037d0e6` (git)
  - affected: `91d5c5060ee24fe8da88cd585bb43b843d2f0dce to before 026e24cf31733dbd97f41cc9bc5273ace428eeec` (git)
  - affected: `91d5c5060ee24fe8da88cd585bb43b843d2f0dce to before c7e02ccc9fdc496fe51e440e3e66ac36509ca049` (git)
  - affected: `91d5c5060ee24fe8da88cd585bb43b843d2f0dce to before a0cedbcc8852d6c77b00634b81e41f17f29d9404` (git)
  - affected: `aaf552c5d53abe4659176e099575fe870d2e4768` (git)
  - affected: `b4d9f55cd38435358bc16d580612bc0d798d7b4c` (git)
  - affected: `5834a3a98cd266ad35a229923c0adbd0addc8d68` (git)
  - affected: `4.19.267 to before 4.19.314` (semver)
  - and 6 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.1`
  - unaffected: `before 6.1` (semver)
  - unaffected: `4.19.314 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.276 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.217 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.159 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.91 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.31 to 6.6.*, inclusive` (semver)
  - unaffected: `6.8.10 to 6.8.*, inclusive` (semver)
  - unaffected: `6.9 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0025, the 16th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 30 May 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-36959](https://www.cve.org/CVERecord?id=CVE-2024-36959)
- [NVD: CVE-2024-36959](https://nvd.nist.gov/vuln/detail/CVE-2024-36959)

### References from the CNA

- <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>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-36959>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-36959/>. Everything for agents: <https://agentprime.io/llms.txt>.
