From: Greg Kroah-Hartman Date: Wed, 22 Jul 2026 07:18:47 +0000 (+0200) Subject: 7.1-stable patches X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=ac19e34c6f190ad7ea31d7a8f2a27827fbc1c830;p=thirdparty%2Fkernel%2Fstable-queue.git 7.1-stable patches added patches: revert-gpib-cb7210-fix-region-leak-when-request_irq-fails.patch --- diff --git a/queue-7.1/revert-gpib-cb7210-fix-region-leak-when-request_irq-fails.patch b/queue-7.1/revert-gpib-cb7210-fix-region-leak-when-request_irq-fails.patch new file mode 100644 index 0000000000..f13ec5f539 --- /dev/null +++ b/queue-7.1/revert-gpib-cb7210-fix-region-leak-when-request_irq-fails.patch @@ -0,0 +1,36 @@ +From 285ecb7d9e1b2401c2eccca4d0f26615f4d651eb Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman +Date: Sat, 30 May 2026 12:29:07 +0200 +Subject: Revert "gpib: cb7210: Fix region leak when request_irq fails" +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +From: Greg Kroah-Hartman + +commit 285ecb7d9e1b2401c2eccca4d0f26615f4d651eb upstream. + +This reverts commit 5ad28496055858166eb2268344c8fda2c26d3561. + +Turns out not to be correct. + +Link: https://lore.kernel.org/r/PpNUbGhrvT8I_KayoDvQYI2PYjmMw1QEkuVBDZz2PwBsVVgPkBXJarc2mBM0IhiH3AQG0GtgqEsDRXNj3yUKEDBaZa25u73pAjvcE6vfRsg=@protonmail.com +Reported-by: Dominik Karol Piątkowski +Cc: Mark Brown +Cc: Hongling Zeng +Cc: Hongling Zeng +Signed-off-by: Greg Kroah-Hartman +--- + drivers/gpib/cb7210/cb7210.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/drivers/gpib/cb7210/cb7210.c ++++ b/drivers/gpib/cb7210/cb7210.c +@@ -1062,7 +1062,6 @@ static int cb_isa_attach(struct gpib_boa + // install interrupt handler + if (request_irq(config->ibirq, cb7210_interrupt, isr_flags, DRV_NAME, board)) { + dev_err(board->gpib_dev, "failed to obtain IRQ %d\n", config->ibirq); +- release_region(nec7210_iobase(cb_priv), cb7210_iosize); + return -EBUSY; + } + cb_priv->irq = config->ibirq; diff --git a/queue-7.1/series b/queue-7.1/series index 711414e0c8..1660c73ee7 100644 --- a/queue-7.1/series +++ b/queue-7.1/series @@ -2075,3 +2075,4 @@ iomap-consolidate-bio-submission.patch drm-amd-display-fix-color-manager-3dlut-shaper-blend.patch posix-timers-expand-timer_arm-callbacks-with-a-boolean-return-value.patch posix-cpu-timers-prevent-uaf-caused-by-non-leader-exec-race.patch +revert-gpib-cb7210-fix-region-leak-when-request_irq-fails.patch