Technical impact
This bug occurs in the Linux kernel when a BPF program writes data to a socket buffer via bpf_dynptr_write. The source pointer can come from a slice of the skb (the packet’s head). If the buffer is made writable, the head may be reallocated, leaving the source pointer bound to freed memory. The copy operation then drags stale data into the packet, corrupting kernel memory. This use‑after‑free can lead to arbitrary kernel data modification and potentially privilege escalation or denial of service.
Affected Systems
All Linux kernel deployments that enable BPF with skb write operations are affected. No specific kernel version is listed; the vulnerability is present until the patch referenced in the commit history. Administrators should verify which kernel version they are running and plan an update.
Risk and Exploitability
The CVSS score is not supplied, but the nature of the vulnerability – kernel memory corruption – implies a high risk. EPSS data is unavailable and the issue is not in the CISA KEV list, so no public exploit has been documented. Nevertheless, an attacker who can load malicious BPF code or otherwise trigger a slice write into an skb can exploit the use‑after‑free to alter kernel state.