From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Tony Btw <tony@tonybtw.com>
Cc: Dave Penkler <dpenkler@gmail.com>,
linux-kernel@vger.kernel.org, kernel test robot <lkp@intel.com>,
Dan Carpenter <error27@gmail.com>, stable <stable@kernel.org>
Subject: Re: [PATCH] gpib: ines: fix I/O region leak in ines_isa_attach() error path
Date: Fri, 17 Jul 2026 14:29:21 +0200 [thread overview]
Message-ID: <2026071715-matriarch-pajamas-843b@gregkh> (raw)
In-Reply-To: <20260527183225.1307330-1-tony@tonybtw.com>
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@intel.com>
> Reported-by: Dan Carpenter <error27@gmail.com>
> Closes: https://lore.kernel.org/r/202605271229.d8wGTffx-lkp@intel.com/
> Fixes: e6ab504633e4 ("staging: gpib: Destage gpib")
> Cc: stable <stable@kernel.org>
> Signed-off-by: Tony Btw <tony@tonybtw.com>
Need a real name please.
next parent reply other threads:[~2026-07-17 12:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260527183225.1307330-1-tony@tonybtw.com>
2026-07-17 12:29 ` Greg Kroah-Hartman [this message]
2026-05-27 20:46 tonybanters
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2026071715-matriarch-pajamas-843b@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=dpenkler@gmail.com \
--cc=error27@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=stable@kernel.org \
--cc=tony@tonybtw.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®