VDB

CVE-2026-74519

CVE-2026-74519 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published August 15, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perfAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12Amazon Linux1:6.12.103-127.188.amzn2023
kernel-modules-extraAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-headersAmazon Linux1:6.12.103-127.188.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxbe4c60b563edee3712d392aaeb0943a768df7023, be4c60b563edee3712d392aaeb0943a768df7023, be4c60b563edee3712d392aaeb0943a768df7023
LinuxLinux5.5, 0, 5.10.265
amazon:2023perf0
amazon:2023kernel6.120
amazon:2023kernel-modules-extra0
amazon:2023kernel6.12-headers0
linuxlinux_kernel5.5, 5.4.7, 5.5
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.1.186-228.3740
amazon:2023kernel-livepatch-6.12.103-127.1880
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.120
amazon:2023python3-perf6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023python3-perf0
amazon:2023python3-perf6.180
amazon:2023kernel-tools0

…and 18 more

Timeline

  • Aug 15, 2026 CVE Published
  • Aug 16, 2026 EPSS Score (11 in total, the first dated here)
  • Aug 19, 2026 Security Advisory
  • Aug 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74519
vulnetix vdb fixes CVE-2026-74519

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74519/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›