{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139789","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.953Z","datePublished":"2026-11-30T13:38:01.034Z","dateUpdated":"2026-11-30T13:38:01.034Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:38:01.034Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nhugetlbfs: enforce F_SEAL_EXEC in setattr\n\nF_SEAL_EXEC is enforced by shmem_setattr(), but hugetlbfs_setattr() does\nnot check it. As a result, fchmod() can change the execute bits of a\nsealed hugetlbfs memfd.\n\nUse memfd_check_seals_mode() in hugetlbfs_setattr() to reject changes\nto execute bits when F_SEAL_EXEC is set.\n\nThis also fixes the memfd_test hugetlbfs SEAL-EXEC subtest, where\nfchmod() incorrectly succeeded after applying F_SEAL_EXEC.\n\n[ david: use common helper; fixup Fixes:; check only regular files ]"}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/hugetlbfs/inode.c"],"versions":[{"version":"6fd7353829cafc4067aad9eea0dc95da67e7df16","lessThan":"20e999e56828852726f2a15089eb96eef40c5c47","status":"affected","versionType":"git"},{"version":"6fd7353829cafc4067aad9eea0dc95da67e7df16","lessThan":"03ad7616aa417782697899a162cd67a5288c25d8","status":"affected","versionType":"git"},{"version":"6fd7353829cafc4067aad9eea0dc95da67e7df16","lessThan":"d7992c7aac0a7a0251693618c3c75cba95e7cb58","status":"affected","versionType":"git"},{"version":"6fd7353829cafc4067aad9eea0dc95da67e7df16","lessThan":"119d89c16ac257a1e1272392635a86e0d52357ab","status":"affected","versionType":"git"},{"version":"6fd7353829cafc4067aad9eea0dc95da67e7df16","lessThan":"b7f570e7cea761ec7eb4a3a9557a3a082d14e88c","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/hugetlbfs/inode.c"],"versions":[{"version":"6.3","status":"affected"},{"version":"0","lessThan":"6.3","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.4-rc2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/20e999e56828852726f2a15089eb96eef40c5c47"},{"url":"https://git.kernel.org/stable/c/03ad7616aa417782697899a162cd67a5288c25d8"},{"url":"https://git.kernel.org/stable/c/d7992c7aac0a7a0251693618c3c75cba95e7cb58"},{"url":"https://git.kernel.org/stable/c/119d89c16ac257a1e1272392635a86e0d52357ab"},{"url":"https://git.kernel.org/stable/c/b7f570e7cea761ec7eb4a3a9557a3a082d14e88c"}],"title":"hugetlbfs: enforce F_SEAL_EXEC in setattr","x_generator":{"engine":"bippy-1.2.0"}}}}