CVE-2026-74720: bpf: Preserve pointer state for commuted arithmetic

Published Aug 22, 2026
·
Updated

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

bpf: Preserve pointer state for commuted arithmetic

When scalar += pointer is handled in adjustptrminmaxvals(), the destination register inherits the pointer state from the source pointer. Copying only selected fields is fragile because pointer provenance is tracked by several bpfregstate fields.

Use the caller's temporary offset register to preserve the scalar operand while replacing the destination with the full pointer state. This preserves the frame number for PTRTOSTACK registers and keeps parent identity fields consistent.

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 22, 2026
CVE Published
via MITRE·03:33 PM
Data Sourced
via MITRE·03:33 PM
Description

Frequently Asked Questions

1

What conditions are required to reach the affected code path?

The issue is triggered when the BPF verifier handles commuted arithmetic in which a scalar is added to a pointer, specifically the scalar += pointer case in adjust_ptr_min_max_vals(). The provided information does not identify a particular BPF program source, privilege level, or runtime configuration required to submit such a program.

2

What pointer types or verifier state can be affected?

PTR_TO_STACK register handling is specifically affected because incomplete pointer-state copying can lose the frame number. Parent identity fields can also become inconsistent because pointer provenance is tracked across several bpf_reg_state fields.

3

What does the fix change?

The fix preserves the scalar operand in a temporary offset register and replaces the destination register with the complete state of the source pointer. This avoids copying only selected pointer-state fields and preserves provenance, frame-number, and parent-identity information.

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