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

Published Nov 30, 2026
·
Updated

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 bpfdynptrwrite() may be a slice of the skb which is written to, that is a pointer into its head. bpfdynptrcopy() does it by itself for a copy inside of one skb, if the source is linear and the destination is not.

bpfskbstorebytes() and bpfskbmetastorebytes() 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 Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
Description

Frequently Asked Questions

1

What conditions are required for this issue to occur?

The source of bpf_dynptr_write() must be a slice of the same skb being written, meaning the source points into the skb head. The skb must then be made writable in a way that reallocates its head before the source bytes are copied.

2

What is the impact when the condition is triggered?

The source pointer can continue to reference the old, freed skb head after reallocation. As a result, freed memory may be copied into the packet.

3

What should teams do if they cannot immediately update?

The provided data identifies this as resolved in the Linux kernel and supplies stable-kernel commit references. No supported configuration workaround or affected version range is provided.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203