CVE-2026-143351: bpf: Check the offset in bpf_skb_generic_{push,pop}()

Published Dec 3, 2026
·
Updated

bpf: Check the offset in bpfskbgeneric{push,pop}()

Affected Software

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

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

    Fixed in 7.3.7
  4. Upgrade

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

    Fixed in 7.3.7-1
  5. Compensating control

    In bpf_skb_generic_push() and bpf_skb_generic_pop(), return -ENOMEM when off > skb->len; in bpf_skb_generic_pop(), avoid the wrapping off + len check by validating len against skb->len - off.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:22 AM
Data Sourced
via MITRE·09:22 AM
Description
Data Sourced
via OSV·09:22 AM
DescriptionAffected Software
Data Sourced
via NVD·10:18 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the out-of-bounds access?

A BPF program must use skb adjustment or protocol-change operations that derive an offset from the MAC header length. The unsafe cases include an IP header located in a non-linear fragment, or a header ordering where network_header is before mac_header and the resulting unsigned offset becomes very large.

2

What is the potential effect of a successful trigger?

The affected push path can read and write past skb->tail and damage skb_shared_info. The pop path can allow an integer-wrapped bounds check, after which memmove() may read and write far outside the skb.

3

How does the fix change behavior for malformed or inconsistent skb header offsets?

The corrected code returns -ENOMEM when the calculated offset exceeds the skb length, preventing offset arithmetic from wrapping. It also pulls the bytes before the offset into the linear skb area before moving them; programs that try to grow an skb ending before that offset can now fail.

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