Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-45903
PUBLISHED
More InfoOfficial Page
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
View Known Exploited Vulnerability (KEV) details
Published At-27 May, 2026 | 12:17
Updated At-27 May, 2026 | 12:17
Rejected At-
▼CVE Numbering Authority (CNA)
bpf: Fix memory access flags in helper prototypes

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.

Affected Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • kernel/bpf/helpers.c
  • kernel/bpf/syscall.c
  • kernel/trace/bpf_trace.c
  • net/core/filter.c
Default Status
unaffected
Versions
Affected
  • From 37cce22dbd51a3ef7f6c08c3fb5f1c5075a17fbb before fdfe75161f6e8c41a7d3023fbb815b537107b806 (git)
  • From 37cce22dbd51a3ef7f6c08c3fb5f1c5075a17fbb before aa319592892068bd960c1a1c07bd621085b0c63d (git)
  • From 37cce22dbd51a3ef7f6c08c3fb5f1c5075a17fbb before 802eef5afb1865bc5536a5302c068ba2215a1f72 (git)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • kernel/bpf/helpers.c
  • kernel/bpf/syscall.c
  • kernel/trace/bpf_trace.c
  • net/core/filter.c
Default Status
affected
Versions
Affected
  • 6.14
Unaffected
  • From 0 before 6.14 (semver)
  • From 6.18.14 through 6.18.* (semver)
  • From 6.19.4 through 6.19.* (semver)
  • From 7.0 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/fdfe75161f6e8c41a7d3023fbb815b537107b806
N/A
https://git.kernel.org/stable/c/aa319592892068bd960c1a1c07bd621085b0c63d
N/A
https://git.kernel.org/stable/c/802eef5afb1865bc5536a5302c068ba2215a1f72
N/A
Hyperlink: https://git.kernel.org/stable/c/fdfe75161f6e8c41a7d3023fbb815b537107b806
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/aa319592892068bd960c1a1c07bd621085b0c63d
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/802eef5afb1865bc5536a5302c068ba2215a1f72
Resource: N/A
Details not found