Technical impact
The vulnerability arises because the BPF program stream read function accepts a 32‑bit unsigned length token, but the internal reader interprets it as a signed 32‑bit integer. When the caller supplies a value larger than the maximum signed 32‑bit integer, the value is interpreted as a negative number, causing the kernel to perform a negative copy length. The generic user‑space copy check emits a warning and then returns EFAULT, effectively aborting the BPF program. The negative consumption length can trigger a kernel fault or unexpected behavior, resulting in a denial‑of‑service condition for the affected process and potentially the entire system if privileged code paths are involved.
Affected Systems
This flaw exists in all Linux kernel releases that include the bpf: stream read functionality up to the point of the supplied patch. It affects the generic Linux kernel product; no specific vendor or product version is listed, so all affected kernels before the patch are impacted. The CWE most applicable to this type of bug is unsigned-to‑signed conversion error.
Risk and Exploitability
The EPSS score is not available and the vulnerability is not listed in CISA KEV, indicating no publicly known exploits yet. The issue requires the ability to submit a BPF program that uses the stream read interface, which typically requires high privilege or a compromised kernel. The attack vector is therefore limited to local malicious or elevated users who can load BPF programs. While the bug does not provide remote code execution, it can be leveraged to cause a kernel fault, leading to a denial‑of‑service or potentially escalating privileges if a crash can be forced.