{"id":7520,"date":"2026-09-04T18:49:35","date_gmt":"2026-09-04T10:49:35","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74519"},"modified":"2026-09-04T18:49:35","modified_gmt":"2026-09-04T10:49:35","slug":"cve-2026-74519","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74519","title":{"rendered":"CVE-2026-74519 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: devicetree:"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>pinctrl: devicetree: don&#8217;t free uninitialized dev_name on error path<\/p>\n<p>dt_remember_or_free_map() duplicates dev_name for each map entry. If<br \/>\nkstrdup_const() fails, dt_free_map() frees dev_name in all num_maps<br \/>\nentries, including entries that have not been initialized.<\/p>\n<p>Some pinctrl drivers, including pinctrl-imx, allocate the map with<br \/>\nkmalloc() and leave dev_name for the core to initialize. The untouched<br \/>\nentries therefore contain uninitialized data which is passed to<br \/>\nkfree_const().<\/p>\n<p>Reproduced on qemu&#8217;s mcimx6ul-evk (pinctrl-imx) with failslab injection<br \/>\nwhile binding the pinctrl-consuming device, under KASAN:<\/p>\n<p>  BUG: KASAN: double-free in dt_free_map+0x34\/0xa4<br \/>\n  Free of addr c425a900 by task init\/1<br \/>\n   kfree from dt_free_map+0x34\/0xa4<br \/>\n   dt_free_map from dt_remember_or_free_map+0x184\/0x198<br \/>\n   dt_remember_or_free_map from pinctrl_dt_to_map+0x33c\/0x4c8<br \/>\n   pinctrl_dt_to_map from create_pinctrl+0x9c\/0x5c0<\/p>\n<p>Initialize all dev_name fields to NULL before duplicating the device<br \/>\nname, making the full-map cleanup safe after a partial failure.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>pinctrl: devicetree: don&#8217;t free uninitialized dev_name on error path<\/p>\n<p>dt_remember_or_free_map() duplicates dev_name for each map en<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-7520","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/7520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}