Re: [PATCH] gpio: virtuser: fix interrupt leak and UAF

From: Bartosz Golaszewski

Date: Tue Nov 10 2026 - 04:40:47 EST



On Fri, 06 Nov 2026 16:33:45 +0100, Bartosz Golaszewski wrote:
> When configuring interrupt handlers for GPIOs requested by virtual
> users, we never verify if an interrupt has been previously requested and
> just leak it if it was.
>
> We also never free the interrupts at device unbind. This is both a leak
> and a potential UAF bug.
>
> [...]

Applied, thanks!

[1/1] gpio: virtuser: fix interrupt leak and UAF
https://git.kernel.org/brgl/c/24cafd9580627f9f066296f4a6ce1b282a3f425d

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>