Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139290

bpf: Follow the head if an skb is written from a slice

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Follow the head if an skb is written from a slice The source of bpf_dynptr_write() may be a slice of the skb which is written to, that is a pointer into its head. bpf_dynptr_copy() does it by itself for a copy inside of one skb, if the source is linear and the destination is not. __bpf_skb_store_bytes() and __bpf_skb_meta_store_bytes() make the skb writable first. If that reallocates the head, the source points to the old one, and freed memory is copied into the packet. The offsets in the head do not change when it is reallocated here. Move the source along with the head.

Affected products and versions

Linux Linux2012c867c8005d72c949e274133df429ece78808 – < 7daa965cd38e853c97b54f32c65e1f1b1b52bf98 · 2012c867c8005d72c949e274133df429ece78808 – < cedda0bbb0635f936bc557d0d3dde2183d84a06a · 2012c867c8005d72c949e274133df429ece78808 – < 6672e5657c306a7880723d0e4cfb88ec340cf570 · 2012c867c8005d72c949e274133df429ece78808 – < 1c19f2b3b2f3b55c8017092257634cb8229b7d97Fixed in: 7daa965cd38e853c97b54f32c65e1f1b1b52bf98 · cedda0bbb0635f936bc557d0d3dde2183d84a06a · 6672e5657c306a7880723d0e4cfb88ec340cf570 · 1c19f2b3b2f3b55c8017092257634cb8229b7d97
Linux Linux6.5Fixed in: 6.12.120 · 6.18.65 · 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.