{"id":"CVE-2026-64023","summary":"gpio: aggregator: fix a potential use-after-free","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: aggregator: fix a potential use-after-free\n\nOn error we free aggr-\u003elookups-\u003edev_id before removing the entry from\nthe lookup table. If a concurrent thread calls gpiod_find() before we\nremove the entry, it could iterate over the list and call\ngpiod_match_lookup_table() which unconditionally dereferences dev_id\nwhen calling strcmp(). Reverse the order of cleanup.","modified":"2026-07-22T03:31:44.151669790Z","published":"2026-07-19T15:39:15.980Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64023.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/30c073cab97afb31901f94de9605177b6b84367e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ac4183a41ba048af89eddd82fe8be64619d0871"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ea28b286649b70618e9dd3e895812417a7712a11"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64023.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64023"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"86f162e73d2d81ef6d819c06a3b6c2fda77a79b8"},{"fixed":"ea28b286649b70618e9dd3e895812417a7712a11"},{"fixed":"7ac4183a41ba048af89eddd82fe8be64619d0871"},{"fixed":"30c073cab97afb31901f94de9605177b6b84367e"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64023.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.16.0"},{"fixed":"6.18.34"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64023.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}