CVE-2026-99579

mm/shmem: honour F_SEAL_EXEC when an ACL is set

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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 ]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6fd7353829cafc4067aad9eea0dc95da67e7df16 to before cd5769d84a3cdf8a935c4fd8987337f1eeed1828Affected
  • 6fd7353829cafc4067aad9eea0dc95da67e7df16 to before e9fcc5bfa1c8999772c99ff91d1ec0bcc267a02cAffected
  • 6fd7353829cafc4067aad9eea0dc95da67e7df16 to before 7a5eae5fee348b6d04d44577be5df079dc692111Affected
  • 6fd7353829cafc4067aad9eea0dc95da67e7df16 to before 0237c47ca17005ea41b510c6116f0257dbf84eabAffected
LinuxLinux
  • 6.3Affected
  • before 6.3Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.