gpio: aggregator: fix a potential use-after-free
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 30c073cab97afb31901f94de9605177b6b84367e, Kernel 7ac4183a41ba048af89eddd82fe8be64619d0871 and Kernel ea28b286649b70618e9dd3e895812417a7712a11.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.16, >=86f162e73d2d81ef6d819c06a3b6c2fda77a79b8 <30c073cab97afb31901f94de9605177b6b84367e, >=86f162e73d2d81ef6d819c06a3b6c2fda77a79b8 <7ac4183a41ba048af89eddd82fe8be64619d0871, >=86f162e73d2d81ef6d819c06a3b6c2fda77a79b8 <ea28b286649b70618e9dd3e895812417a7712a11 | 30c073cab97afb31901f94de9605177b6b84367e, 7ac4183a41ba048af89eddd82fe8be64619d0871, ea28b286649b70618e9dd3e895812417a7712a11 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket