CVE-2026-74519

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

7.8 high EPSS 0.15%

Published 15 Aug 2026 Updated 16 Oct 2026 CNA: Linux

Check your servers for CVE-2026-74519

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74519 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.15%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.02% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from be4c60b563edee3712d392aaeb0943a768df7023, before e3cfb22bad363bebcfd55d909e12d499cb8c5490
affected from be4c60b563edee3712d392aaeb0943a768df7023, before 1586423da2739a80871ef6240016fcb9c7339bfb
affected from be4c60b563edee3712d392aaeb0943a768df7023, before dec5f0a8080502908dec5e35597c7ae07d533a3b
affected from be4c60b563edee3712d392aaeb0943a768df7023, before 929f6396baade89999ec8a1281232c101cbc727d
affected from be4c60b563edee3712d392aaeb0943a768df7023, before 321fe3584a8298386938130d138191aa35040b75
affected from be4c60b563edee3712d392aaeb0943a768df7023, before ad0ad3c228b6f76fde10f32047e0ec5fbc109dc8
affected from be4c60b563edee3712d392aaeb0943a768df7023, before 9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d
affected from be4c60b563edee3712d392aaeb0943a768df7023, before 015b5bcbcb622b32317642be91a7f79aa5413649
affected 03f69244302d7954f42f528ea2d45903ebbf59f3
affected 77440c3a37203e3f4667d06e37f76ef3968d2d8c
affected 679c4f27b8958b65bb51d1c3dfdbf3befe4a33a3
affected f88ac1330779c5bfdd79f7d7f7d4d3343c782f92
affected f739a699db7d5a5cf39ca3ce2c84e4fe4a8f4c5d
affected from 4.4.244, before 4.5
affected from 4.9.244, before 4.10
affected from 4.14.161, before 4.15
affected from 4.19.92, before 4.20
affected from 5.4.7, before 5.5
Other versions: unaffected
Linux
affected 5.5
unaffected before 5.5
unaffected from 5.10.265 up to and including 5.10.*
unaffected from 5.15.216 up to and including 5.15.*
unaffected from 6.1.183 up to and including 6.1.*
unaffected from 6.6.151 up to and including 6.6.*
unaffected from 6.12.103 up to and including 6.12.*
unaffected from 6.18.44 up to and including 6.18.*
unaffected from 7.1.8 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74519 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74519

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-74519
trivy image --scanners vuln IMAGE | grep CVE-2026-74519

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-74519 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.