CVE-2026-74519pinctrl: devicetree: don't free uninitialized dev_name on error path
- 7.8HighCVSS base score
- 0.15%Exploitation in 30 daysEPSS · top 96% 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: devicetree: don't free uninitialized dev_name on error path dt_remember_or_free_map() duplicates dev_name for each map entry. If kstrdup_const() fails, dt_free_map() frees dev_name in all num_maps entries, including entries that have not been initialized. Some pinctrl drivers, including pinctrl-imx, allocate the map with kmalloc() and leave dev_name for the core to initialize. The untouched entries therefore contain uninitialized data which is passed to kfree_const(). Reproduced on qemu's mcimx6ul-evk (pinctrl-imx) with failslab injection while binding the pinctrl-consuming device, under KASAN: BUG: KASAN: double-free in dt_free_map+0x34/0xa4 Free of addr c425a900 by task init/1 kfree from dt_free_map+0x34/0xa4 dt_free_map from dt_remember_or_free_map+0x184/0x198 dt_remember_or_free_map from pinctrl_dt_to_map+0x33c/0x4c8 pinctrl_dt_to_map from create_pinctrl+0x9c/0x5c0 Initialize all dev_name fields to NULL before duplicating the device name, making the full-map cleanup safe after a partial failure.
Timeline
ID reserved
By Linux
Published
- 2 months later
· 2 months 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 · Received | 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.15% · top 96% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected be4c60b563edee3712d392aaeb0943a768df7023 – < e3cfb22bad363bebcfd55d909e12d499cb8c5490
- affected be4c60b563edee3712d392aaeb0943a768df7023 – < 1586423da2739a80871ef6240016fcb9c7339bfb
- affected be4c60b563edee3712d392aaeb0943a768df7023 – < dec5f0a8080502908dec5e35597c7ae07d533a3b
- affected be4c60b563edee3712d392aaeb0943a768df7023 – < 929f6396baade89999ec8a1281232c101cbc727d
- affected be4c60b563edee3712d392aaeb0943a768df7023 – < 321fe3584a8298386938130d138191aa35040b75
- affected be4c60b563edee3712d392aaeb0943a768df7023 – < ad0ad3c228b6f76fde10f32047e0ec5fbc109dc8
- affected be4c60b563edee3712d392aaeb0943a768df7023 – < 9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d
- affected be4c60b563edee3712d392aaeb0943a768df7023 – < 015b5bcbcb622b32317642be91a7f79aa5413649
- affected 03f69244302d7954f42f528ea2d45903ebbf59f3
- affected 77440c3a37203e3f4667d06e37f76ef3968d2d8c
- affected 679c4f27b8958b65bb51d1c3dfdbf3befe4a33a3
- affected f88ac1330779c5bfdd79f7d7f7d4d3343c782f92
- affected f739a699db7d5a5cf39ca3ce2c84e4fe4a8f4c5d
- affected 4.4.244 – < 4.5
- affected 4.9.244 – < 4.10
- affected 4.14.161 – < 4.15
- affected 4.19.92 – < 4.20
- affected 5.4.7 – < 5.5
- affected 5.5
- unaffected < 5.5
- unaffected 5.10.265 – ≤ 5.10.*
- unaffected 5.15.216 – ≤ 5.15.*
- unaffected 6.1.183 – ≤ 6.1.*
- unaffected 6.6.151 – ≤ 6.6.*
- unaffected 6.12.103 – ≤ 6.12.*
- unaffected 6.18.44 – ≤ 6.18.*
- unaffected 7.1.8 – ≤ 7.1.*
- unaffected 7.2 – ≤ *
References
References8
- https://git.kernel.org/stable/c/e3cfb22bad363bebcfd55d909e12d499cb8c5490 (opens in a new tab)
- https://git.kernel.org/stable/c/1586423da2739a80871ef6240016fcb9c7339bfb (opens in a new tab)
- https://git.kernel.org/stable/c/dec5f0a8080502908dec5e35597c7ae07d533a3b (opens in a new tab)
- https://git.kernel.org/stable/c/929f6396baade89999ec8a1281232c101cbc727d (opens in a new tab)
- https://git.kernel.org/stable/c/321fe3584a8298386938130d138191aa35040b75 (opens in a new tab)
- https://git.kernel.org/stable/c/ad0ad3c228b6f76fde10f32047e0ec5fbc109dc8 (opens in a new tab)
- https://git.kernel.org/stable/c/9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d (opens in a new tab)
- https://git.kernel.org/stable/c/015b5bcbcb622b32317642be91a7f79aa5413649 (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-2026-59712 (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-2026-74519)Record last updated .