CVE-2026-139292: bpf: Let bpf_dynptr_write() mark a global function

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

bpf: Let bpfdynptrwrite() mark a global function

The caller of a global function loses its packet pointers if the function may change packet data. That is found out by a scan for calls of the helpers which bpfhelperchangespktdata() lists.

bpfdynptrwrite() is not on the list, because it depends on the type of the dynptr: checkhelpercall() looks at it. The scan cannot do that, and so a global function which makes a dynptr from the skb, or gets one as an argument, and writes through it counts as harmless. The write can reallocate the head of the skb, and the caller goes on with pointers into the old one, which has been freed.

Let every call of bpfdynptrwrite() mark the function, as a tail call does. The same mark decides whether a program may replace a function.

Affected Software

7 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.6.90<6.7
6.7
linux/kernel>=6.12.25<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux*
debian/linux<7.3.6-1
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.7
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  5. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1

Event History

Nov 30, 2026
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
Description
Data Sourced
via OSV·01:33 PM
DescriptionAffected Software
Data Sourced
via NVD·02:18 PM
Description

Frequently Asked Questions

1

Which BPF program patterns should be prioritized for review?

Review global BPF functions that create a dynptr from an skb, or receive such a dynptr as an argument, and call bpf_dynptr_write(). They are relevant when their callers retain packet pointers across the function call.

2

What unsafe state can result from the affected verifier behavior?

A dynptr write can reallocate the skb head. If the caller continues using packet pointers into the previous head, it can access memory that has already been freed.

3

What does the resolution change in verifier handling?

The resolution makes every call to bpf_dynptr_write() mark the containing function as potentially changing packet data, similarly to a tail call. That mark also determines whether a program may replace a function.

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