syzbot


WARNING in br_nf_local_in (2)

Status: upstream: reported C repro on 2025/01/08 23:19
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+e59a203c1efd4ba4e6f8@syzkaller.appspotmail.com
First crash: 6d09h, last: 5d23h
Bug presence (2)
Date Name Commit Repro Result
2025/01/09 linux-5.15.y (ToT) 91786f140358 C [report] WARNING in br_nf_local_in
2025/01/09 upstream (ToT) eea6e4b4dfb8 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in br_nf_local_in 1 166d 166d 0/3 auto-obsoleted due to no activity on 2024/11/09 23:29

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4053 at net/bridge/br_netfilter_hooks.c:634 br_nf_local_in+0x42c/0x4a4 net/bridge/br_netfilter_hooks.c:634
Modules linked in:
CPU: 0 PID: 4053 Comm: syz-executor263 Not tainted 5.15.175-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : br_nf_local_in+0x42c/0x4a4 net/bridge/br_netfilter_hooks.c:634
lr : br_nf_local_in+0x42c/0x4a4 net/bridge/br_netfilter_hooks.c:634
sp : ffff80001ffc68d0
x29: ffff80001ffc68f0 x28: ffff0000c269a910 x27: 0000000000000010
x26: 0000000000000180 x25: 1fffe0001a131938 x24: dfff800000000000
x23: ffff8000137160c0 x22: ffff0000d098c9c0 x21: ffff0000d7a1cb40
x20: 0000000000000000 x19: 0000000000000180 x18: 0000000000000402
x17: 0000000000000000 x16: ffff8000084c43f0 x15: 0000000000000088
x14: 1ffff0000296e06c x13: dfff800000000000 x12: 0000000000000003
x11: 0000000000000200 x10: 0000000000000000 x9 : ffff0000d7b9b680
x8 : ffff800010d1538c x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800008046154
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 br_nf_local_in+0x42c/0x4a4 net/bridge/br_netfilter_hooks.c:634
 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
 nf_hook_slow+0xc8/0x1f4 net/netfilter/core.c:584
 nf_hook include/linux/netfilter.h:257 [inline]
 NF_HOOK+0x2b0/0x3e0 include/linux/netfilter.h:300
 br_pass_frame_up+0x29c/0x3ec net/bridge/br_input.c:70
 br_handle_frame_finish+0xe94/0x1264
 br_nf_pre_routing_finish+0x1190/0x1a4c net/bridge/br_netfilter_hooks.c:429
 NF_HOOK+0x690/0x740 include/linux/netfilter.h:302
 br_nf_pre_routing+0xb04/0x102c net/bridge/br_netfilter_hooks.c:538
 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
 nf_hook_bridge_pre net/bridge/br_input.c:242 [inline]
 br_handle_frame+0x86c/0xedc net/bridge/br_input.c:384
 __netif_receive_skb_core+0xf10/0x341c net/core/dev.c:5387
 __netif_receive_skb_one_core net/core/dev.c:5491 [inline]
 __netif_receive_skb+0x114/0x400 net/core/dev.c:5607
 netif_receive_skb_internal net/core/dev.c:5693 [inline]
 netif_receive_skb+0x1e0/0x8c4 net/core/dev.c:5752
 tun_rx_batched+0x568/0x6e4
 tun_get_user+0x2320/0x3774 drivers/net/tun.c:1989
 tun_chr_write_iter+0xfc/0x20c drivers/net/tun.c:2019
 call_write_iter include/linux/fs.h:2174 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x884/0xb44 fs/read_write.c:594
 ksys_write+0x15c/0x26c fs/read_write.c:647
 __do_sys_write fs/read_write.c:659 [inline]
 __se_sys_write fs/read_write.c:656 [inline]
 __arm64_sys_write+0x7c/0x90 fs/read_write.c:656
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 151
hardirqs last  enabled at (150): [<ffff8000081b59a4>] __local_bh_enable_ip+0x230/0x470 kernel/softirq.c:388
hardirqs last disabled at (151): [<ffff800011b4a1ac>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (48): [<ffff80000c9b4030>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31
softirqs last disabled at (50): [<ffff80000c9b3ffc>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18
---[ end trace 680fc19952cc56db ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/09 09:22 linux-5.15.y 91786f140358 f3558dbf .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in br_nf_local_in
2025/01/09 01:09 linux-5.15.y 91786f140358 f3558dbf .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in br_nf_local_in
2025/01/09 03:10 linux-5.15.y 91786f140358 f3558dbf .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in br_nf_local_in
2025/01/08 23:19 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in br_nf_local_in
* Struck through repros no longer work on HEAD.