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 599FA40759B for ; Wed, 27 May 2026 13:03:37 +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=1779887018; cv=none; b=DHM/LXOfIsfIInqsLZKpiIT/b3Pa28bz5o3GW1Vwu18fX0z7PT+u0DO3INvUUxTJFTu15/2odElmS/KPqQHcGsvM5pc57sQAALPjB8l+lYOudqZEFsJZ5vLz4vzGx12U3J3wrb7xPHSiPIvb2QqoKd6xHbF5hplITsLjFm6SjAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887018; c=relaxed/simple; bh=TpoCPdpRM3+58JccH9TMIOwZOLHlppAJBuPOkrU9m84=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kJn2lcFW7cpbN7gf0gN0TXdpdyhsIU7AqSS+qsUCKEn/5tpXL2TfEmVui4C0bjEe9WzWXuC9XcW8I9pAMYtO/goOz+rEka4Qx6UcBpya63etM3imxF6uX8S/kAareCSHPyU5/uTJgYMfANRgrkUVOGPxQrvulee7AjbmkBV5WU4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Q53qCcUD; 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="Q53qCcUD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D24D1F000E9; Wed, 27 May 2026 13:03:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887017; bh=q5yWKlvYpvx9h8mbbSc4LR0RBosYDVnGqxyGbj7mtqk=; h=From:To:Cc:Subject:Date:Reply-To; b=Q53qCcUD0/RwPSVgYk+MSsAYz2whGvZ5+EnFSFmPwX9kXTwv7ybDQELXhtlKKdzno IRuhyWtLvT86noKqDz/82tZ7spk58ZESHCZYqZ3wO0mBxhTY/QLwAGceA8dkygIfxC SFbBYXbchbzhiN9vQ/alErjMmaDXpnyxBDUuhb0c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46054: selinux: fix overlayfs mmap() and mprotect() access checks Date: Wed, 27 May 2026 14:59:45 +0200 Message-ID: <2026052754-CVE-2026-46054-b185@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=2334; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0mU3/xLFboDBYCexFSwh3ly/KehiyVMdxxVo+njvX00=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir/ru7f+am+Dw/+hX6eI9r5aEPt0qlZd/e+uWXnstz oCcp6bhHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARoVkM8+xN26WnV3UqHn3F dH9Cr8ac3o23GRnmcPcFbNpnpaKls2f6Sh9rgYs/2CxOAwA= 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 overlayfs mmap() and mprotect() access checks The existing SELinux security model for overlayfs is to allow access if the current task is able to access the top level file (the "user" file) and the mounter's credentials are sufficient to access the lower level file (the "backing" file). Unfortunately, the current code does not properly enforce these access controls for both mmap() and mprotect() operations on overlayfs filesystems. This patch makes use of the newly created security_mmap_backing_file() LSM hook to provide the missing backing file enforcement for mmap() operations, and leverages the backing file API and new LSM blob to provide the necessary information to properly enforce the mprotect() access controls. The Linux kernel CVE team has assigned CVE-2026-46054 to this issue. Affected and fixed versions =========================== Fixed in 7.0.4 with commit cd0e707a927a70cdfd8bc5a512a9719a87f5ed51 Fixed in 7.1-rc1 with commit 82544d36b1729153c8aeb179e84750f0c085d3b1 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-46054 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 security/selinux/include/objsec.h 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/cd0e707a927a70cdfd8bc5a512a9719a87f5ed51 https://git.kernel.org/stable/c/82544d36b1729153c8aeb179e84750f0c085d3b1