Re: [syzbot] [netfilter?] KASAN: use-after-free Read in nf_hook_entry_head

From: syzbot

Date: Wed Mar 04 2026 - 10:32:39 EST


Hello,

syzbot tried to test the proposed patch but the build/boot failed:

failed to apply patch:
checking file net/netfilter/nf_tables_api.c
Hunk #1 succeeded at 9834 (offset 225 lines).
Hunk #2 FAILED at 9617.
1 out of 2 hunks FAILED



Tested on:

commit: 4c51f90d selftests/bpf: Add powerpc support for get_pr..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git
kernel config: https://syzkaller.appspot.com/x/.config?x=93740e6c6567fcec
dashboard link: https://syzkaller.appspot.com/bug?extid=bb9127e278fa198e110c
compiler:
patch: https://syzkaller.appspot.com/x/patch.diff?x=179298d6580000