CVE-2026-64238
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.08% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 710abda58055ed5eaa8958107633cc12a365c328 before a554dfcd30dd5e41d1d67387b3bb85cea83e12e1, from 710abda58055ed5eaa8958107633cc12a365c328 before a1b836607304f71051f9f9dcccf8b5097b86a1fb, 28f488e7b327630686378bb1d24e22cfc3fc162d, from 6.19.12 before 6.20, 7.0
Not affected: before 7.0, from 7.0.12 up to 7.0.*, from 7.1 up to *
CVE List
linux linux_kernelfrom 6.19.12 before 7.0, from 7.0.1 before 7.0.12, 7.0, 7.1NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: gpio: shared: corregir interbloqueo en la eliminación del padre del proxy compartido El commit 710abda58055 (’gpio: shared: llamar a gpio_chip::of_xlate() si está configurado’) usó el mutex incrustado en la estructura gpio_shared_entry para proteger el campo offset, que ahora puede ser modificado después de la asignación. La sección crítica, sin embargo, es demasiado amplia e introdujo un interbloqueo potencial en la eliminación del padre del proxy GPIO compartido. Hacer la sección crítica más corta - solo proteger el offset cuando está siendo leído. Ya que estamos: mencionar el hecho de que el bloqueo de entrada ahora también se usa para proteger contra el acceso concurrente al campo offset en la documentación de la estructura.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-64238 changed 2026-07-24CVE Terms of Use
NVDCVE-2026-64238 changed 2026-11-08Public domain