CVE-2026-97501
Last modified
CVE-2026-97501 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: pinctrl: mediatek: paris: bypass pinctrl GPIO layer in set GPIO direction pinctrl_gpio_direction_input() / pinctrl_gpio_direction_output() take the pinctrl mutex. This causes a gpiochip operations to need to sleep. Worse yet, the .can_sleep field in the gpiochip is not set.
Description
In the Linux kernel, the following vulnerability has been resolved: pinctrl: mediatek: paris: bypass pinctrl GPIO layer in set GPIO direction pinctrl_gpio_direction_input() / pinctrl_gpio_direction_output() take the pinctrl mutex. This causes a gpiochip operations to need to sleep. Worse yet, the .can_sleep field in the gpiochip is not set. This causes the shared GPIO proxy to trip over, as it uses gpiod_cansleep() to check whether it can use a spinlock or needs a mutex. In this case, it ends up taking a spinlock, then calls pinctrl_gpio_direction_output(), which takes a mutex. This causes a huge warning. While this class of Mediatek hardware does not have separate clear/set registers, the pinctrl context has a spinlock that is taken whenever a register read-modify-write is done. Also, once the GPIO function is selected / muxed in, further GPIO operations do not involve pinctrl operations or state. The GPIO direction and level values do not require toggling the pinmux or any other pin config options. Switch to directly calling mtk_pinmux_gpio_set_direction() in the GPIO set direction callbacks to avoid taking the pinctrl mutex. Drop the .gpio_set_direction field in mtk_pmxops to signal we are no longer using the pinctrl GPIO layer for setting the direction.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 428b031dad390edd5da729b9afd474a95dc4f76b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c87c9046c4e00d599454e033a477176c4d73ac2a; < 6.18.53 |
| Linux | Linux | All versions |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-97501?
How severe is CVE-2026-97501?
How do I fix CVE-2026-97501?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-97496In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-97497In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-97498In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97499In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9750An authenticated user can cause a MongoDB server to crash or…7.1
- CVE-2026-97500In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97502In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97503In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97504In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97505In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97506In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97507In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-97501?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
