CVE-2026-99579
mm/shmem: honour F_SEAL_EXEC when an ACL is set
What happened?
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 ]
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: 6fd7353829cafc4067aad9eea0dc95da67e7df16 to < 37639e667dd6062fc95ab63f52fc1a34d91a0631; affected: 6fd7353829cafc4067aad9eea0dc95da67e7df16 to < cd5769d84a3cdf8a935c4fd8987337f1eeed1828; affected: 6fd7353829cafc4067aad9eea0dc95da67e7df16 to < e9fcc5bfa1c8999772c99ff91d1ec0bcc267a02c; affected: 6fd7353829cafc4067aad9eea0dc95da67e7df16 to < 7a5eae5fee348b6d04d44577be5df079dc692111; affected: 6fd7353829cafc4067aad9eea0dc95da67e7df16 to < 0237c47ca17005ea41b510c6116f0257dbf84eab | See vendor advisory |
| LinuxLinux | affected: 6.3; unaffected: 0 to < 6.3; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99579
- 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