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=1793705170; b=cGeeZ6Plmci7IQtt42SYPDB0GEbwFaNNmRb4K8L3vcRmkyPO4cqVxTNn21Dg9empknO0 jT8vwURMt0aL2uvbctssMdWNmievhJKBp8akjAlA2LqdgnlWc8pH4es0olUQWHZthfmVl q/nHC32GFwqU7myJOMvrVu323eJ3T+xSiBM0K7+yZPYCcjRGlVauGcr4DSJQRqog8yfrf SxXlD0eeVrfD0uCr0OfRLz0zDFSEBAAiBQfLGP/eRF5RFEUSlPKWBcJcjt1z4BJ8kNo65 GEhwWrI52+fPf4JOzh2BJ4AxjEEgKFybeB1K84Z0hY8wJEeEw7ulK/hoat7VHp5JWeQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793705170; 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=GOgvbTl0ZhYbKaGJlGPkoYwOz0cvs+7v+oS52X0EIsQ=; b=zLTJ7fHmgdCtksxxqxypAqf0ojQKmilcQeWZYw0aWqQ7mMC83WeU+n22i95wHQ3uVBhH q1aEZYavx3/+gtdCe46myhC1Ddh7Clj6Qh2OG5xTjFqzduCWazrhpHXIwY5nOLaAzpQvC o3qd2hg0A8mpukZlyVMdjwF7haUcOnrYPfYRvTt74nqI3CBpFYWdX6QzpQIXDytivntOu pVj0szykV6N99wlMuRliy5notFkYohpNkEykKQjfFK5cx6as6K4lGuILCBrDbQKKoazIr PA0tF6PKyYDYwN8G+7+XaT6aCNycmUNgxZ4f7Lyw/lRwaOFlKx+IeqcTkE75XrYckwA== 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=AovnHLo4; 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 353D1606B127 for ; Tue, 3 Nov 2026 11:26:10 +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=AovnHLo4 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BEAF21F0093A; Tue, 3 Nov 2026 11:26:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793705170; bh=GOgvbTl0ZhYbKaGJlGPkoYwOz0cvs+7v+oS52X0EIsQ=; h=From:To:Cc:Subject:Date:Reply-To; b=AovnHLo4RZTIBLfFpz6ZEaFN38qSjR+0r1L1jjp1oW0sYuX3Jyh2hBSjFq96dj74V +QEJPuBHQYpJ1gBcpAVOPerEsla6wGOqov9AePJftiki7+iZeBqxjDrqYIn2Ehnx00 sWD3+MZiwVPl2OYqgeBZ9x5Hx3D+wDyWDgNIfyzQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99257: gpio: shared: gracefully handle no-device lookup of shared GPIOs Date: Tue, 3 Nov 2026 12:25:20 +0100 Message-ID: <2026110319-CVE-2026-99257-6ff6@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=2201; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wcEmgvX1cIFHQPukmcerDPiRrxOSZHTBsPzXXN0Nd+4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkvj8zfK9BzYQ6nSYee2nym5B2XfrveXfv97+sPK+zyA 2v/VZUFd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEprgzzOF7tlX4R6xLyKXc ogXH9mW52J12Wc2wYM//DX/YpF9+KXxq6/stteiNrM2VfwA= 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: gracefully handle no-device lookup of shared GPIOs We use platform lookup tables for shared GPIOs. This mechanism needs a struct device to work so fwnode-based lookup with no device associated currently causes a NULL-pointer deference. Adding this functionality will require a larger rework and it has never worked anyway so add a check that allows the kernel to gracefully handle this situation with an error ahead of implementing that functionality as a new feature. The Linux kernel CVE team has assigned CVE-2026-99257 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit a060b8c511abb0997381b397e52149a5e3e5259a and fixed in 7.2.13 with commit 7f9eb6aaf9a3ab7fa2b7dcc38660c27db12d4ec1 Issue introduced in 6.19 with commit a060b8c511abb0997381b397e52149a5e3e5259a and fixed in 7.3 with commit cf73c3fc03c43a8a86fd487c62390b4744eff9ec 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-99257 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/7f9eb6aaf9a3ab7fa2b7dcc38660c27db12d4ec1 https://git.kernel.org/stable/c/cf73c3fc03c43a8a86fd487c62390b4744eff9ec