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.
Overview
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.
- Published
- 8/15/2026
- Last modified
- 10/16/2026
- Assigned by
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ be4c60b563edee3712d392aaeb0943a768df7023, < e3cfb22bad363bebcfd55d909e12d499cb8c5490 | Verify advisory | Source |
Linux Linux | ≥ be4c60b563edee3712d392aaeb0943a768df7023, < 1586423da2739a80871ef6240016fcb9c7339bfb | Verify advisory | Source |
Linux Linux | ≥ be4c60b563edee3712d392aaeb0943a768df7023, < dec5f0a8080502908dec5e35597c7ae07d533a3b | Verify advisory | Source |
Linux Linux | ≥ be4c60b563edee3712d392aaeb0943a768df7023, < 929f6396baade89999ec8a1281232c101cbc727d | Verify advisory | Source |
Linux Linux | ≥ be4c60b563edee3712d392aaeb0943a768df7023, < 321fe3584a8298386938130d138191aa35040b75 | Verify advisory | Source |
Linux Linux | ≥ be4c60b563edee3712d392aaeb0943a768df7023, < ad0ad3c228b6f76fde10f32047e0ec5fbc109dc8 | Verify advisory | Source |
Linux Linux | ≥ be4c60b563edee3712d392aaeb0943a768df7023, < 9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d | Verify advisory | Source |
Linux Linux | ≥ be4c60b563edee3712d392aaeb0943a768df7023, < 015b5bcbcb622b32317642be91a7f79aa5413649 | Verify advisory | Source |
Linux Linux | 03f69244302d7954f42f528ea2d45903ebbf59f3 | Verify advisory | Source |
Linux Linux | 77440c3a37203e3f4667d06e37f76ef3968d2d8c | Verify advisory | Source |
Linux Linux | 679c4f27b8958b65bb51d1c3dfdbf3befe4a33a3 | Verify advisory | Source |
Linux Linux | f88ac1330779c5bfdd79f7d7f7d4d3343c782f92 | Verify advisory | Source |
Linux Linux | f739a699db7d5a5cf39ca3ce2c84e4fe4a8f4c5d | Verify advisory | Source |
Linux Linux | ≥ 4.4.244, < 4.5 | Verify advisory | Source |
Linux Linux | ≥ 4.9.244, < 4.10 | Verify advisory | Source |
Linux Linux | ≥ 4.14.161, < 4.15 | Verify advisory | Source |
Linux Linux | ≥ 4.19.92, < 4.20 | Verify advisory | Source |
Linux Linux | ≥ 5.4.7, < 5.5 | Verify advisory | Source |
Linux Linux | 5.5 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.