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.
Published: 2026-07-24
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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
History

Thu, 13 Aug 2026 12:00:00 +0000

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'}


Tue, 28 Jul 2026 16:15:00 +0000


Fri, 24 Jul 2026 18:30:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-24T15:27:42.482Z

Reserved: 2026-07-19T15:36:31.772Z

Link: CVE-2026-64238

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-24T16:16:53.090

Modified: 2026-08-13T11:53:52.047

Link: CVE-2026-64238

cve-icon Redhat

Severity :

Publid Date: 2026-07-24T00:00:00Z

Links: CVE-2026-64238 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T15:00:04Z

Weaknesses