{"id":"CVE-2026-64238","aliases":["CVE-2026-64238"],"related":[],"kind":"vulnerability","state":"published","title":"gpio: shared: fix deadlock on shared proxy's parent removal","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: shared: fix deadlock on shared proxy's parent removal\n\nCommit 710abda58055 (\"gpio: shared: call gpio_chip::of_xlate() if set\")\nused the mutex embedded in struct gpio_shared_entry to protect the\noffset field which now can be modified after assignment. The critical\nsection however is too wide and introduced a potential deadlock on the\nremoval of the shared GPIO proxy's parent.\n\nMake the critical section shorter - only protect the offset when it's\nbeing read.\n\nWhile at it: mention the fact that the entry lock is now also used to\nprotect against concurrent access to the offset field in the structure's\ndocumentation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: shared: fix deadlock on shared proxy's parent removal\n\nCommit 710abda58055 (\"gpio: shared: call gpio_chip::of_xlate() if set\")\nused the mutex embedded in struct gpio_shared_entry to protect the\noffset field which now can be modified after assignment. The critical\nsection however is too wide and introduced a potential deadlock on the\nremoval of the shared GPIO proxy's parent.\n\nMake the critical section shorter - only protect the offset when it's\nbeing read.\n\nWhile at it: mention the fact that the entry lock is now also used to\nprotect against concurrent access to the offset field in the structure's\ndocumentation.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ngpio: shared: corregir interbloqueo en la eliminación del padre del proxy compartido\n\nEl 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.\n\nHacer la sección crítica más corta - solo proteger el offset cuando está siendo leído.\n\nYa 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.","source":"nvd"}],"published":"2026-07-24T15:27:42.482Z","modified":"2026-11-08T16:10:00.183Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"710abda58055ed5eaa8958107633cc12a365c328","fixed":"a554dfcd30dd5e41d1d67387b3bb85cea83e12e1","status":"affected"},{"type":"git","introduced":"710abda58055ed5eaa8958107633cc12a365c328","fixed":"a1b836607304f71051f9f9dcccf8b5097b86a1fb","status":"affected"},{"type":"git","version":"28f488e7b327630686378bb1d24e22cfc3fc162d","status":"affected"},{"type":"semver","introduced":"6.19.12","fixed":"6.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.0.12","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.19.12","fixed":"7.0"},{"status":"affected","introduced":"7.0.1","fixed":"7.0.12"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a554dfcd30dd5e41d1d67387b3bb85cea83e12e1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1b836607304f71051f9f9dcccf8b5097b86a1fb","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64238","url":"https://www.cve.org/CVERecord?id=CVE-2026-64238","licence":"CVE Terms of Use","modified":"2026-07-24T15:27:42.482Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64238","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64238","licence":"Public domain","modified":"2026-11-08T16:10:00.183Z"}],"updatedAt":"2026-11-25T22:59:30.012Z","epss":{"score":0.0008,"percentile":0.00183,"date":"2026-12-01T12:00:22.000Z"}}