------------[ cut here ]------------ WARNING: CPU: 1 PID: 16396 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: 1 PID: 16396 Comm: syz.2.3144 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 : ffff800023b868d0 x29: ffff800023b868f0 x28: ffff0000c946f110 x27: 0000000000000010 x26: 0000000000000180 x25: 1fffe0001a8e06b8 x24: dfff800000000000 x23: ffff8000137160c0 x22: ffff0000d47035c0 x21: ffff0000d553ca00 x20: 0000000000000000 x19: 0000000000000180 x18: ffff800023b86460 x17: 0000000000000000 x16: ffff8000084c43f0 x15: 0000000000000004 x14: ffff8000171ff500 x13: dfff800000000000 x12: 0000000000000003 x11: 0000000000000200 x10: 0000000000000000 x9 : ffff0000c2008000 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: 265 hardirqs last enabled at (264): [] __local_bh_enable_ip+0x230/0x470 kernel/softirq.c:388 hardirqs last disabled at (265): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (166): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (168): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 84f8d9a77da9b919 ]---