# CVE-2026-97501: pinctrl: mediatek: paris: bypass pinctrl GPIO layer in set GPIO direction

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-24T16:04:48.101Z
- **Modified:** 2026-10-30T13:21:05.797Z

## Who should check

- Anyone running Linux \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< f1536772cb3e4aa8d63988051f6fd6e4bb005cf7; \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< 482ba972f9638f467df2d498b46384a1d1f80529; \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< 3c4897861759fd8bd81dc2ada92121ac76332592; \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< 428b031dad390edd5da729b9afd474a95dc4f76b; \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< c87c9046c4e00d599454e033a477176c4d73ac2a
- Anyone running Linux 4.20

## 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 and fixed versions

- Linux: \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< f1536772cb3e4aa8d63988051f6fd6e4bb005cf7; \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< 482ba972f9638f467df2d498b46384a1d1f80529; \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< 3c4897861759fd8bd81dc2ada92121ac76332592; \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< 428b031dad390edd5da729b9afd474a95dc4f76b; \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< c87c9046c4e00d599454e033a477176c4d73ac2a (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97501. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97501.md
Affected: Linux >= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, < f1536772cb3e4aa8d63988051f6fd6e4bb005cf7; >= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, < 482ba972f9638f467df2d498b46384a1d1f80529; >= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, < 3c4897861759fd8bd81dc2ada92121ac76332592; >= 805250982bb5c5ce4a6e52e…
Fixed in: Linux 482ba972f9638f467df2d498b46384a1d1f80529, Linux 3c4897861759fd8bd81dc2ada92121ac76332592, Linux 428b031dad390edd5da729b9afd474a95dc4f76b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97501 being exploited?

There is no confirmed exploitation: CVE-2026-97501 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97501?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97501?

Linux \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< f1536772cb3e4aa8d63988051f6fd6e4bb005cf7; \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< 482ba972f9638f467df2d498b46384a1d1f80529; \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< 3c4897861759fd8bd81dc2ada92121ac76332592; \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< 428b031dad390edd5da729b9afd474a95dc4f76b; \>= 805250982bb5c5ce4a6e52e1d87204c5feea0dd1, \< c87c9046c4e00d599454e033a477176c4d73ac2a; Linux 4.20.

### Is there a fix for CVE-2026-97501?

Yes. Fixed in Linux 482ba972f9638f467df2d498b46384a1d1f80529, Linux 3c4897861759fd8bd81dc2ada92121ac76332592, Linux 428b031dad390edd5da729b9afd474a95dc4f76b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-97501?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f1536772cb3e4aa8d63988051f6fd6e4bb005cf7>
- other: <https://git.kernel.org/stable/c/482ba972f9638f467df2d498b46384a1d1f80529>
- other: <https://git.kernel.org/stable/c/3c4897861759fd8bd81dc2ada92121ac76332592>
- other: <https://git.kernel.org/stable/c/428b031dad390edd5da729b9afd474a95dc4f76b>
- other: <https://git.kernel.org/stable/c/c87c9046c4e00d599454e033a477176c4d73ac2a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97501>

HTML: <https://flawdb.com/CVE-2026-97501> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97501>
