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=1793187463; b=AWp8+UkjUIoCdz8v6xTujkTgXEDVGEySYybvB/uLV84p5wWt6GUpLXorjyKCV1sRO6mM eU+V1XnKPRBXyFo8TDogB2HGBKrZWQNgap33Uv2NZX2EoOLpOScxd8R3iH3sOs9hawoqz +QJd+bARTOP2sereEqRuI5vF8bbdEU4DVaClh7SGohux6ybSkdogwZoomJ2eb53Qd+pCz e1ncuKMFzKrwwp0D5Ed56xjORo4z3ZgXd+LX9mXRMASlXBfBbCfVOd7LsDdlEkVjEK/4+ HolzQT2e+Wwh40VHQRZcZKe8jKwH8pa4v3IT0X5mDOrlYSJjOP8bVoHyePMl2d/A29A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187463; 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=50dRb6ISClGjx6lR0coozFQUqOghvVzK6paR5fDed+E=; b=u7oHUKRdmO51BwO22S6gvLkFaxvfnWxQG9NUIFqfbkfaYujqigu8fMB3kZGh5Aj50Ze3 R/7fqfNzYZZH8kGkyt2hWv+BH8odr8OCpcHfc6X33gHQETAwj2nXjXfuxv/F8nGy5Ug43 Yw/qO4qH3vtxaBNYavPbVwqsAH6pK21tu5ItiNJPa6p20IjVzZQ0Mje/BBLmXcAAyRBbU QEy8OYZOH402K2oqU6m0Z6KieinmfeVcZAuOzEgoq7EpKX42FplxXMEDgF5IkdldxNc/1 997VY2Y+uAUBPtcGEN2EMwAUuf5zsceMfbBYa5zFhfjSJ1TjV5Ud06ZR+CUubHLgE9w== 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=FHDzPFHG; 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 73E25606A323 for ; Wed, 28 Oct 2026 11:37:43 +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=FHDzPFHG Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC44D1F01829; Wed, 28 Oct 2026 11:37:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187463; bh=50dRb6ISClGjx6lR0coozFQUqOghvVzK6paR5fDed+E=; h=From:To:Cc:Subject:Date:Reply-To; b=FHDzPFHGqK1zj9MhuLYxa14X+7/6eyjZ4T3Dg0Ula3H5l8pncPVxZyoITQCpYG55k QUj8tGS7otE7KLhR7td/2INY5XVmODGVxentOMXeJb9I3Edlgtd9nE8UQdM73KC0RD aDJFU0ce7QfVLjgwnj3NvAUFob4+AmybXHmCTo/c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99129: selinux: fix BPF token permission checks Date: Wed, 28 Oct 2026 11:35:16 +0100 Message-ID: <2026102858-CVE-2026-99129-d390@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=2153; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6zOSMvHgmKn7HAcEI1uy4RR7Up0lVhm4pSNvwVhyHl8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz186vsV2+aqVFR8DY3ijLl+sYjM/UZ1qEdB7x2Tp6 hL5SN+EjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIIwWGBTt9ky8WJEyw4Ohk eHPOkbfL41BVBMM8Q7eVPwoMxKPv3N731WS/A6+qvt9rAA== 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: selinux: fix BPF token permission checks Avoid multiple lookups of the bpffs creator SID using the token's file descriptor when the same information can be found via the resolved path/dentry (in selinux_bpf_token_create()) or the token itself (in selinux_bpf_map_create() and selinux_bpf_prog_load()). Not only does this simplify the code, it avoids potential TOCTOU issues if the user changes the token file descriptor passed into the kernel. The Linux kernel CVE team has assigned CVE-2026-99129 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit 5473a722f782f79f96b4691400d681c01fcacc2f and fixed in 7.2.13 with commit e1ef306ba20eb13099ca4463527890df67619405 Issue introduced in 7.0 with commit 5473a722f782f79f96b4691400d681c01fcacc2f and fixed in 7.3 with commit 77d499e61d36e883a6ad1f10afe05f556aa7e0cc 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-99129 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: security/selinux/hooks.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/e1ef306ba20eb13099ca4463527890df67619405 https://git.kernel.org/stable/c/77d499e61d36e883a6ad1f10afe05f556aa7e0cc