Technical impact
The vulnerability exists in the Linux kernel’s hugetlbfs subsystem, specifically in hugetlbfs_setattr. While the kernel enforces the F_SEAL_EXEC seal in shmem_setattr, the hugetlbfs implementation mistakenly omits this check, allowing a caller to fchmod a hugetlbfs memfd and flip its execute bits even when the seal is present. The flaw is an improper authorization check (CWE-284) that can force a non‑executable file to become executable within the calling process’s context, enabling execution of arbitrary code and potentially escalating privileges within that process.
Affected Systems
All Linux kernel versions that have not integrated the fixed commit (e.g., the revisions referenced at https://git.kernel.org/stable/c/03ad7616aa417…) are affected. The issue is confined to the hugetlbfs filesystem, which is compiled into most distributions by default. Administrators should verify that their running kernel contains the patch commit or is at least newer than the vulnerable commit.
Risk and Exploitability
The vulnerability is local; an attacker must be able to open or attach to a hugetlbfs memfd and invoke fchmod on it, a capability normally restricted to the owning process. This can lead to execution of arbitrary code with the same privileges as the process, but the impact does not naturally cross privilege boundaries. The EPSS score, less than 1%, indicates a very low probability of exploitation. The CVSS score is not provided, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw bypasses a kernel security seal, it is treated as critical and warrants immediate patching. The likely attack vector is local via fchmod on a hugetlbfs descriptor, inferred from the nature of the bug and the lack of explicit remote exploitation details.