CVE-2026-139290

Source
https://cve.org/CVERecord?id=CVE-2026-139290
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139290.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139290
Downstream
Published
2026-11-30T13:33:23Z
Modified
2026-11-30T15:01:56Z
Summary
bpf: Follow the head if an skb is written from a slice
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139290.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2012c867c8005d72c949e274133df429ece78808
Fixed
7daa965cd38e853c97b54f32c65e1f1b1b52bf98
Fixed
cedda0bbb0635f936bc557d0d3dde2183d84a06a
Fixed
6672e5657c306a7880723d0e4cfb88ec340cf570
Fixed
1c19f2b3b2f3b55c8017092257634cb8229b7d97

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139290.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139290.json"