------------[ cut here ]------------ WARNING: CPU: 1 PID: 5096 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x6ef/0x8b0 net/ipv4/af_inet.c:155 Modules linked in: CPU: 1 PID: 5096 Comm: syz-executor370 Not tainted 6.7.0-rc8-syzkaller-01946-gee93b1ffde3d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:inet_sock_destruct+0x6ef/0x8b0 net/ipv4/af_inet.c:155 Code: 0f 0b 90 e9 fd fd ff ff e8 ae e4 7e f8 90 0f 0b 90 e9 33 fe ff ff e8 a0 e4 7e f8 90 0f 0b 90 e9 87 fd ff ff e8 92 e4 7e f8 90 <0f> 0b 90 e9 8f fe ff ff e8 b4 de d5 f8 e9 68 fc ff ff 48 89 ef e8 RSP: 0018:ffffc900001f0db0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88814b824100 RCX: ffffffff89089bee RDX: ffff8880796d8000 RSI: ffffffff89089d5e RDI: 0000000000000005 RBP: 00000000fffff300 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffff300 R11: 0000000000000001 R12: ffff88814b824128 R13: ffff88814b824260 R14: 0000000000000000 R15: 0000000000000002 FS: 00007f20b311b6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000100 CR3: 0000000079689000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x4d/0x740 net/core/sock.c:2173 rcu_do_batch kernel/rcu/tree.c:2158 [inline] rcu_core+0x819/0x1680 kernel/rcu/tree.c:2431 __do_softirq+0x21a/0x8de kernel/softirq.c:553 do_softirq kernel/softirq.c:454 [inline] do_softirq+0xaa/0xe0 kernel/softirq.c:441 __local_bh_enable_ip+0xfc/0x120 kernel/softirq.c:381 local_bh_enable include/linux/bottom_half.h:33 [inline] tun_rx_batched+0x43a/0x780 drivers/net/tun.c:1580 tun_get_user+0x29e3/0x3bc0 drivers/net/tun.c:2002 tun_chr_write_iter+0xe8/0x210 drivers/net/tun.c:2048 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x64f/0xdf0 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f20b315a6bf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 29 81 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 7c 81 02 00 48 RSP: 002b:00007f20b311b200 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f20b31e53e8 RCX: 00007f20b315a6bf RDX: 000000000000004a RSI: 0000000020000240 RDI: 00000000000000c8 RBP: 00007f20b31e53e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f20b31b22c0 R13: 00007f20b31e53ec R14: 00007ffc6127f5d0 R15: 00007ffc6127f6b8