CVE-2026-74519: pinctrl: devicetree: don't free uninitialized dev_name on error path

Published Aug 15, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

pinctrl: devicetree: don't free uninitialized devname on error path

dtrememberorfreemap() duplicates devname for each map entry. If kstrdupconst() fails, dtfreemap() frees devname in all nummaps entries, including entries that have not been initialized.

Some pinctrl drivers, including pinctrl-imx, allocate the map with kmalloc() and leave devname for the core to initialize. The untouched entries therefore contain uninitialized data which is passed to kfreeconst().

Reproduced on qemu's mcimx6ul-evk (pinctrl-imx) with failslab injection while binding the pinctrl-consuming device, under KASAN:

BUG: KASAN: double-free in dtfreemap+0x34/0xa4 Free of addr c425a900 by task init/1 kfree from dtfreemap+0x34/0xa4 dtfreemap from dtrememberorfreemap+0x184/0x198 dtrememberorfreemap from pinctrldttomap+0x33c/0x4c8 pinctrldttomap from createpinctrl+0x9c/0x5c0

Initialize all devname fields to NULL before duplicating the device name, making the full-map cleanup safe after a partial failure.

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 15, 2026
CVE Published
via MITRE·12:27 PM
Data Sourced
via MITRE·12:27 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-74519?

CVE-2026-74519 has a risk rating of 19, indicating a critical severity level.

2

How do I fix CVE-2026-74519?

To fix CVE-2026-74519, update to the latest version of the Linux kernel where the vulnerability has been resolved.

3

What systems are affected by CVE-2026-74519?

CVE-2026-74519 affects the Linux kernel, specifically implementations that utilize the pinctrl subsystem.

4

What is the impact of CVE-2026-74519?

The vulnerability can lead to the freeing of uninitialized memory, potentially causing system instability or crashes.

5

Is CVE-2026-74519 being actively exploited?

As of now, there is no evidence indicating that CVE-2026-74519 is being actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203