# CVE-2026-64023: gpio: aggregator: fix a potential use-after-free

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T15:39:15.980Z
- Modified: 2026-10-13T14:57:30.633Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

gpio: aggregator: fix a potential use-after-free

On error we free aggr->lookups->dev_id before removing the entry from
the lookup table. If a concurrent thread calls gpiod_find() before we
remove the entry, it could iterate over the list and call
gpiod_match_lookup_table() which unconditionally dereferences dev_id
when calling strcmp(). Reverse the order of cleanup.

(As written by CVE List.)

## Affected

- Linux Linux: from 86f162e73d2d81ef6d819c06a3b6c2fda77a79b8 before ea28b286649b70618e9dd3e895812417a7712a11; from 86f162e73d2d81ef6d819c06a3b6c2fda77a79b8 before 7ac4183a41ba048af89eddd82fe8be64619d0871; from 86f162e73d2d81ef6d819c06a3b6c2fda77a79b8 before 30c073cab97afb31901f94de9605177b6b84367e; 6.16 (not affected: before 6.16; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.16 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/ea28b286649b70618e9dd3e895812417a7712a11> (patch)
- <https://git.kernel.org/stable/c/7ac4183a41ba048af89eddd82fe8be64619d0871> (patch)
- <https://git.kernel.org/stable/c/30c073cab97afb31901f94de9605177b6b84367e> (patch)

## Sources

- CVE List: [CVE-2026-64023](https://www.cve.org/CVERecord?id=CVE-2026-64023), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-64023](https://nvd.nist.gov/vuln/detail/CVE-2026-64023), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2026-64023 · Whole record: https://cve.day/CVE-2026-64023.json · Rebuilt by cve.day 2026-11-25T22:59:28.936Z
