CVE-2026-139789: Linux kernel · hugetlbfs: enforce F_SEAL_EXEC in setattr
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 2 Dec 2026, 18:37 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10linuxpkg:deb/ubuntu/linux?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available that enforces the F_SEAL_EXEC seal in hugetlbfs_setattr() by using memfd_check_seals_mode(). Users should apply the updated Linux kernel versions containing this patch to prevent unauthorized changes to execute bits on sealed memfd files.
Description
A vulnerability in the Linux kernel's hugetlbfs implementation allowed changes to execute permission bits on sealed memfd files despite the F_SEAL_EXEC seal being set. This was due to hugetlbfs_setattr() not enforcing the F_SEAL_EXEC flag, unlike shmem_setattr(). The issue was fixed by adding a check using memfd_check_seals_mode() in hugetlbfs_setattr() to prevent execute bit changes when F_SEAL_EXEC is set.
References
- ubuntu.com/security/CVE-2026-139789 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-139789 (opens in a new tab)
- git.kernel.org/stable/c/20e999e56828852726f2a15089eb96eef40c5c47 (opens in a new tab)
- git.kernel.org/stable/c/03ad7616aa417782697899a162cd67a5288c25d8 (opens in a new tab)
- git.kernel.org/stable/c/119d89c16ac257a1e1272392635a86e0d52357ab (opens in a new tab)
- git.kernel.org/stable/c/d7992c7aac0a7a0251693618c3c75cba95e7cb58 (opens in a new tab)
- git.kernel.org/stable/c/b7f570e7cea761ec7eb4a3a9557a3a082d14e88c (opens in a new tab)