CVE-2026-74519

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
16/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> pinctrl: devicetree: don&amp;#39;t free uninitialized dev_name on error path<br /> <br /> dt_remember_or_free_map() duplicates dev_name for each map entry. If<br /> kstrdup_const() fails, dt_free_map() frees dev_name in all num_maps<br /> entries, including entries that have not been initialized.<br /> <br /> Some pinctrl drivers, including pinctrl-imx, allocate the map with<br /> kmalloc() and leave dev_name for the core to initialize. The untouched<br /> entries therefore contain uninitialized data which is passed to<br /> kfree_const().<br /> <br /> Reproduced on qemu&amp;#39;s mcimx6ul-evk (pinctrl-imx) with failslab injection<br /> while binding the pinctrl-consuming device, under KASAN:<br /> <br /> BUG: KASAN: double-free in dt_free_map+0x34/0xa4<br /> Free of addr c425a900 by task init/1<br /> kfree from dt_free_map+0x34/0xa4<br /> dt_free_map from dt_remember_or_free_map+0x184/0x198<br /> dt_remember_or_free_map from pinctrl_dt_to_map+0x33c/0x4c8<br /> pinctrl_dt_to_map from create_pinctrl+0x9c/0x5c0<br /> <br /> Initialize all dev_name fields to NULL before duplicating the device<br /> name, making the full-map cleanup safe after a partial failure.