{"api_version":"1","generated_at":"2026-07-24T21:50:48+00:00","cve":"CVE-2026-64238","urls":{"html":"https://cve.report/CVE-2026-64238","api":"https://cve.report/api/cve/CVE-2026-64238.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64238","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64238"},"summary":{"title":"gpio: shared: fix deadlock on shared proxy's parent removal","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-07-24 16:16:53","updated_at":"2026-07-24 16:16:53"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/a1b836607304f71051f9f9dcccf8b5097b86a1fb","name":"https://git.kernel.org/stable/c/a1b836607304f71051f9f9dcccf8b5097b86a1fb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a554dfcd30dd5e41d1d67387b3bb85cea83e12e1","name":"https://git.kernel.org/stable/c/a554dfcd30dd5e41d1d67387b3bb85cea83e12e1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64238","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64238","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 710abda58055ed5eaa8958107633cc12a365c328 a554dfcd30dd5e41d1d67387b3bb85cea83e12e1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 710abda58055ed5eaa8958107633cc12a365c328 a1b836607304f71051f9f9dcccf8b5097b86a1fb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 28f488e7b327630686378bb1d24e22cfc3fc162d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.19.12 6.20 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.12 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpio/gpiolib-shared.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a554dfcd30dd5e41d1d67387b3bb85cea83e12e1","status":"affected","version":"710abda58055ed5eaa8958107633cc12a365c328","versionType":"git"},{"lessThan":"a1b836607304f71051f9f9dcccf8b5097b86a1fb","status":"affected","version":"710abda58055ed5eaa8958107633cc12a365c328","versionType":"git"},{"status":"affected","version":"28f488e7b327630686378bb1d24e22cfc3fc162d","versionType":"git"},{"lessThan":"6.20","status":"affected","version":"6.19.12","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpio/gpiolib-shared.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.0"},{"lessThan":"7.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.12","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.12","versionStartIncluding":"7.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"7.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-07-24T15:27:42.482Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a554dfcd30dd5e41d1d67387b3bb85cea83e12e1"},{"url":"https://git.kernel.org/stable/c/a1b836607304f71051f9f9dcccf8b5097b86a1fb"}],"title":"gpio: shared: fix deadlock on shared proxy's parent removal","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-64238","datePublished":"2026-07-24T15:27:42.482Z","dateReserved":"2026-07-19T15:36:31.772Z","dateUpdated":"2026-07-24T15:27:42.482Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-24 16:16:53","lastModifiedDate":"2026-07-24 16:16:53","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"64238","Ordinal":"1","Title":"gpio: shared: fix deadlock on shared proxy's parent removal","CVE":"CVE-2026-64238","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"64238","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"gpio: shared: fix deadlock on shared proxy's parent removal"}]}}}