Linux kernel use-after-free in shared GPIO proxy lookup
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
gpio: shared: fix use-after-free bug when adding shared proxies
The GPIO lookup table can stay alive for longer than the kobject whose name string's address we're assigning to lookup->dev_id. Fix a potential UAF by duplicating the string.
From the CVE record · Linux
The Linux kernel’s GPIO shared-proxy code can retain a pointer to a kobject name after that kobject is freed, creating a potential use-after-free when adding shared proxies. The input does not establish how an attacker could trigger or exploit this issue, or whether access or user interaction is required.
Engineers running Linux kernels with GPIO shared-proxy support should check their versions; affected versions are not specified.