[PATCH bpf-next v1 0/2] Fix for check_func_arg_reg_off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove a leftover hunk in check_func_arg_reg_off that incorrectly
bypasses reg->off == 0 requirement for release kfuncs and helpers.

Kumar Kartikeya Dwivedi (2):
  bpf: Fix check_func_arg_reg_off bug for graph root/node
  selftests/bpf: Add test for bpf_obj_drop with bad reg->off

 kernel/bpf/verifier.c                         | 11 ----------
 .../bpf/progs/local_kptr_stash_fail.c         | 20 +++++++++++++++++++
 2 files changed, 20 insertions(+), 11 deletions(-)


base-commit: fb30159426439bfe9a1435c0555f67201198988c
-- 
2.41.0





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux