In the Linux kernel, the following vulnerability has been resolved: gpio: aggregator: fix a potential use-after-free On error we free… (CVE-2026-64023)
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.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel gpio aggregator arises from improper cleanup order on error paths. Specifically, the device ID (dev_id) is freed before the corresponding lookup table entry is removed. If a concurrent thread calls gpiod_find() during this window, it may iterate over the lookup list and invoke gpiod_match_lookup_table(), which unconditionally dereferences the freed dev_id pointer via strcmp(). This use-after-free condition can cause kernel instability or crashes. The patch corrects this by reversing the cleanup order to ensure the lookup entry is removed before freeing dev_id.
Potential Impact
This vulnerability can lead to use-after-free conditions in the Linux kernel, potentially causing kernel crashes or undefined behavior. There is no information about known exploits in the wild. The impact is limited to kernel stability and reliability issues rather than direct privilege escalation or data disclosure based on the provided data.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by reversing the order of cleanup operations to prevent use-after-free. Users should apply the official kernel updates that include this fix once available. Patch status is not yet confirmed in the provided data; check the vendor or Linux kernel advisories for the current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: gpio: aggregator: fix a potential use-after-free On error we free… (CVE-2026-64023)
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.
CVSS v3.1
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel gpio aggregator arises from improper cleanup order on error paths. Specifically, the device ID (dev_id) is freed before the corresponding lookup table entry is removed. If a concurrent thread calls gpiod_find() during this window, it may iterate over the lookup list and invoke gpiod_match_lookup_table(), which unconditionally dereferences the freed dev_id pointer via strcmp(). This use-after-free condition can cause kernel instability or crashes. The patch corrects this by reversing the cleanup order to ensure the lookup entry is removed before freeing dev_id.
Potential Impact
This vulnerability can lead to use-after-free conditions in the Linux kernel, potentially causing kernel crashes or undefined behavior. There is no information about known exploits in the wild. The impact is limited to kernel stability and reliability issues rather than direct privilege escalation or data disclosure based on the provided data.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by reversing the order of cleanup operations to prevent use-after-free. Users should apply the official kernel updates that include this fix once available. Patch status is not yet confirmed in the provided data; check the vendor or Linux kernel advisories for the current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-pp22-5w4f-hc5v
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64023"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27aa2a4a8d598912d587
Added to database: 07/19/2026, 19:38:18 UTC
Last enriched: 07/19/2026, 19:59:05 UTC
Last updated: 07/20/2026, 19:41:22 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.