What’s Vulnerable › Vulnerabilities
CVE-2026-64238: gpio: shared: fix deadlock on shared proxy's parent removal
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-24 · updated 2026-08-13
- Weakness: CWE-667
Description
In the Linux kernel, the following vulnerability has been resolved: gpio: shared: fix deadlock on shared proxy's parent removal Commit 710abda58055 ("gpio: shared: call gpio_chip::of_xlate() if set") used the mutex embedded in struct gpio_shared_entry to protect the offset field which now can be modified after assignment. The critical section however is too wide and introduced a potential deadlock on the removal of the shared GPIO proxy's parent. Make the critical section shorter - only protect the offset when it's being read. While at it: mention the fact that the entry lock is now also used to protect against concurrent access to the offset field in the structure's documentation.
Affected products
- Linux kernel: from 6.19.12 before 7.0; from 7.0.1 before 7.0.12; 7.0, 7.0-rc7, 7.1-rc1, 7.1-rc2, 7.1-rc3, 7.1-rc4 (+1) — fixed in 7.0, 7.0.12
How to fix
Upgrade to a fixed version: Linux kernel 7.0, 7.0.12. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/a1b836607304f71051f9f9dcccf8b5097b86a1fb
- https://git.kernel.org/stable/c/a554dfcd30dd5e41d1d67387b3bb85cea83e12e1
Get alerted when CVE-2026-64238 or the next vulnerability affects your stack