Re: [PATCH v3 1/2] bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS

From: Alexei Starovoitov
Date: Fri Jan 12 2024 - 12:57:29 EST


On Fri, Jan 12, 2024 at 7:20 AM Hao Sun <sunhao.th@xxxxxxxxx> wrote:
>
> For PTR_TO_FLOW_KEYS, check_flow_keys_access() only uses fixed off
> for validation. However, variable offset ptr alu is not prohibited
> for this ptr kind. So the variable offset is not checked.

Why resend v3?
What changed from v2?