diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-10-14 11:38:25 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-10-15 14:05:28 +0200 |
| commit | bd22f7e63509fa758cf500d9af3e88a3d3df96be (patch) | |
| tree | 505df023c37021db22c425508ab9b37005ba70ca /scripts/basic | |
| parent | 52336337f1a01ad803c7f3ddb23f40222e9ad58d (diff) | |
| download | linux-bd22f7e63509fa758cf500d9af3e88a3d3df96be.tar.gz linux-bd22f7e63509fa758cf500d9af3e88a3d3df96be.zip | |
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/basic')
0 files changed, 0 insertions, 0 deletions
