CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel, specifically in the handling of untrusted BPF Type Format (BTF) pointers, allowing unauthorized write accesses that bypass the intended read-only policy. This could lead to potential data corruption or unauthorized modifications within the kernel, posing a significant risk to system integrity. Linux system administrators and developers utilizing BPF should prioritize addressing this issue to safeguard against exploitation.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Reject writes through untrusted BTF pointers check_ptr_to_btf_access() lets program-type btf_struct_access callbacks validate writes before the default BTF access path rejects non-read accesses. That bypasses the read-only policy for untrusted BTF pointers created by helpers such as bpf_rdonly_cast(). Reject non-read accesses through PTR_UNTRUSTED BTF pointers at the common entry point, before the callback branch to handle all cases.