AZL-115315: CVE-2026-99579 affecting package kernel 6.6.161.1-1
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Add shmem_set_acl() to check the resulting mode, honoring F_SEAL_EXEC when a POSIX access ACL is set.