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

Published Nov 20, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mm/shmem: honour FSEALEXEC when an ACL is set

The owner of a memfd sealed with FSEALEXEC can still change its execute bits by setting a POSIX access ACL. With CONFIGTMPFSPOSIXACL, this lets an unprivileged owner make a non-executable memfd executable, bypassing vm.memfdnoexec=2.

simplesetacl() updates imode directly, bypassing the seal check in shmemsetattr(). Add shmemsetacl() to check the resulting mode. Share the FSEALEXEC check with shmemsetattr() using memfdchecksealsmode() in include/linux/memfd.h.

Fix generated by an LLM and sent by Chris Mason in private.

[ david: use common helper; simplify description ]

Affected Software

3 affected componentsFixes available
linux/kernel>=6.3.0<6.12.118
6.12.118
linux/kernel>=6.13.0<6.18.64
6.18.64
linux/kernel>=6.19.0<7.3.5
7.3.5

Frequently Asked Questions

1

Who is exposed to this issue?

Systems running the Linux kernel with CONFIG_TMPFS_POSIX_ACL enabled are exposed when an unprivileged user owns a memfd sealed with F_SEAL_EXEC. The issue is relevant where vm.memfd_noexec=2 is relied on to prevent such memfds from becoming executable.

2

What does an attacker need to exploit it?

The attacker needs to be the owner of a memfd that has F_SEAL_EXEC applied and must be able to set a POSIX access ACL on it. They can then change the effective execute bits through the ACL path.

3

Are default configurations affected?

The vulnerable behavior requires CONFIG_TMPFS_POSIX_ACL. It also specifically bypasses the protection provided by vm.memfd_noexec=2, so environments not using that setting are not relying on the bypassed control.

4

How can I determine whether a system is affected?

Check whether the running kernel includes the fix that routes shmem ACL updates through an F_SEAL_EXEC mode check. Also verify whether CONFIG_TMPFS_POSIX_ACL is enabled and whether vm.memfd_noexec is set to 2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203