On Tue, Feb 3, 2026 at 7:11 AM Tzung-Bi Shih <[email protected]> wrote: > > This series transitions the UAF prevention logic within the GPIO core > (gpiolib) to use the 'revocable' mechanism. > > The existing code aims to prevent UAF issues when the underlying GPIO > chip is removed. This series replaces that custom logic with the > generic 'revocable' API, which is designed to handle such lifecycle > dependencies. There should be no changes in behavior. > > The series applies after: > - https://lore.kernel.org/all/[email protected] > - https://lore.kernel.org/all/[email protected] > > Bartosz: the series was planned to send after -rc1 comes. But I think > it'd be great to send out for your early review and testing if possible. > The series base on v6.19-rc8, driver-core-next, and gpio/for-next. > Please use the temporary integration testing branch > https://git.kernel.org/pub/scm/linux/kernel/git/tzungbi/chrome-platform.git/log/?h=gpio_rev > if you'd like to. >
This is not a Reviewed-by yet but FWIW: Tested-by: Bartosz Golaszewski <[email protected]> With this revision there's no impact on stability or performance and I haven't seen any KASAN splats or kmemleak reports. I'll try to review all the patches individually. Bartosz

