{"id":28733,"date":"2026-09-25T04:31:39","date_gmt":"2026-09-24T20:31:39","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97501"},"modified":"2026-09-25T04:31:39","modified_gmt":"2026-09-24T20:31:39","slug":"cve-2026-97501","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97501","title":{"rendered":"CVE-2026-97501 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: mediatek: pa"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>pinctrl: mediatek: paris: bypass pinctrl GPIO layer in set GPIO direction<\/p>\n<p>pinctrl_gpio_direction_input() \/ pinctrl_gpio_direction_output() take<br \/>\nthe pinctrl mutex. This causes a gpiochip operations to need to sleep.<br \/>\nWorse yet, the .can_sleep field in the gpiochip is not set. This causes<br \/>\nthe shared GPIO proxy to trip over, as it uses gpiod_cansleep() to check<br \/>\nwhether it can use a spinlock or needs a mutex. In this case, it ends<br \/>\nup taking a spinlock, then calls pinctrl_gpio_direction_output(), which<br \/>\ntakes a mutex. This causes a huge warning.<\/p>\n<p>While this class of Mediatek hardware does not have separate clear\/set<br \/>\nregisters, the pinctrl context has a spinlock that is taken whenever<br \/>\na register read-modify-write is done. Also, once the GPIO function is<br \/>\nselected \/ muxed in, further GPIO operations do not involve pinctrl<br \/>\noperations or state. The GPIO direction and level values do not require<br \/>\ntoggling the pinmux or any other pin config options.<\/p>\n<p>Switch to directly calling mtk_pinmux_gpio_set_direction() in the GPIO<br \/>\nset direction callbacks to avoid taking the pinctrl mutex. Drop the<br \/>\n.gpio_set_direction field in mtk_pmxops to signal we are no longer using<br \/>\nthe pinctrl GPIO layer for setting the direction.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>pinctrl: mediatek: paris: bypass pinctrl GPIO layer in set GPIO direction<\/p>\n<p>pinctrl_gpio_direction_input() \/ pinctrl_gpio_direction_<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-28733","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/28733","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=28733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}