mm/shmem: honour F_SEAL_EXEC when an ACL is set (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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 ]
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
European references
- ENISA EUVD · EUVD-2026-131029
- GCVE · GCVE-0-2026-99579
CERT-FR advisories
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1638 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 6fd7353829cafc4067aad9eea0dc95da67e7df16 < 37639e667dd6062fc95ab63f52fc1a34d91a0631 affected : ≥ 6fd7353829cafc4067aad9eea0dc95da67e7df16 < cd5769d84a3cdf8a935c4fd8987337f1eeed1828 affected : ≥ 6fd7353829cafc4067aad9eea0dc95da67e7df16 < e9fcc5bfa1c8999772c99ff91d1ec0bcc267a02c affected : ≥ 6fd7353829cafc4067aad9eea0dc95da67e7df16 < 7a5eae5fee348b6d04d44577be5df079dc692111 affected : ≥ 6fd7353829cafc4067aad9eea0dc95da67e7df16 < 0237c47ca17005ea41b510c6116f0257dbf84eab Other versions : unaffected |
| Linux · Linux | affected : 6.3 unaffected : ≥ 0 < 6.3 unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.118 ≤ 6.12.* unaffected : ≥ 6.18.64 ≤ 6.18.* unaffected : ≥ 7.3.5 ≤ 7.3.* unaffected : ≥ 7.4-rc2 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |