0.0
NA
CVE-2026-74519
pinctrl: devicetree: don't free uninitialized dev_name on error path
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.

INFO

Published Date :

Aug. 15, 2026, 1:17 p.m.

Last Modified :

Aug. 15, 2026, 1:17 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-74519 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Apply kernel updates to prevent double-freeing uninitialized memory on error paths.
  • Update the Linux kernel to the latest stable version.
  • Apply the provided patch for the pinctrl subsystem.
  • Ensure all dev_name fields are initialized.
  • Test the pinctrl driver for stability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-74519 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-74519 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-74519 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-74519 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 15, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'be4c60b563edee3712d392aaeb0943a768df7023', 'lessThan': '929f6396baade89999ec8a1281232c101cbc727d', 'versionType': 'git'}, {'status': 'affected', 'version': 'be4c60b563edee3712d392aaeb0943a768df7023', 'lessThan': '321fe3584a8298386938130d138191aa35040b75', 'versionType': 'git'}, {'status': 'affected', 'version': 'be4c60b563edee3712d392aaeb0943a768df7023', 'lessThan': 'ad0ad3c228b6f76fde10f32047e0ec5fbc109dc8', 'versionType': 'git'}, {'status': 'affected', 'version': 'be4c60b563edee3712d392aaeb0943a768df7023', 'lessThan': '9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d', 'versionType': 'git'}, {'status': 'affected', 'version': 'be4c60b563edee3712d392aaeb0943a768df7023', 'lessThan': '015b5bcbcb622b32317642be91a7f79aa5413649', 'versionType': 'git'}, {'status': 'affected', 'version': '03f69244302d7954f42f528ea2d45903ebbf59f3', 'versionType': 'git'}, {'status': 'affected', 'version': '77440c3a37203e3f4667d06e37f76ef3968d2d8c', 'versionType': 'git'}, {'status': 'affected', 'version': '679c4f27b8958b65bb51d1c3dfdbf3befe4a33a3', 'versionType': 'git'}, {'status': 'affected', 'version': 'f88ac1330779c5bfdd79f7d7f7d4d3343c782f92', 'versionType': 'git'}, {'status': 'affected', 'version': 'f739a699db7d5a5cf39ca3ce2c84e4fe4a8f4c5d', 'versionType': 'git'}, {'status': 'affected', 'version': '4.4.244', 'lessThan': '4.5', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.9.244', 'lessThan': '4.10', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.14.161', 'lessThan': '4.15', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.19.92', 'lessThan': '4.20', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.4.7', 'lessThan': '5.5', 'versionType': 'semver'}], 'programFiles': ['drivers/pinctrl/devicetree.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.151', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.103', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.44', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.8', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc6', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/pinctrl/devicetree.c'], 'defaultStatus': 'affected'}]
    Added 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.
    Added Reference https://git.kernel.org/stable/c/015b5bcbcb622b32317642be91a7f79aa5413649
    Added Reference https://git.kernel.org/stable/c/321fe3584a8298386938130d138191aa35040b75
    Added Reference https://git.kernel.org/stable/c/929f6396baade89999ec8a1281232c101cbc727d
    Added Reference https://git.kernel.org/stable/c/9d00a5ac7cd3d32ae61140f4b8a62f136de84e7d
    Added Reference https://git.kernel.org/stable/c/ad0ad3c228b6f76fde10f32047e0ec5fbc109dc8
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.