Technical impact
An unprivileged user can write a zero‑byte "security.capability" extended attribute to an executable file. The Linux kernel previously skipped the capability validation function when the write size was zero, allowing the attribute to be set without requiring CAP_SETFCAP or write permission on the inode. When the binary is subsequently executed, the kernel attempts to read the capabilities from disk; the empty attribute fails a size check and causes execve(2) to return –EINVAL, effectively preventing the binary from running.
Affected Systems
The vulnerability affects Linux kernel implementations in all releases that have not yet incorporated the patch that forces cap_convert_nscap() to run regardless of attribute size. No specific version numbers are listed; the fix applies to any kernel before the commit that added this behavior.
Risk and Exploitability
Based on the description, it is inferred that exploitation requires local write access to the target executable and the ability to set the "security.capability" extended attribute. The attack vector is likely a local modification of an executable’s extended attributes. The input does not mention any publicly discovered exploits; thus we assume none exist. The CVE is not listed in the CISA KEV catalog, indicating a lower exploitation probability. Nevertheless, because a zero‑byte capability attribute can prevent critical binaries from running, the risk can be moderate to high in environments where non‑privileged users may alter executables or attacker‑controlled files are placed in executable directories.