Skip to content

bpf: Fix an issue in verifing allow_ptr_leaks

Yafang Shao bpf stable 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 0 repliesApplied 2/2
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Add acked-by from Eduard
- Fix build error reported by Alexei

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2bpf: Fix issue in verifying allow_ptr_leakskernel/bpf/verifier.c+9 -80 repliesApplied
2/2selftests/bpf: Add selftest for allow_ptr_leakstools/testing/selftests/bpf/prog_tests/tc_bpf.c tools/testing/selftests/bpf/progs/test_tc_bpf.c+48 -10 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchEduard Zingerman
1/2A-b
2/2

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

Read the v2 thread

Cover letter [PATCH v2 bpf-next 0/2] bpf: Fix an issue in verifing allow_ptr_leaks

Patch #1: An issue found in our local 6.1 kernel.
This issue also exists in bpf-next.
Patch #2: Selftess for #1

v1->v2:
- Add acked-by from Eduard
- Fix build error reported by Alexei

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 | 13 +++++++++
 3 files changed, 57 insertions(+), 9 deletions(-)
Signature · 1 line
1.8.3.1