CVE-2024-36940pinctrl: core: delete incorrect free in pinctrl_enable()
- 7.8HighCVSS base score
- 0.25%Exploitation in 30 daysEPSS · top 84% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: pinctrl: core: delete incorrect free in pinctrl_enable() The "pctldev" struct is allocated in devm_pinctrl_register_and_init(). It's a devm_ managed pointer that is freed by devm_pinctrl_dev_release(), so freeing it in pinctrl_enable() will lead to a double free. The devm_pinctrl_dev_release() function frees the pindescs and destroys the mutex as well.
Timeline
ID reserved
By Linux
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 84% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 6118714275f0a313ecc296a87ed1af32d9691bed – < 735f4c6b6771eafe336404c157ca683ad72a040d
- affected 6118714275f0a313ecc296a87ed1af32d9691bed – < cdaa171473d98962ae86f2a663d398fda2fbeefd
- affected 6118714275f0a313ecc296a87ed1af32d9691bed – < 288bc4aa75f150d6f1ee82dd43c6da1b438b6068
- affected 6118714275f0a313ecc296a87ed1af32d9691bed – < 41f88ef8ba387a12f4a2b8c400b6c9e8e54b2cca
- affected 6118714275f0a313ecc296a87ed1af32d9691bed – < ac7d65795827dc0cf7662384ed27caf4066bd72e
- affected 6118714275f0a313ecc296a87ed1af32d9691bed – < 558c8039fdf596a584a92c171cbf3298919c448c
- affected 6118714275f0a313ecc296a87ed1af32d9691bed – < f9f1e321d53e4c5b666b66e5b43da29841fb55ba
- affected 6118714275f0a313ecc296a87ed1af32d9691bed – < 5038a66dad0199de60e5671603ea6623eb9e5c79
- affected 4.11
- unaffected < 4.11
- unaffected 4.19.314 – ≤ 4.19.*
- unaffected 5.4.276 – ≤ 5.4.*
- unaffected 5.10.217 – ≤ 5.10.*
- unaffected 5.15.159 – ≤ 5.15.*
- unaffected 6.1.91 – ≤ 6.1.*
- unaffected 6.6.31 – ≤ 6.6.*
- unaffected 6.8.10 – ≤ 6.8.*
- unaffected 6.9 – ≤ *
References
References12
- https://git.kernel.org/stable/c/735f4c6b6771eafe336404c157ca683ad72a040d (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/cdaa171473d98962ae86f2a663d398fda2fbeefd (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/288bc4aa75f150d6f1ee82dd43c6da1b438b6068 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/41f88ef8ba387a12f4a2b8c400b6c9e8e54b2cca (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/ac7d65795827dc0cf7662384ed27caf4066bd72e (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/558c8039fdf596a584a92c171cbf3298919c448c (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/f9f1e321d53e4c5b666b66e5b43da29841fb55ba (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/5038a66dad0199de60e5671603ea6623eb9e5c79 (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-36290 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-36940)Record last updated .