Missing seal check lets fchmod change sealed hugetlbfs memfd permissions
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
In the Linux kernel from 6.3 before the fixed versions, hugetlbfs_setattr() does not check the F_SEAL_EXEC seal, so fchmod() can change the execute bits of a sealed hugetlbfs memfd. A local user with access to such a memfd can change its execute permissions despite the seal, which the shmem implementation already prevents.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: hugetlbfs: enforce F_SEAL_EXEC in setattr F_SEAL_EXEC is enforced by shmem_setattr(), but hugetlbfs_setattr() does not check it. As a result, fchmod() can change the execute bits of a sealed hugetlbfs memfd. Use memfd_check_seals_mode() in hugetlbfs_setattr() to reject changes to execute bits when F_SEAL_EXEC is set. This also fixes the memfd_test hugetlbfs SEAL-EXEC subtest, where fchmod() incorrectly succeeded after applying F_SEAL_EXEC. [ david: use common helper; fixup Fixes:; check only regular files ]
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update the Linux kernel to 6.6.163, 6.12.119, 6.18.65, or 7.3.6, or to 7.4-rc2 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc2
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139789
- 2026-11-30 Alias added: GHSA-88gq-v6r9-x943
References
Other 5
- https://git.kernel.org/stable/c/20e999e56828852726f2a15089eb96eef40c5c47
- https://git.kernel.org/stable/c/03ad7616aa417782697899a162cd67a5288c25d8
- https://git.kernel.org/stable/c/d7992c7aac0a7a0251693618c3c75cba95e7cb58
- https://git.kernel.org/stable/c/119d89c16ac257a1e1272392635a86e0d52357ab
- https://git.kernel.org/stable/c/b7f570e7cea761ec7eb4a3a9557a3a082d14e88c
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139789 · CVE Program
- CVE-2026-139789 · NVD
- GHSA-88gq-v6r9-x943 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences