diff options
| author | 2026-10-14 11:38:25 +0200 | |
|---|---|---|
| committer | 2026-10-15 14:05:28 +0200 | |
| commit | bd22f7e63509fa758cf500d9af3e88a3d3df96be (patch) | |
| tree | 505df023c37021db22c425508ab9b37005ba70ca /scripts/Makefile.thinlto | |
| parent | tools: gpio: fix building from the top level with O= (diff) | |
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.
Cc: stable@vger.kernel.org
Fixes: a060b8c511ab ("gpiolib: implement low-level, shared GPIO support")
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20261014-gpio-shared-fwnode-lookup-v4-1-2253ad645fd6@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
