[PATCH bpf-next 0/4] bpf: Follow up on the patch list

From: Qiliang Yuan

Date: Mon Nov 02 2026 - 07:32:36 EST


Alexei listed what the patch list series [1] still needed when he
applied it [2]. This series covers items 1, 2, 3 and 5 of that list:

item problem patch
1 the tests break with bpf_jit_harden at 2 2
2 the out-of-range test ignores the insn number 3
3 the comments on the aux data rules are gone 1
5 no test has a second patch with a jump 4

Item 4 is about a commit log that is already in the tree. Items 10-12,
bugs that were there before the series, come as separate fixes.

With net.core.bpf_jit_harden at 0 and at 2 before the run,
verifier_patch_list and patch_list pass and leave the sysctl as it
was. Without patch 2 and with the sysctl at 2, 8 verifier_patch_list
tests and patch_list/line_and_func_info fail. test_verifier and
test_progs show no new failures.

[1] https://lore.kernel.org/r/20261102012940.1756142-1-alexei.starovoitov@xxxxxxxxx
[2] https://lore.kernel.org/bpf/DMKHZS5B5CNO.186F6YH1T6YU4@xxxxxxxxx/

Signed-off-by: Qiliang Yuan <odys.yuan@xxxxxxxxx>
---
Qiliang Yuan (4):
bpf: Document the aux data rules of patched instructions
selftests/bpf: Run the patch list tests with bpf_jit_harden off
selftests/bpf: Match the insn number of the out-of-range message
selftests/bpf: Cover a second patch with a jump behind a barrier

kernel/bpf/fixups.c | 18 +++++++++-
.../testing/selftests/bpf/prog_tests/patch_list.c | 10 +++++-
tools/testing/selftests/bpf/prog_tests/verifier.c | 17 +++++++--
.../selftests/bpf/progs/verifier_patch_list.c | 41 +++++++++++++++++++++-
4 files changed, 81 insertions(+), 5 deletions(-)
---
base-commit: cd5bc55288d4fd999595c8f2af6a5408cbe92a52
change-id: 20261102-bpf-patch-list-followups-e6638030c913

Best regards,
--
Qiliang Yuan <odys.yuan@xxxxxxxxx>