# pinctrl: core: delete incorrect free in pinctrl_enable()

CVE record · `CVE-2024-36940`

- **Identifiers:** `CVE-2024-36940`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **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:29 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: `6118714275f0a313ecc296a87ed1af32d9691bed to before 735f4c6b6771eafe336404c157ca683ad72a040d` (git)
  - affected: `6118714275f0a313ecc296a87ed1af32d9691bed to before cdaa171473d98962ae86f2a663d398fda2fbeefd` (git)
  - affected: `6118714275f0a313ecc296a87ed1af32d9691bed to before 288bc4aa75f150d6f1ee82dd43c6da1b438b6068` (git)
  - affected: `6118714275f0a313ecc296a87ed1af32d9691bed to before 41f88ef8ba387a12f4a2b8c400b6c9e8e54b2cca` (git)
  - affected: `6118714275f0a313ecc296a87ed1af32d9691bed to before ac7d65795827dc0cf7662384ed27caf4066bd72e` (git)
  - affected: `6118714275f0a313ecc296a87ed1af32d9691bed to before 558c8039fdf596a584a92c171cbf3298919c448c` (git)
  - affected: `6118714275f0a313ecc296a87ed1af32d9691bed to before f9f1e321d53e4c5b666b66e5b43da29841fb55ba` (git)
  - affected: `6118714275f0a313ecc296a87ed1af32d9691bed to before 5038a66dad0199de60e5671603ea6623eb9e5c79` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.11`
  - unaffected: `before 4.11` (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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **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-36940](https://www.cve.org/CVERecord?id=CVE-2024-36940)
- [NVD: CVE-2024-36940](https://nvd.nist.gov/vuln/detail/CVE-2024-36940)

### References from the CNA

- <https://git.kernel.org/stable/c/735f4c6b6771eafe336404c157ca683ad72a040d>
- <https://git.kernel.org/stable/c/cdaa171473d98962ae86f2a663d398fda2fbeefd>
- <https://git.kernel.org/stable/c/288bc4aa75f150d6f1ee82dd43c6da1b438b6068>
- <https://git.kernel.org/stable/c/41f88ef8ba387a12f4a2b8c400b6c9e8e54b2cca>
- <https://git.kernel.org/stable/c/ac7d65795827dc0cf7662384ed27caf4066bd72e>
- <https://git.kernel.org/stable/c/558c8039fdf596a584a92c171cbf3298919c448c>
- <https://git.kernel.org/stable/c/f9f1e321d53e4c5b666b66e5b43da29841fb55ba>
- <https://git.kernel.org/stable/c/5038a66dad0199de60e5671603ea6623eb9e5c79>

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-36940>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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