CVE-2026-64023

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

State
Published
Severity
7.8 High
Published
Jul 19, 2026
Updated
Aug 5, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 86f162e73d2d81ef6d819c06a3b6c2fda77a79b8 to before ea28b286649b70618e9dd3e895812417a7712a11Affected
  • 86f162e73d2d81ef6d819c06a3b6c2fda77a79b8 to before 7ac4183a41ba048af89eddd82fe8be64619d0871Affected
  • 86f162e73d2d81ef6d819c06a3b6c2fda77a79b8 to before 30c073cab97afb31901f94de9605177b6b84367eAffected
LinuxLinux
  • 6.16Affected
  • before 6.16Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.