Re: (subset) [PATCH v4 0/4] gpio: shared: replace platform lookup with dummy software nodes
From: Bartosz Golaszewski
Date: Thu Oct 15 2026 - 08:06:46 EST
On Wed, 14 Oct 2026 11:38:24 +0200, Bartosz Golaszewski wrote:
> Abel reported to me a crash on Eliza linked to fwnode GPIO lookup for
> shared GPIOs. Turns out we don't support no-device, fwnode-based lookup
> for shared GPIOs. In fact: we trigger a NULL-pointer deference.
>
> Making it work requires a more serious rework. This is what patch 4/4
> does with 3/4 introducing a preparatory improvement.
>
> [...]
Applied, thanks!
[1/4] gpio: shared: fix use-after-free bug when adding shared proxies
https://git.kernel.org/brgl/c/bd22f7e63509fa758cf500d9af3e88a3d3df96be
[2/4] gpio: shared: gracefully handle no-device lookup of shared GPIOs
https://git.kernel.org/brgl/c/cf73c3fc03c43a8a86fd487c62390b4744eff9ec
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>