CVE-2026-64238

gpio: shared: fix deadlock on shared proxy's parent removal

Published Jul 24, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability results from an overly wide critical section that locks the offset field of a gpio_shared_entry during operations on a shared GPIO proxy. When the proxy’s parent is removed, this lock can block indefinitely, causing a deadlock in kernel threads. The resulting blockage can stall device functionality or bring the system to a halt, thereby compromising availability. The weakness is a concurrency error that manifests as a race condition leading to a deadlock.

Affected Systems

All Linux kernel releases built before the inclusion of commit 710abda58055 are affected. The commit shortens the critical section to protect only the offset when it is being read. Systems running the mainline kernel or any derivative that has not incorporated this change remain vulnerable until they are updated to a version containing the fix.

Risk and Exploitability

The EPSS score is below 1 % and the vulnerability is not listed in the CISA KEV catalog, indicating a low probability of exploitation. However, the likely attack vector is a local user or process that triggers the removal of a shared GPIO proxy’s parent. If successful, the attacker could cause a denial of service by hanging kernel threads. The CVSS score of 5.5 indicates medium severity, and combined with the low EPSS score and lack of KEV listing, the risk of exploitation remains low, but the availability impact warrants prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that incorporates commit 710abda58055 to shorten the critical section and eliminate the deadlock
  • If an upgrade cannot be applied immediately, restrict or disable operations that remove or modify the parent of a shared GPIO proxy until the kernel is patched
  • Monitor kernel logs and system stability for signs of lock contention or deadlock events, and configure alerts for such occurrences

Generated by OpenCVE AI on August 13, 2026 at 14:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-667
CPEs cpe:2.3:o:linux:linux_kernel:7.0:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
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.
Title gpio: shared: fix deadlock on shared proxy's parent removal
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Jul 24, 2026, 3:27 PM
Reserved
Jul 19, 2026, 3:36 PM
Status
Analyzed
Published
Jul 24, 2026, 4:16 PM
Modified
Nov 8, 2026, 4:10 PM
Severity
Public date
Jul 24, 2026, 12:00 AM