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.
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Kernel memory corruption
Action: Apply patch
AI Analysis

Impact

In the Linux kernel's gpio aggregator subsystem, an error path frees a memory pointer (aggr->lookups->dev_id) before removing the related entry from the lookup table. If another thread calls gpiod_find() before the entry is removed, it may traverse the list and invoke gpiod_match_lookup_table(), which blindly dereferences dev_id during a strcmp() call. This sequence causes a use‑after‑free, leading to kernel memory corruption, and potentially arbitrary kernel code execution or a system crash. The weakness is marked as CWE‑416 (Use After Free) and CWE‑825 (Uncontrolled Memory Allocation).

Affected Systems

Affected systems are any machine running a Linux kernel that has not yet incorporated the commit that reverses the cleanup order. The CVE references include kernel releases 7.1 rc1 through rc4 and all other Linux kernels, indicating the issue existed prior to those releases. Therefore, any Linux distribution shipping a kernel version older than the commit is potentially vulnerable. The vulnerability is limited to the kernel component; no direct impact on user‑space applications is described.

Risk and Exploitability

The CVSS score of 7.8 reflects a high severity. The EPSS score of < 1 % indicates exploitation is considered unlikely at the current time, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack vector is local, requiring an attacker or compromised process to trigger the race condition between gpiod_find() and the error‑cleanup path by performing concurrent operations. Remote exploitation or network‑based attack is not indicated. The risk is that a successful exploit could corrupt kernel memory, potentially enabling privilege escalation or a denial‑of‑service if the kernel crashes.

Generated by OpenCVE AI on October 17, 2026 at 10:32 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install a kernel update that includes the gpio aggregator use‑after‑free fix (e.g., commit 30c073cab97afb31901f94de9605177b6b84367e).
  • If no official update is available, apply the upstream patch that reverses the cleanup order or backport it to the current kernel source.
  • As a temporary mitigation, restrict or deny concurrent access to the GPIO aggregator by limiting permissions on /dev/gpio devices or configuring SELinux/AppArmor to block untrusted code from calling the vulnerable interface.

Generated by OpenCVE AI on October 17, 2026 at 10:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History

Tue, 13 Oct 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*

Sun, 26 Jul 2026 08:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Wed, 22 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Wed, 22 Jul 2026 12:15:00 +0000


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sun, 19 Jul 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title gpio: aggregator: fix a potential use-after-free
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:38:17.707Z

Reserved: 2026-07-19T07:54:57.027Z

Link: CVE-2026-64023

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-19T16:17:42.317

Modified: 2026-10-13T14:57:30.633

Link: CVE-2026-64023

cve-icon Redhat

Severity :

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64023 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T10:45:07Z

Weaknesses