+11
−3
Loading
The compiler sometimes stores the result of a PTR_TO_ARENA and SCALAR operation into the scalar register rather than the pointer register. Relax the verifier to allow operations between a source arena register and a destination non-arena register, marking the destination's value as a PTR_TO_ARENA. Signed-off-by:Emil Tsalapatis <emil@etsalapatis.com> Acked-by:
Song Liu <song@kernel.org> Fixes: 6082b6c3 ("bpf: Recognize addr_space_cast instruction in the verifier.") Link: https://lore.kernel.org/r/20260412174546.18684-2-emil@etsalapatis.com Signed-off-by:
Alexei Starovoitov <ast@kernel.org>