---
id: CVE-2026-64023
title: |-
  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
summary: |-
  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 g…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.16, < 6.18.34'
  - 'linux_kernel >= 6.19, < 7.0.11'
  - linux_kernel = 7.1
patched:
  - linux_kernel 7.0.11
published: '2026-07-19'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T14:57:30.633'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-64023'
references:
  - url: 'https://git.kernel.org/stable/c/30c073cab97afb31901f94de9605177b6b84367e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7ac4183a41ba048af89eddd82fe8be64619d0871'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ea28b286649b70618e9dd3e895812417a7712a11'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00168
epssPercentile: 0.05709
ingestedAt: '2026-10-13T15:33:40.024Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 6.16, < 6.18.34`
- `linux_kernel >= 6.19, < 7.0.11`
- `linux_kernel = 7.1`

## Remediation

Upgrade past the affected range:

- `linux_kernel 7.0.11`
