# CVE-2026-99579: mm/shmem: honour F_SEAL_EXEC when an ACL is set

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-11-20T05:49:11.423Z
- Modified: 2026-11-23T08:17:59.757Z
- Assigned by: Linux

## 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 ]

(As written by CVE List.)

## Affected

- Linux Linux: from 6fd7353829cafc4067aad9eea0dc95da67e7df16 before 37639e667dd6062fc95ab63f52fc1a34d91a0631; from 6fd7353829cafc4067aad9eea0dc95da67e7df16 before cd5769d84a3cdf8a935c4fd8987337f1eeed1828; from 6fd7353829cafc4067aad9eea0dc95da67e7df16 before e9fcc5bfa1c8999772c99ff91d1ec0bcc267a02c; from 6fd7353829cafc4067aad9eea0dc95da67e7df16 before 7a5eae5fee348b6d04d44577be5df079dc692111; from 6fd7353829cafc4067aad9eea0dc95da67e7df16 before 0237c47ca17005ea41b510c6116f0257dbf84eab; 6.3 (not affected: before 6.3; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/37639e667dd6062fc95ab63f52fc1a34d91a0631>
- <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>

## Sources

- CVE List: [CVE-2026-99579](https://www.cve.org/CVERecord?id=CVE-2026-99579), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99579](https://nvd.nist.gov/vuln/detail/CVE-2026-99579), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99579 · Whole record: https://cve.day/CVE-2026-99579.json · Rebuilt by cve.day 2026-11-25T22:59:52.268Z
