mbox series

[bpf-next,0/2] bpf: Fix an issue in verifing allow_ptr_leaks

Message ID 20230818083920.3771-1-laoar.shao@gmail.com (mailing list archive)
Headers show
Series bpf: Fix an issue in verifing allow_ptr_leaks | expand

Message

Yafang Shao Aug. 18, 2023, 8:39 a.m. UTC
Patch #1: An issue found in our local 6.1 kernel.
          This issue also exists in bpf-next.
Patch #2: Selftess for #1 

Yafang Shao (2):
  bpf: Fix issue in verifying allow_ptr_leaks
  selftests/bpf: Add selftest for allow_ptr_leaks

 kernel/bpf/verifier.c                           | 17 ++++++------
 tools/testing/selftests/bpf/prog_tests/tc_bpf.c | 36 ++++++++++++++++++++++++-
 tools/testing/selftests/bpf/progs/test_tc_bpf.c | 14 ++++++++++
 3 files changed, 58 insertions(+), 9 deletions(-)