CVE-2026-45903: bpf: Fix memory access flags in helper prototypes

Published May 27, 2026
·
Updated

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

bpf: Fix memory access flags in helper prototypes

After commit 37cce22dbd51 ("bpf: verifier: Refactor helper access type tracking"), the verifier started relying on the access type flags in helper function prototypes to perform memory access optimizations.

Currently, several helper functions utilizing ARGPTRTOMEM lack the corresponding MEMRDONLY or MEMWRITE flags. This omission causes the verifier to incorrectly assume that the buffer contents are unchanged across the helper call. Consequently, the verifier may optimize away subsequent reads based on this wrong assumption, leading to correctness issues.

For bpfgetstackprotorawtp, the original MEMRDONLY was incorrect since the helper writes to the buffer. Change it to ARGPTRTOUNINITMEM which correctly indicates write access to potentially uninitialized memory.

Similar issues were recently addressed for specific helpers in commit ac44dcc788b9 ("bpf: Fix verifier assumptions of bpfdpath's output buffer") and commit 2eb7648558a7 ("bpf: Specify access type of bpfsysctlgetname args").

Fix these prototypes by adding the correct memory access flags.

Affected Software

3 affected components
Linux Linux kernel
Linux Linux kernel>=6.14<6.18.14
Linux Linux kernel>=6.19<6.19.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel (BPF verifier/helper prototypes) to a version that resolves this vulnerability.

    Patch 37cce22dbd51
  2. Upgrade

    Upgrade Linux kernel (BPF verifier/helper prototypes) to a version that resolves this vulnerability.

    Patch ac44dcc788b9
  3. Upgrade

    Upgrade Linux kernel (BPF verifier/helper prototypes) to a version that resolves this vulnerability.

    Patch 2eb7648558a7

Event History

May 27, 2026
CVE Published
via MITRE·12:17 PM
Data Sourced
via MITRE·12:17 PM
Description
Data Sourced
via NVD·02:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Does exploitation require remote access or user interaction?

The CVSS vector rates the attack vector as local and user interaction as not required. It also requires low privileges.

2

What is the assessed security impact?

The CVSS assessment assigns high confidentiality and availability impacts, with no integrity impact. The reported issue stems from incorrect verifier assumptions that buffer contents remain unchanged across certain helper calls.

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