CVE-2026-139297: bpf: Don't let an extension reach further into the context than its target

Published Nov 30, 2026
·
Updated

bpf: Don't let an extension reach further into the context than its target

Affected Software

8 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.6.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux*
debian/linux*
debian/linux<7.3.6-1
7.3.6-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-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.12.120
  2. Upgrade

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

    Fixed in 6.18.65
  3. Upgrade

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

    Fixed in 7.3.6
  4. Upgrade

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

    Fixed in 7.3.6-1
  5. Compensating control

    Reject attachment of a BPF extension when its max_ctx_offset exceeds the max_ctx_offset of the target program.

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 uses are exposed to this issue?

The issue affects BPF program extensions associated with raw tracepoints, tracepoints, or syscall programs when an extension can access more of the context than the program it extends. It can also occur during BPF test runs when the extension reads beyond the supplied context.

2

What condition is required to trigger the out-of-bounds read?

An extension, including an extension of one of the target program's global functions, must have a max_ctx_offset greater than that of its target program. The target program must not itself touch as much context as its extension reaches.

3

What evidence could indicate that the issue has been triggered?

KASAN may report stack-out-of-bounds or slab-out-of-bounds reads from the generated BPF extension program. The invalid read may access memory behind tracepoint arguments, memory beyond a test-run context, or NULL when no context is present.

4

What does the resolved behavior do differently?

The fix refuses attachment of an extension that reaches further into the context than the program it extends. Programs that rely on extensions accessing context must themselves access at least the same extent of that context.

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