CVE-2026-45903
publishedbpf: Fix memory access flags in helper prototypes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux37cce22dbd51a3ef7f6c08c3fb5f1c5075a17fbb to < fdfe75161f6e8c41a7d3023fbb815b537107b806 · 37cce22dbd51a3ef7f6c08c3fb5f1c5075a17fbb to < aa319592892068bd960c1a1c07bd621085b0c63d · 37cce22dbd51a3ef7f6c08c3fb5f1c5075a17fbb to < 802eef5afb1865bc5536a5302c068ba2215a1f72 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.14 through 6.18.* (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1514 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-1514 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-1514 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-1514 |
Description
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 ARG_PTR_TO_MEM lack the corresponding MEM_RDONLY or MEM_WRITE 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 bpf_get_stack_proto_raw_tp, the original MEM_RDONLY was incorrect since the helper writes to the buffer. Change it to ARG_PTR_TO_UNINIT_MEM 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 bpf_d_path's output buffer") and commit 2eb7648558a7 ("bpf: Specify access type of bpf_sysctl_get_name args"). Fix these prototypes by adding the correct memory access flags.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 37cce22dbd51a3ef7f6c08c3fb5f1c5075a17fbb to < fdfe75161f6e8c41a7d3023fbb815b537107b806 (affected · git)37cce22dbd51a3ef7f6c08c3fb5f1c5075a17fbb to < aa319592892068bd960c1a1c07bd621085b0c63d (affected · git)37cce22dbd51a3ef7f6c08c3fb5f1c5075a17fbb to < 802eef5afb1865bc5536a5302c068ba2215a1f72 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.14 through 6.18.* (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
bpf: Fix memory access flags in helper prototypes
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 095c0b9a31f30bb94cf6b1ef8d06d82e68d352f4b76e79eed7ec682ebafeb93a
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record