Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 ED7EC3603E1 for ; Wed, 18 Mar 2026 17:54:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773856497; cv=none; b=EsUDU2WxfIvXZL23VBNhfJb4nXLYR8a7iJ7k9V+QztS62NmNOXftxAL5hvLUjTqOkx7Regbz4AGt4cxTTabE8xdGTfB1N7Y09F1kNcenNjPFfi3p6FmiGcC/UTfvwHfDAmX1UwH2WfMQwLThAFLIZuwy12HB7lca0ARvPgLz0iY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773856497; c=relaxed/simple; bh=xPJHQ2/uc3MbmuweAPkqBywEB54F0cDuDeKcE67peXw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LRB8kDb3waETJBZSnI2nzVlMnPDRFLHuHHw50OISSfYhhLauWqPfuvZ/lJFAnc3F5FckFbIZoN0tMJ1NVpRD0VlSSLHOb0hQZwpYawXngMze8UPoQkhImHlVmSAiUI6s0nH/W3AhdaogXeOXCd7aDHmlA8Twoo1nwnEMJZeUyzY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GW/H7Lkh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="GW/H7Lkh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DD97C19421; Wed, 18 Mar 2026 17:54:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773856496; bh=xPJHQ2/uc3MbmuweAPkqBywEB54F0cDuDeKcE67peXw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=GW/H7Lkh+6+Hb1vWyOJdIG2CmgzXijl3/IWdohggRZuRIM4tnsMQiLPClSYxwnSz5 CkBjIubFvlgG+D0MkoURKhpyMi5NPEqGO1PNffhS/AkHdXyxBK6iqrambcZbg8IJHY ON6TbQx8bfjB87Zy+ZK3Wh/GzA47y67FxOdtTVvs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23268: apparmor: fix unprivileged local user can do privileged policy management Date: Wed, 18 Mar 2026 18:54:47 +0100 Message-ID: <2026031846-CVE-2026-23268-6be3@gregkh> X-Mailer: git-send-email 2.53.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=3453; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=u9t6a96H9eaA584+MBRill2qOCr6supPmqMCmHnzP2k=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm7nj17838Vw5oL0ta71zPMdMwVV7nW0bdFO/2K4vH3u wrPxZ7r6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJSCxlWNCoJPPSesGLN71b n74xanR+f/LH/R6GBfP0BbO+eK1Mfrq46JVljNKeXKfd4QA= 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: apparmor: fix unprivileged local user can do privileged policy management An unprivileged local user can load, replace, and remove profiles by opening the apparmorfs interfaces, via a confused deputy attack, by passing the opened fd to a privileged process, and getting the privileged process to write to the interface. This does require a privileged target that can be manipulated to do the write for the unprivileged process, but once such access is achieved full policy management is possible and all the possible implications that implies: removing confinement, DoS of system or target applications by denying all execution, by-passing the unprivileged user namespace restriction, to exploiting kernel bugs for a local privilege escalation. The policy management interface can not have its permissions simply changed from 0666 to 0600 because non-root processes need to be able to load policy to different policy namespaces. Instead ensure the task writing the interface has privileges that are a subset of the task that opened the interface. This is already done via policy for confined processes, but unconfined can delegate access to the opened fd, by-passing the usual policy check. The Linux kernel CVE team has assigned CVE-2026-23268 to this issue. Affected and fixed versions =========================== Issue introduced in 4.11 with commit b7fd2c0340eacbee892425e9007647568b7f2a3c and fixed in 6.12.77 with commit 0fc63dd9170643d15c25681fca792539e23f4640 Issue introduced in 4.11 with commit b7fd2c0340eacbee892425e9007647568b7f2a3c and fixed in 6.18.18 with commit b60b3f7a35c46b2e0ca934f9c988b8fca06d76c6 Issue introduced in 4.11 with commit b7fd2c0340eacbee892425e9007647568b7f2a3c and fixed in 6.19.8 with commit b6a94eeca9c6c8f7c55ad44c62c98324f51ec596 Issue introduced in 4.11 with commit b7fd2c0340eacbee892425e9007647568b7f2a3c and fixed in 7.0-rc4 with commit 6601e13e82841879406bf9f369032656f441a425 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-23268 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/apparmor/apparmorfs.c security/apparmor/include/policy.h security/apparmor/policy.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/0fc63dd9170643d15c25681fca792539e23f4640 https://git.kernel.org/stable/c/b60b3f7a35c46b2e0ca934f9c988b8fca06d76c6 https://git.kernel.org/stable/c/b6a94eeca9c6c8f7c55ad44c62c98324f51ec596 https://git.kernel.org/stable/c/6601e13e82841879406bf9f369032656f441a425