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

Published Jul 19, 2026
·
Updated

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

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

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

Affected Software

7 affected components
Linux Linux kernel
Linux Linux kernel>=6.16<6.18.34
Linux Linux kernel>=6.19<7.0.11
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the gpio aggregator error cleanup path, remove the lookup-table entry before freeing aggr->lookups->dev_id; reverse the cleanup order to prevent gpiod_match_lookup_table() from dereferencing freed memory.

Event History

Jul 19, 2026
CVE Published
via MITRE·03:39 PM
Data Sourced
via MITRE·03:39 PM
DescriptionSeverity
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64023?

CVE-2026-64023 has a risk rating of 34, indicating it poses a moderate threat.

2

How do I fix CVE-2026-64023?

To fix CVE-2026-64023, ensure you update the Linux kernel to the latest version where the vulnerability has been patched.

3

What is the impact of CVE-2026-64023?

The impact of CVE-2026-64023 is a potential use-after-free condition that may lead to exploitation by concurrent threads.

4

Which software is affected by CVE-2026-64023?

CVE-2026-64023 affects the Linux kernel and its related modules.

5

When was CVE-2026-64023 published?

CVE-2026-64023 was published on July 19, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203