Skip to content

bpf: add missing check_func_arg_reg_off() to prevent out-of-bounds memory accesses

Matt Bobrowski bpf 2 versions – Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied 2/2
  2. v11 patch 2 repliesSuperseded

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2bpf: add missing check_func_arg_reg_off() to prevent out-of-bounds memory accesseskernel/bpf/verifier.c+12 -71 replyApplied
2/2bpf: add new negative selftests to cover missing check_func_arg_reg_off() and reg->type checktools/testing/selftests/bpf/progs/dynptr_fail.c tools/testing/selftests/bpf/progs/test_kfunc_dynptr_param.c tools/testing/selftests/bpf/progs/user_ringbuf_fail.c+47 -10 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKumar Kartikeya DwivediEduard Zingerman
1/2A-b A-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread