{"id":"CVE-2026-99579","aliases":["CVE-2026-99579"],"related":[],"kind":"vulnerability","state":"published","title":"mm/shmem: honour F_SEAL_EXEC when an ACL is set","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: honour F_SEAL_EXEC when an ACL is set\n\nThe owner of a memfd sealed with F_SEAL_EXEC can still change its\nexecute bits by setting a POSIX access ACL. With CONFIG_TMPFS_POSIX_ACL,\nthis lets an unprivileged owner make a non-executable memfd executable,\nbypassing vm.memfd_noexec=2.\n\nsimple_set_acl() updates i_mode directly, bypassing the seal check in\nshmem_setattr(). Add shmem_set_acl() to check the resulting mode. Share\nthe F_SEAL_EXEC check with shmem_setattr() using memfd_check_seals_mode()\nin include/linux/memfd.h.\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: use common helper; simplify description ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: honour F_SEAL_EXEC when an ACL is set\n\nThe owner of a memfd sealed with F_SEAL_EXEC can still change its\nexecute bits by setting a POSIX access ACL. With CONFIG_TMPFS_POSIX_ACL,\nthis lets an unprivileged owner make a non-executable memfd executable,\nbypassing vm.memfd_noexec=2.\n\nsimple_set_acl() updates i_mode directly, bypassing the seal check in\nshmem_setattr(). Add shmem_set_acl() to check the resulting mode. Share\nthe F_SEAL_EXEC check with shmem_setattr() using memfd_check_seals_mode()\nin include/linux/memfd.h.\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: use common helper; simplify description ]","source":"cvelist"}],"published":"2026-11-20T05:49:11.423Z","modified":"2026-11-23T08:17:59.757Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6fd7353829cafc4067aad9eea0dc95da67e7df16","fixed":"37639e667dd6062fc95ab63f52fc1a34d91a0631","status":"affected"},{"type":"git","introduced":"6fd7353829cafc4067aad9eea0dc95da67e7df16","fixed":"cd5769d84a3cdf8a935c4fd8987337f1eeed1828","status":"affected"},{"type":"git","introduced":"6fd7353829cafc4067aad9eea0dc95da67e7df16","fixed":"e9fcc5bfa1c8999772c99ff91d1ec0bcc267a02c","status":"affected"},{"type":"git","introduced":"6fd7353829cafc4067aad9eea0dc95da67e7df16","fixed":"7a5eae5fee348b6d04d44577be5df079dc692111","status":"affected"},{"type":"git","introduced":"6fd7353829cafc4067aad9eea0dc95da67e7df16","fixed":"0237c47ca17005ea41b510c6116f0257dbf84eab","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/37639e667dd6062fc95ab63f52fc1a34d91a0631","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd5769d84a3cdf8a935c4fd8987337f1eeed1828","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e9fcc5bfa1c8999772c99ff91d1ec0bcc267a02c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a5eae5fee348b6d04d44577be5df079dc692111","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0237c47ca17005ea41b510c6116f0257dbf84eab","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99579","url":"https://www.cve.org/CVERecord?id=CVE-2026-99579","licence":"CVE Terms of Use","modified":"2026-11-23T08:04:37.431Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99579","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99579","licence":"Public domain","modified":"2026-11-23T08:17:59.757Z"}],"updatedAt":"2026-11-25T22:59:52.268Z","epss":{"score":0.00219,"percentile":0.07147,"date":"2026-11-30T12:00:22.000Z"}}