Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A42A1367B95 for ; Sun, 18 Oct 2026 15:25:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337154; cv=none; b=U8p+Rlt3ZTqX3mkEORuLrH5P0V5QpjGlHvDsEXtiOKXvke/QR+zYuxxF0ls7cBwyTC2rDrenyKOLW0JkM+3wcPtZ0yow0YQOev+B9eyGWsZFeK9PXKF3MrcdulrqaL1K0q84CkWJ5R5sLr/NyaUkp2UBUI+QKdOT5FHMufyKMzo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337154; c=relaxed/simple; bh=d39hHnmvDAtXQqUbj/rdA4hqojXHrfHWBxbKV6w70l8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=B3qXffHqthBocHkGC75/O+59pClCZcbJ/T8nqOaN1Cq/Y7fN8QwVZqO1HCZNZ7rqXyRJOiO0ux2d2OrgI8k33Tv0+A72/nvatJYkJuCdUYZsNWQX0ntSZgyR6qThpztq18EbcNlJM2VK+wlGmzfT4jpzhuFbhjehxvYZtS+WADc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PTKC3zjt; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="PTKC3zjt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C40D1F000C4; Sun, 18 Oct 2026 15:25:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337149; bh=4u5QAePCkqFxUWg2cj88b+dGxriJ4FyzVPNma5ska+w=; h=From:To:Cc:Subject:Date:Reply-To; b=PTKC3zjtSOhNzYtzpYe+AxrLVeiveByd1SDAXm1+hFKV+641/Ivma0e630OVDTHEn Eb8OfV3A2+cUULUs4Fj+R+INwF94VIhUz2d91CDtIZYr4EVSTLJsF2N4sTAsCiRDBt pbGo5sZmm705Diz9+WByrm42aWt+1UdfL82J8LR4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98527: gpio: zynq: fix runtime PM leak on request error path Date: Sun, 18 Oct 2026 17:16:31 +0200 Message-ID: <2026101823-CVE-2026-98527-4fb9@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3621; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o0JM1L+KfNbJ0BXnyPNKOjG9O6Lg0QLGdOG3m2ni6H8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHnWX2mpf/uKYumPPmcWTHtz+3tbyU7ym4v5GgdnJG jU5a97GdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEcvwY5hme/x1vrZf1bdK5 D/NKBPKOO+x1DGGYH2sR1xsjdOWwx5e6SzfF2gN0JuUeAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: gpio: zynq: fix runtime PM leak on request error path pm_runtime_get_sync() leaves the usage counter incremented even when it fails, and zynq_gpio_request() returns the error without dropping it. gpiolib does not call ->free() when ->request() fails, so zynq_gpio_free(), which holds the only matching pm_runtime_put(), never runs. The reference is leaked and the controller can no longer runtime-suspend, so its clock stays enabled. Switch to pm_runtime_resume_and_get(), which only increments the usage counter on success. The Linux kernel CVE team has assigned CVE-2026-98527 to this issue. Affected and fixed versions =========================== Issue introduced in 3.17 with commit 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 and fixed in 5.10.271 with commit e380fba02908b809f5bbef371259003cf5887bb4 Issue introduced in 3.17 with commit 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 and fixed in 5.15.222 with commit a3e9b7f7c9558f8c9592f8f817557bff98707bb3 Issue introduced in 3.17 with commit 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 and fixed in 6.1.189 with commit 60a76cdd92e25f576dc58d756a565760dde1f7a1 Issue introduced in 3.17 with commit 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 and fixed in 6.6.158 with commit 25c08be2a5e7715f19a6e02bbe9b0e5f01c77aac Issue introduced in 3.17 with commit 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 and fixed in 6.12.112 with commit 6e05f1c614a57a5d4c364dd12e20c6fd012f9d3e Issue introduced in 3.17 with commit 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 and fixed in 6.18.55 with commit 58a417a19d80141fff3abe6004e2e47285506e73 Issue introduced in 3.17 with commit 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 and fixed in 7.2.9 with commit 6e20dabffbcd7b222d8e7bb85a7d8e8325df7699 Issue introduced in 3.17 with commit 3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 and fixed in 7.3-rc5 with commit e9438ab5328a177c9c0e5df87eb92a7162841e98 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98527 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/gpio/gpio-zynq.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/e380fba02908b809f5bbef371259003cf5887bb4 https://git.kernel.org/stable/c/a3e9b7f7c9558f8c9592f8f817557bff98707bb3 https://git.kernel.org/stable/c/60a76cdd92e25f576dc58d756a565760dde1f7a1 https://git.kernel.org/stable/c/25c08be2a5e7715f19a6e02bbe9b0e5f01c77aac https://git.kernel.org/stable/c/6e05f1c614a57a5d4c364dd12e20c6fd012f9d3e https://git.kernel.org/stable/c/58a417a19d80141fff3abe6004e2e47285506e73 https://git.kernel.org/stable/c/6e20dabffbcd7b222d8e7bb85a7d8e8325df7699 https://git.kernel.org/stable/c/e9438ab5328a177c9c0e5df87eb92a7162841e98