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=1795153964; b=GIvuk5eIkSjBetIjFzv8pKlvqGHC/X3Ngyav3fV6vFz1GjrmpG47/ZF91nOu7Y3w6lV2 uBoXKaIyqV0HN5QuBxfqcPDu+rXD93Bu6Y+1Z/eshx2Dkii71o/F+PIZXIbPwB0cutQd7 qNH1J2LFZ6/eAlZlYtBOeefC+9ijJtWT9s60WiCPiLF21csQeZU3uHqFgYE4H/XcMedSR 1SAFEtjbxtkjT/1xBleQu3QRxWGY1u3YaPU/91VoqrhTQli2GLwPE3Xd3R4tJcW5dwW7w sfNnaEhfg4hn2E9jiOlt3IW65axe0XRVMTutGwBul4kMC9Ty9MSqQCh2nfE4CMiDAyA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795153964; 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=J4AqnuWjqAHoJH6kLUEEf0Btuuorziqy0tIPHgRiL0Y=; b=0B9elnbwhiPQ7srSk8z7Cp6cxb5aJ5b5COJcszcaNee3nWWelm6kBzX7gQFv0/CAMYXh 4noWOKmEqVFjttU67aZuaLYAem/+OJ2DBqHSGawrM93gBB9m0mzTc0ty9O/APLbJkOZgH sL0DE6s2FkEoLl0trfHys8NAST7dlncR17fd+DT/Uurx2c18nTnI8GgpgK19++jdraGJv FMVdoe/PoDAABRHcDhqRxe6mgtcwctW6ydasXJoTnqJ2OBj/xKHHeJEdeyloDwsT+upHq r9ZVRuEXpExTkCPUANCVrTGXkBsF87xRTv9bWdURC8WSEa/XcTq/fpTieiDWftaBEhQ== 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=ABC+ZpRY; 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 5D8F0606A320 for ; Fri, 20 Nov 2026 05:52:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ABC+ZpRY Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A0861F000CF; Fri, 20 Nov 2026 05:52:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795153964; bh=J4AqnuWjqAHoJH6kLUEEf0Btuuorziqy0tIPHgRiL0Y=; h=From:To:Cc:Subject:Date:Reply-To; b=ABC+ZpRYDkUL/bb2osl2BCTK3oOJcnuyZU2e5f/kL5DetNcKWIb7Cd1UoWt5N4y8/ hdDpwNXLoACtiwepONFSBC4xT64RIuhkSgkyiYFRnbB/Fx4VLqiDcA2x9dvYkf1TV/ 4WzJKLmRHCaexg5J/e35EpTEAQa+UEDLM54ZryH4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99579: mm/shmem: honour F_SEAL_EXEC when an ACL is set Date: Fri, 20 Nov 2026 06:49:25 +0100 Message-ID: <2026112018-CVE-2026-99579-1be5@gregkh> X-Mailer: git-send-email 2.56.1 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=2829; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eZ1fO2tdkAudOJZ5qTY7Fe/OKKbovva1DgsXrbUqoeU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/78elnv464/Ov48WLXmunSi5ur2liOW0YZ/7x20SfD U6njmzq7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ3J7KME/zpYndpBxlq8kx artvMO/dIDTFhZNhfkjLZ9G0ExIz1bPcfuTM23gufdPnOwA= 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: mm/shmem: honour F_SEAL_EXEC when an ACL is set The owner of a memfd sealed with F_SEAL_EXEC can still change its execute bits by setting a POSIX access ACL. With CONFIG_TMPFS_POSIX_ACL, this lets an unprivileged owner make a non-executable memfd executable, bypassing vm.memfd_noexec=2. simple_set_acl() updates i_mode directly, bypassing the seal check in shmem_setattr(). Add shmem_set_acl() to check the resulting mode. Share the F_SEAL_EXEC check with shmem_setattr() using memfd_check_seals_mode() in include/linux/memfd.h. Fix generated by an LLM and sent by Chris Mason in private. [ david: use common helper; simplify description ] The Linux kernel CVE team has assigned CVE-2026-99579 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 6fd7353829cafc4067aad9eea0dc95da67e7df16 and fixed in 6.12.118 with commit cd5769d84a3cdf8a935c4fd8987337f1eeed1828 Issue introduced in 6.3 with commit 6fd7353829cafc4067aad9eea0dc95da67e7df16 and fixed in 6.18.64 with commit e9fcc5bfa1c8999772c99ff91d1ec0bcc267a02c Issue introduced in 6.3 with commit 6fd7353829cafc4067aad9eea0dc95da67e7df16 and fixed in 7.3.5 with commit 7a5eae5fee348b6d04d44577be5df079dc692111 Issue introduced in 6.3 with commit 6fd7353829cafc4067aad9eea0dc95da67e7df16 and fixed in 7.4-rc2 with commit 0237c47ca17005ea41b510c6116f0257dbf84eab 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-99579 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: include/linux/memfd.h mm/shmem.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/cd5769d84a3cdf8a935c4fd8987337f1eeed1828 https://git.kernel.org/stable/c/e9fcc5bfa1c8999772c99ff91d1ec0bcc267a02c https://git.kernel.org/stable/c/7a5eae5fee348b6d04d44577be5df079dc692111 https://git.kernel.org/stable/c/0237c47ca17005ea41b510c6116f0257dbf84eab