# CVE-2026-74519: pinctrl: devicetree: don't free uninitialized dev\_name on error path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-28)
- **Published:** 2026-08-15T12:27:38.101Z
- **Modified:** 2026-10-16T20:17:34.613Z

## Who should check

- Anyone running Linux \>= be4c60b563edee3712d392aaeb0943a768df7023, \< e3cfb22bad363bebcfd55d909e12d499cb8c5490; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 1586423da2739a80871ef6240016fcb9c7339bfb; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< dec5f0a8080502908dec5e35597c7ae07d533a3b; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 929f6396baade89999ec8a1281232c101cbc727d; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 321fe3584a8298386938130d138191aa35040b75; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< ad0ad3c228b6f76fde10f32047e0ec5fbc109dc8; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 015b5bcbcb622b32317642be91a7f79aa5413649; 03f69244302d7954f42f528ea2d45903ebbf59f3; 77440c3a37203e3f4667d06e37f76ef3968d2d8c; …
- Anyone running Linux 5.5

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

## Affected and fixed versions

- Linux: \>= be4c60b563edee3712d392aaeb0943a768df7023, \< e3cfb22bad363bebcfd55d909e12d499cb8c5490; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 1586423da2739a80871ef6240016fcb9c7339bfb; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< dec5f0a8080502908dec5e35597c7ae07d533a3b; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 929f6396baade89999ec8a1281232c101cbc727d; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 321fe3584a8298386938130d138191aa35040b75; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< ad0ad3c228b6f76fde10f32047e0ec5fbc109dc8; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 015b5bcbcb622b32317642be91a7f79aa5413649; 03f69244302d7954f42f528ea2d45903ebbf59f3; 77440c3a37203e3f4667d06e37f76ef3968d2d8c; … (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74519. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74519.md
Affected: Linux >= be4c60b563edee3712d392aaeb0943a768df7023, < e3cfb22bad363bebcfd55d909e12d499cb8c5490; >= be4c60b563edee3712d392aaeb0943a768df7023, < 1586423da2739a80871ef6240016fcb9c7339bfb; >= be4c60b563edee3712d392aaeb0943a768df7023, < dec5f0a8080502908dec5e35597c7ae07d533a3b; >= be4c60b563edee3712d392a…
Fixed in: Linux 1586423da2739a80871ef6240016fcb9c7339bfb, Linux 929f6396baade89999ec8a1281232c101cbc727d, Linux 321fe3584a8298386938130d138191aa35040b75, Linux 9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d, Linux 015b5bcbcb622b32317642be91a7f79aa5413649

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

## FAQ

### Is CVE-2026-74519 being exploited?

There is no confirmed exploitation: CVE-2026-74519 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-74519?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74519?

Linux \>= be4c60b563edee3712d392aaeb0943a768df7023, \< e3cfb22bad363bebcfd55d909e12d499cb8c5490; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 1586423da2739a80871ef6240016fcb9c7339bfb; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< dec5f0a8080502908dec5e35597c7ae07d533a3b; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 929f6396baade89999ec8a1281232c101cbc727d; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 321fe3584a8298386938130d138191aa35040b75; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< ad0ad3c228b6f76fde10f32047e0ec5fbc109dc8; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d; \>= be4c60b563edee3712d392aaeb0943a768df7023, \< 015b5bcbcb622b32317642be91a7f79aa5413649; 03f69244302d7954f42f528ea2d45903ebbf59f3; 77440c3a37203e3f4667d06e37f76ef3968d2d8c; …; Linux 5.5.

### Is there a fix for CVE-2026-74519?

Yes. Fixed in Linux 1586423da2739a80871ef6240016fcb9c7339bfb, Linux 929f6396baade89999ec8a1281232c101cbc727d, Linux 321fe3584a8298386938130d138191aa35040b75, Linux 9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d, Linux 015b5bcbcb622b32317642be91a7f79aa5413649. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74519?

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.

## References

- other: <https://git.kernel.org/stable/c/e3cfb22bad363bebcfd55d909e12d499cb8c5490>
- other: <https://git.kernel.org/stable/c/1586423da2739a80871ef6240016fcb9c7339bfb>
- other: <https://git.kernel.org/stable/c/dec5f0a8080502908dec5e35597c7ae07d533a3b>
- other: <https://git.kernel.org/stable/c/929f6396baade89999ec8a1281232c101cbc727d>
- other: <https://git.kernel.org/stable/c/321fe3584a8298386938130d138191aa35040b75>
- other: <https://git.kernel.org/stable/c/ad0ad3c228b6f76fde10f32047e0ec5fbc109dc8>
- other: <https://git.kernel.org/stable/c/9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d>
- other: <https://git.kernel.org/stable/c/015b5bcbcb622b32317642be91a7f79aa5413649>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74519>

HTML: <https://flawdb.com/CVE-2026-74519> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74519>
