Technical impact
The vulnerability is a bug in the SELinux subsystem of the Linux kernel that handled permission checks for BPF tokens. The kernel performed multiple lookups of the creator’s security identifier (SID) using the token’s file descriptor when creating a token or loading a program. The same SID could be derived from the resolved path or the token data itself. The code removal simplifies the logic and avoids a potential time‑of‑check to time‑of‑use (TOCTOU) race condition. Based on the description, an attacker might be able to manipulate the token file descriptor after permission checks to bypass SELinux policies, but the CVE data does not confirm an actual exploitation path. The fix removes the redundant lookups and eliminates the race, ensuring correct permission enforcement.
Affected Systems
All Linux kernel releases that contain the obsolete SELinux BPF token code are affected. The referenced commits mark the point where the bug was fixed; users running kernel versions prior to these changes are impacted.
Risk and Exploitability
The CVSS score is 6.3, indicating a moderate impact. The EPSS score of < 1% suggests a low likelihood of exploitation at this time. The vulnerability is not listed in CISA’s KEV catalog. Exploitation would require the ability to load eBPF programs and manipulate token file descriptors, a capability typically restricted to privileged users. If such conditions exist, the bug could potentially lead to privilege escalation, but the CVE data does not assert that an exploit exists.