From mboxrd@z Thu Jan 1 00:00:00 1970 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 A22CC51356D for ; Fri, 4 Sep 2026 17:20:02 +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=1788542404; cv=none; b=U2H6rPFdgQOoK89aTETyaoPmPhz2Jh6G4k9zdiivlGXbj7myq3XM9vo/FpzGNwkeokwkmeB3y0GbMHSghNPooZqAKuJGS1/h3XH4w5Y/seOtnKjz6bB7d5hiw9SHbVAejxGcV0EN+ohMS0iSoPJww8kGU9CqA0eQllydSWi/NKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788542404; c=relaxed/simple; bh=acHunnYK4+1h9dOFGO2gBK+YenlzBM+sErKXzk/WZk8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=semZHAgryEi4PZGdHQ2sbmMDGqrutFSfAM3h95pi/3iGbsDav/RnuEEoIpHLwMtR0TRxp/4skGju9zEvpz9JAWAjiyYOsmiYpVN0oBef+YLp26Kqk2Vat0RcEkcu7r3R91yappZOu6KdPGqloM83M7nr4LyzEehMz6w6gULlsIo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=N3l3EeeJ; 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="N3l3EeeJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2117D1F00A3E; Fri, 4 Sep 2026 17:19:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788542401; bh=NtmeDeYDQYqflmrYTt6+kjpAPDN/XB8q7v4ZarAg3rw=; h=From:To:Cc:Subject:Date:Reply-To; b=N3l3EeeJ5Jkl/Zgwvd+UaEYEHw+Na5QeLqvzaoERz+1ReLoXGNmtuw8k+SbyP7dCX vS8qvZvfVnBYMdvL0xb0dy8JXJHWZDNGk079XBPxkSPGsJ0T8ZEr+12jyYj+2uHezw lYpGg1ZvkOusqOyms7wgKdeKJk7rRUlGYtJMM+zs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80913: selinux: require every boolean value to be defined Date: Fri, 4 Sep 2026 19:17:44 +0200 Message-ID: <2026090435-CVE-2026-80913-833f@gregkh> X-Mailer: git-send-email 2.55.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=3904; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UQ/bY8w/XUhm0m8LoDN5YZmae4BpK+X7K81rqAWtqm0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmz/uqfvyK4+5L67qy8VV8/+Wkqb920MGvvYYMgo+53q 3cJara0dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE1OsZ5kcs3iYWYa4svabj zspPko4qM2ey8jIsaGTvuP008rpvR93SC22nz06Lq1u6BgA= 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: require every boolean value to be defined p_bools.nprim comes from the policy image independently of how many booleans follow it, and cond_index_bool() fills bool_val_to_struct[] at value - 1, so a count larger than the values present leaves NULL entries. Every user of that array then walks it by index and dereferences each entry: cond_evaluate_expr() on the access-vector path, security_get_bools() and security_get_bool_value() behind selinuxfs, and security_set_bools(). A sparse class value is absorbed by policydb_class_isvalid() and its siblings; booleans have no such predicate, and no consumer that could use one. Reject a boolean value that no boolean defines, once, where the array is built. Conforming policies define every boolean they declare and are unaffected. The Linux kernel CVE team has assigned CVE-2026-80913 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.266 with commit 4d0ece18e648bd4362704fd087249ac697f2b7fb Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.217 with commit 3938c8494d3c5d84a53fd7d1966ae9dde46cb5f8 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.184 with commit 4dfb997c60f7951011d3dcbee926e3a7f80d8a76 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.153 with commit 3161daa3f1e3ca68f8b2b8fa01720b5a8dcc6b40 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.105 with commit 740012aebdb8311332bf66e2aabf453ba73c2c45 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.46 with commit 42a7107f99d86a7524c37f108047dfa3db096ab5 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.1.10 with commit ed901e88aa3fb3d5d7b0b52c2ee3073209df9bec Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.2 with commit a93d37a09b863810653f93d371fb197457d59deb 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-80913 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/ss/policydb.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/4d0ece18e648bd4362704fd087249ac697f2b7fb https://git.kernel.org/stable/c/3938c8494d3c5d84a53fd7d1966ae9dde46cb5f8 https://git.kernel.org/stable/c/4dfb997c60f7951011d3dcbee926e3a7f80d8a76 https://git.kernel.org/stable/c/3161daa3f1e3ca68f8b2b8fa01720b5a8dcc6b40 https://git.kernel.org/stable/c/740012aebdb8311332bf66e2aabf453ba73c2c45 https://git.kernel.org/stable/c/42a7107f99d86a7524c37f108047dfa3db096ab5 https://git.kernel.org/stable/c/ed901e88aa3fb3d5d7b0b52c2ee3073209df9bec https://git.kernel.org/stable/c/a93d37a09b863810653f93d371fb197457d59deb