Re: [PATCH] gpib: ines: fix I/O region leak in ines_isa_attach() error path
From: Greg Kroah-Hartman
Date: Fri Jul 17 2026 - 08:33:25 EST
On Wed, May 27, 2026 at 11:32:25AM -0700, Tony Btw wrote:
> If request_irq() fails after request_region() has succeeded,
> ines_isa_attach() returns without releasing the I/O region. This
> leaks the region and prevents a subsequent attach attempt from
> acquiring it.
>
> Release the region on the failure path.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Reported-by: Dan Carpenter <error27@xxxxxxxxx>
> Closes: https://lore.kernel.org/r/202605271229.d8wGTffx-lkp@xxxxxxxxx/
> Fixes: e6ab504633e4 ("staging: gpib: Destage gpib")
> Cc: stable <stable@xxxxxxxxxx>
> Signed-off-by: Tony Btw <tony@xxxxxxxxxxx>
Need a real name please.