Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792759505; b=npqANbwIcIYwn+/jIdScgGCuOyCkxorppBs9zAbTO9nK7RAomsbJ3O/dlkVv6EPEyels GLdSwHdelB2iAjkLAmc8Y0XHH1WJLnNfjwlFLYMBWJ3LEIxaKDzOiBWZDc5ofeFRhaf7Q 16aWzK0ocNoKEqBu2fn8GdEK6vM8DjxNWKBiB6IOcgG4DmosE23kX27H3Bgfd6lX+K1la Sz2BtZtGYaqpVAcyEvoVJG79vd3yv6kuvICPimBLhvo9t+Vnyf2L4E+HVJr0n34NIpub/ WDssHD9sVEla5P8qK9cFgm72xdr6AuN4KVQQ4XOgJnyNBoMZN/xTxKrgBRJxALjX7bw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759505; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=AF7Kn18DgvnQp8kwKUWzshoxn9/CtOMr01D+mi7mCWE=; b=LvtYLplWlhZGmgtlqYZV/8KczHTDlGdCSCPsOkrLCeulButxvSdXk8qA85h+Sa9voVut 8eRD4v/FQq89OH7kWtfD8+hMvpNifeoDYC/QoflAz06vC3sdjIdr2jiK9qhjHusbnCC9b bUqirPaGkMzjTwiL0kgdWyAGOv2ySCyFt8EP2ve1QEhV4ShyYgWTkX00l7JuduiDdvGVX Uxj0XVJ8GR5NJDQp7yKZ/YmMmvXCqIBtjR+nvHBLzqhu7neq3IoxClzOFe+NLjPSpo1rf W2Jz5LRgV4Du2SXHkAqfIZKe2SEW6TOFS+BRBYcIHXrkSf6uNDP4DZH/LMCG4QR4sow== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=slRA+IZ1; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B902F606A320 for ; Fri, 23 Oct 2026 12:45:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=slRA+IZ1 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3AC11F01825; Fri, 23 Oct 2026 12:45:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759504; bh=AF7Kn18DgvnQp8kwKUWzshoxn9/CtOMr01D+mi7mCWE=; h=From:To:Cc:Subject:Date:Reply-To; b=slRA+IZ1nSRDkNtRTvtoPOw3C3sQTTVqTSye8op6C+9jt2XcJOq1PVi8yaVdYRABZ yTwxH5QemUGtF/csXhKx8RJCajzJxhMSeIlK7Z9Vi3gaU71dyhYQFcHODcmnZuEvAl YbkoVzlmHIl7y+p50/ycjUp23JKYgHQRv/RtxQNQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99049: gpio: xilinx: fix runtime PM leak on request error path Date: Fri, 23 Oct 2026 14:20:51 +0200 Message-ID: <2026102328-CVE-2026-99049-a4f1@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2925; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9JfzWyyvSnp+40mK7572wtlBWv80Qt/leC4hSeeFYj0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3Ay48vtsVM7XrZ9+L983WZyYvU+M75XBugtLsgKjX2 0+9E/vZ2hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATafnNsOBC6Y4Vs9Pubi4K frngAmeE0mv5/jKGuZKSJRt9Dm9ewT7lNlvEfrOSGtfqBQA= 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: xilinx: fix runtime PM leak on request error path pm_runtime_get_sync() leaves the usage counter incremented even when it fails, and xgpio_request() returns the error without dropping it. gpiolib does not call ->free() when ->request() fails, so xgpio_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-99049 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit 26b04774621ed333e8bc56479feb6e31625df58c and fixed in 6.6.160 with commit b07b3925f676640103b3d74b93fc401b1c873d13 Issue introduced in 5.12 with commit 26b04774621ed333e8bc56479feb6e31625df58c and fixed in 6.12.113 with commit f73ee2bd2293f8cc340061c5229395ace71fc2eb Issue introduced in 5.12 with commit 26b04774621ed333e8bc56479feb6e31625df58c and fixed in 6.18.57 with commit a027e0d7765d1531ee39e4dae81951b04f32ba7b Issue introduced in 5.12 with commit 26b04774621ed333e8bc56479feb6e31625df58c and fixed in 7.2.11 with commit 2fd6ecda5d1f47cffcfadddb35ee49402162c724 Issue introduced in 5.12 with commit 26b04774621ed333e8bc56479feb6e31625df58c and fixed in 7.3 with commit ff82fc3a4a1d417dee1229681cc5285986edb1fa 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-99049 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-xilinx.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/b07b3925f676640103b3d74b93fc401b1c873d13 https://git.kernel.org/stable/c/f73ee2bd2293f8cc340061c5229395ace71fc2eb https://git.kernel.org/stable/c/a027e0d7765d1531ee39e4dae81951b04f32ba7b https://git.kernel.org/stable/c/2fd6ecda5d1f47cffcfadddb35ee49402162c724 https://git.kernel.org/stable/c/ff82fc3a4a1d417dee1229681cc5285986edb1fa