pinctrl: devicetree: don't free uninitialized dev_name on error path
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.4.244 to before 4.5; 4.9.244 to before 4.10; 4.14.161 to before 4.15; 4.19.92 to before 4.20; 5.4.7 to before 5.5 | 4.5, 4.10, 4.15, 4.20, 5.5 | Patch available | CNA |
| Linux | Linux | 5.5 and later | 5.10.265, 5.15.216, 6.1.183, 6.6.151, 6.12.103, 6.18.44, 7.1.8, 7.2 | Patch available | CNA |
- Linux VendorLinux Affected 4.4.244 to before 4.5; 4.9.244 to before 4.10; 4.14.161 to before 4.15; 4.19.92 to before 4.20; 5.4.7 to before 5.5 Fixed in 4.5, 4.10, 4.15, 4.20, 5.5 Patch available CNA
- Linux VendorLinux Affected 5.5 and later Fixed in 5.10.265, 5.15.216, 6.1.183, 6.6.151, 6.12.103, 6.18.44, 7.1.8, 7.2 Patch available CNA
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.5, 4.10, 4.15, 4.20, 5.5
- Fix · CNA Linux (Linux) Fixed in 5.10.265, 5.15.216, 6.1.183, 6.6.151, 6.12.103, 6.18.44, 7.1.8, 7.2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2026-74519
- 2026-10-03 Alias added: GHSA-63f7-w376-3432
- 2026-10-18 CISA SSVC decision points changed
- 2026-10-27 CVSS score changed · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/e3cfb22bad363bebcfd55d909e12d499cb8c5490
- https://git.kernel.org/stable/c/1586423da2739a80871ef6240016fcb9c7339bfb
- https://git.kernel.org/stable/c/dec5f0a8080502908dec5e35597c7ae07d533a3b
- https://git.kernel.org/stable/c/929f6396baade89999ec8a1281232c101cbc727d
- https://git.kernel.org/stable/c/321fe3584a8298386938130d138191aa35040b75
- https://git.kernel.org/stable/c/ad0ad3c228b6f76fde10f32047e0ec5fbc109dc8
- https://git.kernel.org/stable/c/9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d
- https://git.kernel.org/stable/c/015b5bcbcb622b32317642be91a7f79aa5413649
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-74519 · CVE Program
- CVE-2026-74519 · NVD
- FIRST EPSS
- GHSA-63f7-w376-3432 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-74519 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences