------------[ cut here ]------------ WARNING: CPU: 1 PID: 3592 at net/core/sock.c:2065 sk_destruct+0x13f/0x180 net/core/sock.c:2065 Modules linked in: CPU: 1 PID: 3592 Comm: sshd Not tainted 5.18.0-rc4-syzkaller-00238-g205557ba9904 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sk_destruct+0x13f/0x180 net/core/sock.c:2065 Code: ff 83 e3 01 89 de e8 10 3c 39 fa 84 db 75 ca e8 27 38 39 fa 4c 89 e7 e8 9f a5 ff ff 5b 5d 41 5c e9 16 38 39 fa e8 11 38 39 fa <0f> 0b e9 28 ff ff ff 4c 89 e7 e8 62 c9 84 fa e9 e5 fe ff ff 4c 89 RSP: 0018:ffffc900001e0818 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000309 RCX: 0000000000000100 RDX: ffff888022febb00 RSI: ffffffff873ff83f RDI: ffff888023f46660 RBP: ffff888023f46600 R08: 0000000000000000 R09: ffff888023f46667 R10: ffffed10047e8ccc R11: 0000000000000000 R12: ffff888023f46828 R13: ffff888023f46630 R14: 0000000000000003 R15: ffff888067fb9b10 FS: 00007fc29268f800(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c001ed3000 CR3: 000000001a671000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_free+0xef/0x3d0 net/core/sock.c:2087 __sock_wfree+0xcf/0x110 net/core/sock.c:2330 skb_orphan include/linux/skbuff.h:3007 [inline] setup_pre_routing+0x24c/0x4a0 net/bridge/br_netfilter_hooks.c:465 br_nf_pre_routing_ipv6+0x14d/0x7b0 net/bridge/br_netfilter_ipv6.c:227 br_nf_pre_routing+0x1477/0x1ec0 net/bridge/br_netfilter_hooks.c:505 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_bridge_pre net/bridge/br_input.c:248 [inline] br_handle_frame+0x8d6/0x1270 net/bridge/br_input.c:392 __netif_receive_skb_core+0xa12/0x3920 net/core/dev.c:5297 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5403 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5519 process_backlog+0x3a0/0x7c0 net/core/dev.c:5847 __napi_poll+0xb3/0x6e0 net/core/dev.c:6413 napi_poll net/core/dev.c:6480 [inline] net_rx_action+0x8ec/0xc60 net/core/dev.c:6567 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 do_softirq.part.0+0xde/0x130 kernel/softirq.c:459 do_softirq kernel/softirq.c:451 [inline] __local_bh_enable_ip+0x102/0x120 kernel/softirq.c:383 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:764 [inline] ip_finish_output2+0x7d0/0x2170 net/ipv4/ip_output.c:229 __ip_finish_output net/ipv4/ip_output.c:306 [inline] __ip_finish_output+0x396/0x650 net/ipv4/ip_output.c:288 ip_finish_output+0x32/0x280 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip_output+0x196/0x310 net/ipv4/ip_output.c:430 dst_output include/net/dst.h:451 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x8fe/0x1c00 net/ipv4/ip_output.c:532 __tcp_transmit_skb+0x190e/0x38b0 net/ipv4/tcp_output.c:1403 tcp_transmit_skb net/ipv4/tcp_output.c:1421 [inline] tcp_write_xmit+0xd93/0x5fe0 net/ipv4/tcp_output.c:2691 __tcp_push_pending_frames+0xaa/0x390 net/ipv4/tcp_output.c:2875 tcp_push+0x499/0x720 net/ipv4/tcp.c:726 tcp_sendmsg_locked+0x2156/0x2fb0 net/ipv4/tcp.c:1421 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1449 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:819 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 sock_write_iter+0x283/0x3c0 net/socket.c:1061 call_write_iter include/linux/fs.h:2050 [inline] new_sync_write+0x38a/0x560 fs/read_write.c:504 vfs_write+0x7c0/0xac0 fs/read_write.c:591 ksys_write+0x1e8/0x250 fs/read_write.c:644 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc2922289a3 Code: 8b 15 d9 f4 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 RSP: 002b:00007ffe03ce8dd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000000068c RCX: 00007fc2922289a3 RDX: 000000000000068c RSI: 000055b58ff2e380 RDI: 0000000000000004 RBP: 000055b58ff14e10 R08: 0000000000000000 R09: 00007ffe03da7080 R10: 00007ffe03da70f0 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000000001 R14: 00007ffe03ce8e48 R15: 00007ffe03ce8ec8