Linux vulnerability

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 19 Jul 2026Updated 13 Oct 20263 sources
CVSS 7.8

What happened

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 versions

Linux: 86f162e73d2d81ef6d819c06a3b6c2fda77a79b8 through before ea28b286649b70618e9dd3e895812417a7712a11 (git); 86f162e73d2d81ef6d819c06a3b6c2fda77a79b8 through before 7ac4183a41ba048af89eddd82fe8be64619d0871 (git); 86f162e73d2d81ef6d819c06a3b6c2fda77a79b8 through before 30c073cab97afb31901f94de9605177b6b84367e (git); 6.16 Fixed: See vendor advisory.

Why it matters

Review the vendor advisory and exposure of the affected product to determine operational impact.

Detection & mitigation

  • Apply vendor-provided updates or mitigations.
  • Review affected product exposure and access logs.

Public PoC references

No public PoC reference has passed the current publication threshold.