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 E59283B8949 for ; Mon, 8 Jun 2026 15:47:16 +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=1780933637; cv=none; b=EVW7+XYOpiE8nO40tzNHP5PS8KnJ0u2K8Ibcr/E4Sn4QA+5I6CwvycyGd0n7I87CHcyXquukbnWGWCj117hBkNGAvcNcK/bZHj/xjRp/Rzp6Jbk4HGvhyW8pCr2Rby5DHPBUUv5RsX9tifK/4nCOcW83BHbzRk9YrKt9VOfafrQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933637; c=relaxed/simple; bh=jkowZupu4037MF79tgcr1SjuDbp4DRsa/kXphex5rjc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NxCiCAgWOX3Cqpb3S0jTEh+RFezR8/L+/hJ1VYqq1cO9kjoVlsZ1Ez6xW2ZlB0HMs2pMc3HeH4gsNKjdRPYCBMRjuqAwCWVq/xlcdV/PB8pS2fmkE8m0YVOOfNwr5XDQELDA8sD1jewvNkWC41qtqhR6BKWmc6U+OphKOxbWMpc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FHuRa74f; 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="FHuRa74f" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A94171F00893; Mon, 8 Jun 2026 15:47:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780933636; bh=NkC9R6Uzrkgf4XESR2ZgUqzv2QJuauRgaLcLZEiI9Uo=; h=From:To:Cc:Subject:Date:Reply-To; b=FHuRa74f3O4GsyJHqcSel9M1b2Co+JLUBVBQ2IluYCIEfhzW0+eCmhv9Mu6sBOAyG qIO7nH6odVF1DBNyfeyiuLi8GXx8eHdL6dWwIOKL6JZT2v3m4uE0/GB+5hj/EZxV+8 cBLnnekZZacj0PUW91U+PyMGkNAOa5jVe+DXQSD0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46302: selinux: allow multiple opens of /sys/fs/selinux/policy Date: Mon, 8 Jun 2026 17:46:09 +0200 Message-ID: <2026060859-CVE-2026-46302-fd95@gregkh> X-Mailer: git-send-email 2.54.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=2149; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fv9JtqublsvYAhDCH3b9WRGXf++eTB+AxwbNPlQ98Ls=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlqj7eL+seFF9WvqD5yPy21l4FTl2m7vcjy9tlHcjRMF Cq73tl0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETcKxjmypgx9duzp4XH/+iI VwvdtKSwz4OHYSbjHc4lfoF7s46YV2zKi/7fqlTNuAIA 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: allow multiple opens of /sys/fs/selinux/policy Currently there can only be a single open of /sys/fs/selinux/policy at any time. This allows any process to block any other process from reading the kernel policy. The original motivation seems to have been a mix of preventing an inconsistent view of the policy size and preventing userspace from allocating kernel memory without bound, but this is arguably equally bad. Eliminate the policy_opened flag and shrink the critical section that the policy mutex is held. While we are making changes here, drop a couple of extraneous BUG_ONs. The Linux kernel CVE team has assigned CVE-2026-46302 to this issue. Affected and fixed versions =========================== Fixed in 7.0.7 with commit 714362f3779dfa453a78ced32396a72726962a41 Fixed in 7.1-rc3 with commit a02cd6805562305f936e807da83e253b719dd965 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-46302 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/selinuxfs.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/714362f3779dfa453a78ced32396a72726962a41 https://git.kernel.org/stable/c/a02cd6805562305f936e807da83e253b719dd965