# CVE-2026-139290: bpf: Follow the head if an skb is written from a slice

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-11-30T13:33:23.253Z
- Modified: 2026-11-30T14:18:52.760Z
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2012c867c8005d72c949e274133df429ece78808 before 7daa965cd38e853c97b54f32c65e1f1b1b52bf98; from 2012c867c8005d72c949e274133df429ece78808 before cedda0bbb0635f936bc557d0d3dde2183d84a06a; from 2012c867c8005d72c949e274133df429ece78808 before 6672e5657c306a7880723d0e4cfb88ec340cf570; from 2012c867c8005d72c949e274133df429ece78808 before 1c19f2b3b2f3b55c8017092257634cb8229b7d97; 6.5 (not affected: before 6.5; from 6.12.120 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/7daa965cd38e853c97b54f32c65e1f1b1b52bf98>
- <https://git.kernel.org/stable/c/cedda0bbb0635f936bc557d0d3dde2183d84a06a>
- <https://git.kernel.org/stable/c/6672e5657c306a7880723d0e4cfb88ec340cf570>
- <https://git.kernel.org/stable/c/1c19f2b3b2f3b55c8017092257634cb8229b7d97>

## Sources

- CVE List: [CVE-2026-139290](https://www.cve.org/CVERecord?id=CVE-2026-139290), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139290](https://nvd.nist.gov/vuln/detail/CVE-2026-139290), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139290 · Whole record: https://cve.day/CVE-2026-139290.json · Rebuilt by cve.day 2026-11-30T14:32:53.902Z
