On Sat, Aug 24, 2024 at 12:20:31AM GMT, Daniel Borkmann wrote: > For all non-tracing helpers which have ARG_PTR_TO_{LONG,INT} | MEM_UNINIT > input arguments, zero the value for the case of an error as otherwise it > could leak memory. For tracing, it is not needed given CAP_PERFMON can > already read all kernel memory anyway. > > Fixes: 8a67f2de9b1d ("bpf: expose bpf_strtol and bpf_strtoul to all program types") > Fixes: d7a4cb9b6705 ("bpf: Introduce bpf_strtol and bpf_strtoul helpers") > Signed-off-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx> [...] Acked-by: Shung-Hsi Yu <shung-hsi.yu@xxxxxxxx>