]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
7.1-stable patches master
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2026 07:18:47 +0000 (09:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2026 07:18:47 +0000 (09:18 +0200)
added patches:
revert-gpib-cb7210-fix-region-leak-when-request_irq-fails.patch

queue-7.1/revert-gpib-cb7210-fix-region-leak-when-request_irq-fails.patch [new file with mode: 0644]
queue-7.1/series

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 (file)
index 0000000..f13ec5f
--- /dev/null
@@ -0,0 +1,36 @@
+From 285ecb7d9e1b2401c2eccca4d0f26615f4d651eb Mon Sep 17 00:00:00 2001
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+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 <gregkh@linuxfoundation.org>
+
+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 <dominik.karol.piatkowski@protonmail.com>
+Cc: Mark Brown <broonie@kernel.org>
+Cc: Hongling Zeng <zhongling0719@126.com>
+Cc: Hongling Zeng <zenghongling@kylinos.cn>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ 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;
index 711414e0c8e1d209e907e7dc1f8f84488c3e9937..1660c73ee777ed13e3d9a1dbd777c200cfe9bb06 100644 (file)
@@ -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