Re: [PATCH bpf v4 00/20] selftests/bpf: Fixes for userspace ASAN

From: patchwork-bot+netdevbpf

Date: Mon Feb 23 2026 - 22:01:42 EST


Hello:

This series was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Mon, 23 Feb 2026 11:07:16 -0800 you wrote:
> This series includes various fixes aiming to enable test_progs run
> with userspace address sanitizer on BPF CI.
>
> The first five patches add a simplified implementation of strscpy() to
> selftests/bpf and then replace strcpy/strncpy usages across the tests
> with it. See relevant discussions [1][2].
>
> [...]

Here is the summary with links:
- [bpf,v4,01/20] selftests/bpf: Add simple strscpy() implementation
https://git.kernel.org/bpf/bpf/c/63c49efc987a
- [bpf,v4,02/20] selftests/bpf: Replace strcpy() calls with strscpy()
https://git.kernel.org/bpf/bpf/c/6a087ac23f5b
- [bpf,v4,03/20] selftests/bpf: Replace strncpy() with strscpy()
https://git.kernel.org/bpf/bpf/c/05849ec34f3d
- [bpf,v4,04/20] selftests/bpf: Use strscpy in bpftool_helpers.c
https://git.kernel.org/bpf/bpf/c/f074d8941c29
- [bpf,v4,05/20] selftests/bpf: Use memcpy() for bounded non-NULL-terminated copies
https://git.kernel.org/bpf/bpf/c/6fcf7925e334
- [bpf,v4,06/20] selftests/bpf: Pass through build flags to bpftool and resolve_btfids
https://git.kernel.org/bpf/bpf/c/b1dc4f39b541
- [bpf,v4,07/20] resolve_btfids: Fix memory leaks reported by ASAN
https://git.kernel.org/bpf/bpf/c/08a4ab51771f
- [bpf,v4,08/20] selftests/bpf: Add DENYLIST.asan
https://git.kernel.org/bpf/bpf/c/7661538bb7d2
- [bpf,v4,09/20] selftests/bpf: Refactor bpf_get_ksyms() trace helper
https://git.kernel.org/bpf/bpf/c/536abce60307
- [bpf,v4,10/20] selftests/bpf: Fix memory leaks in tests
https://git.kernel.org/bpf/bpf/c/f8e7eccf33d3
- [bpf,v4,11/20] selftests/bpf: Fix cleanup in check_fd_array_cnt__fd_array_too_big()
https://git.kernel.org/bpf/bpf/c/e4093ebf3db1
- [bpf,v4,12/20] veristat: Fix a memory leak for preset ENUMERATOR
https://git.kernel.org/bpf/bpf/c/10d19e708d3b
- [bpf,v4,13/20] selftests/bpf: Fix use-after-free in xdp_metadata test
https://git.kernel.org/bpf/bpf/c/4650dd3ea4ac
- [bpf,v4,14/20] selftests/bpf: Fix double thread join in uprobe_multi_test
https://git.kernel.org/bpf/bpf/c/a9b15811ef10
- [bpf,v4,15/20] selftests/bpf: Fix resource leaks caused by missing cleanups
https://git.kernel.org/bpf/bpf/c/547a83e93a48
- [bpf,v4,16/20] selftests/bpf: Free bpf_object in test_sysctl
https://git.kernel.org/bpf/bpf/c/1907d7a6ca0f
- [bpf,v4,17/20] selftests/bpf: Fix array bounds warning in jit_disasm_helpers
https://git.kernel.org/bpf/bpf/c/68da3afd0bf0
- [bpf,v4,18/20] selftests/bpf: Fix out-of-bounds array access bugs reported by ASAN
https://git.kernel.org/bpf/bpf/c/a3f40c2890e9
- [bpf,v4,19/20] selftests/bpf: Check BPFTOOL env var in detect_bpftool_path()
https://git.kernel.org/bpf/bpf/c/fe9f7aa74767
- [bpf,v4,20/20] selftests/bpf: Don't override SIGSEGV handler with ASAN
https://git.kernel.org/bpf/bpf/c/db7337948c7b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html