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=1793187581; b=y9Cq21++psIc4BWCRZ45wTHIT1GMVb1rT/eFihr1Fr4E70/PWpvHSVKNPyzmYjK0z475 TFNr4YMFue7C3nEm1iTM+uqf4Dkky7AGqkSTamgWdL5IB/x4+Xxv3ds62VMVWFLDwjGbm L2LfcFZdwikKUGfmC4tKDBzjkq+srHtIKYE5Xwi43U0LOTX3Ndgg/8Vwl0B+qO4s1Oz6I iDpHLBe1uhOtLXfM3WoiiIc6NG5k7FsQSaXw1PGH0cRzXzvvMf6oddFhbCaWZdxHREbBi OxL4Oys2tkprwNz32nGOsISdad/SG7ERlHnK/NeEceWlcCzckYy42Az9VC8/D5fNUzw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187581; 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=4sbdncGJgjem6HhG7GzwhpAyVb6zRklIvidT2VpPn8M=; b=RJrJLF87Pge2NCnuG9HnlU2JhwPvPkfAyOwku1kA6HgL1ibe7h++mwsPhHioi9twTGmZ IElQ3nRWczhUJYb1yz6QnC7FQabiqN94NLVVBjpv8ABsLuzym3EQcSXk5Gje2mv/pxgBr 2+sx9McHWCZbrBI6Yt6CAKrrvYv0uvbjohwera2kVGJSdpikf9vPv5phZ+3/xCAxQUm1E p0ltLQzhYqaDQKjJM6iSKPZMsbF4lwFxS3dijDWCY9V3bDSZhVjLhQgQcH4c7PvJARJ7C kQqm0hTHpnsJ+cbVSGb021++wc9VotIICMIfsKeb48fd2JrcxdkgMmZ5+zaXpSRrVyA== 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="2HPOj/78"; 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 61BE0606A31E for ; Wed, 28 Oct 2026 11:39:41 +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=2HPOj/78 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6603B1F01825; Wed, 28 Oct 2026 11:39:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187581; bh=4sbdncGJgjem6HhG7GzwhpAyVb6zRklIvidT2VpPn8M=; h=From:To:Cc:Subject:Date:Reply-To; b=2HPOj/78RZ2CUEaJh8mF+b1aYzFwFuLJRXug1rqfwZEIrxqmorx1Vuourq9oXHyNU hbHL/dEBv3OljplrvCWSrIevpcqKZWih3zWgjE579/zGEXPTNeEsrgsZ4EaA8+H42H FZTugWKFx1/pmbZpYsmF2peqiqale+83WWo868Fg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99162: gpio: shared: fix use-after-free bug when adding shared proxies Date: Wed, 28 Oct 2026 11:35:49 +0100 Message-ID: <2026102805-CVE-2026-99162-8832@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=1951; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=IjhY4PSbqELu9ye0BBYUhq/bd6hL7hjeHntPau0zfwo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz980upD3+9V85oViisXO3qVMP2STan+913WfycpQH emc3P25I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYi3sMwP/vCgxNNulKpzFJS fAvCj1ll6MmJMcyzescZ9mB90LkufvX6cN8FYmpLvpcDAA== 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: shared: fix use-after-free bug when adding shared proxies The GPIO lookup table can stay alive for longer than the kobject whose name string's address we're assigning to lookup->dev_id. Fix a potential UAF by duplicating the string. The Linux kernel CVE team has assigned CVE-2026-99162 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit a060b8c511abb0997381b397e52149a5e3e5259a and fixed in 7.2.13 with commit 8861491f8501516429e0e6c9d7a056480047227c Issue introduced in 6.19 with commit a060b8c511abb0997381b397e52149a5e3e5259a and fixed in 7.3 with commit bd22f7e63509fa758cf500d9af3e88a3d3df96be 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-99162 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/gpiolib-shared.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/8861491f8501516429e0e6c9d7a056480047227c https://git.kernel.org/stable/c/bd22f7e63509fa758cf500d9af3e88a3d3df96be