Technical impact
The flaw occurs when the kernel clones a socket for BPF storage and fails to clear the reference counter before the clone is linked. As a result, a helper can obtain a reference that is later wiped out, and the socket is freed prematurely. The premature free triggers a kernel memory corruption and a KASAN use‑after‑free error, which can lead to a kernel panic and allows an attacker to gain elevated privileges if the fault is exploited during privileged code execution.
Affected Systems
This defect exists in all Linux kernel implementations that expose the BPF socket storage interface. The impact applies to systems running any Linux kernel version that has not applied the commit referenced in the supplied URLs. The vendor product is Linux kernel itself, affecting all distributions that ship unpatched kernels.
Risk and Exploitability
The CVSS score is not provided, but a use‑after‑free in kernel space is high severity and could be exploited via a malicious BPF program. The EPSS score is unavailable, and the vulnerability is not listed in the CISA KEV catalog. Likely exploitation requires a BPF payload that creates and operates on a socket clone before the storage is linked, which is difficult but possible for a user with permission to load BPF programs. The vulnerability is local in nature and would likely need elevated privileges or an environment where BPF programs can run unrestrained.