Bug 2506780 (CVE-2026-64238) - CVE-2026-64238 kernel: gpio: shared: fix deadlock on shared proxy's parent removal
Summary: CVE-2026-64238 kernel: gpio: shared: fix deadlock on shared proxy's parent re...
Keywords:
Status: NEW
Alias: CVE-2026-64238
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-24 16:02 UTC by OSIDB Bzimport
Modified: 2026-08-31 13:32 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-24 16:02:02 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-07-28 09:02:44 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026072441-CVE-2026-64238-d9d5@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.