------------[ cut here ]------------ WARNING: CPU: 1 PID: 9730 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x64d/0x740 Modules linked in: CPU: 1 PID: 9730 Comm: dhcpcd-run-hook Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:inet_sock_destruct+0x64d/0x740 net/ipv4/af_inet.c:157 Code: 01 e8 17 b2 99 f8 0f 0b e9 61 fe ff ff e8 0b b2 99 f8 0f 0b e9 96 fe ff ff e8 ff b1 99 f8 0f 0b e9 be fe ff ff e8 f3 b1 99 f8 <0f> 0b e9 e6 fe ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 5b fd ff ff RSP: 0018:ffffc90000dd0b68 EFLAGS: 00010246 RAX: ffffffff88e6c1ad RBX: 0000000000000100 RCX: ffff88805db71dc0 RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000 RBP: 0000000000000007 R08: ffffffff88e6c08d R09: ffffed100f55c1e8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807aae0cc0 R13: ffff88807aae11c8 R14: dffffc0000000000 R15: ffff88807aae0cd2 FS: 00007fed92050380(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe0c8665d8 CR3: 0000000068d85000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x54/0x840 net/core/sock.c:1955 rcu_do_batch kernel/rcu/tree.c:2523 [inline] rcu_core+0xa15/0x1650 kernel/rcu/tree.c:2763 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:unwind_done arch/x86/include/asm/unwind.h:46 [inline] RIP: 0010:__unwind_start+0x4dc/0x720 arch/x86/kernel/unwind_orc.c:701 Code: e8 09 68 f4 ff 85 c0 48 ba 00 00 00 00 00 fc ff df 8b 2c 24 0f 85 fc fb ff ff 40 84 ed 0f 84 0e 01 00 00 4c 89 f0 48 c1 e8 03 <48> 89 04 24 0f b6 04 10 84 c0 0f 85 df 01 00 00 41 83 3e 00 0f 84 RSP: 0018:ffffc900031478c0 EFLAGS: 00000a06 RAX: 1ffff92000628f24 RBX: ffffc900031478c0 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffc90003148000 RDI: ffffc900031478c0 RBP: ffffc90003147901 R08: dffffc0000000001 R09: ffffc90003147920 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90003147940 R13: ffffc90003147948 R14: ffffc90003147920 R15: 1ffff92000628f29 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x80 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x91/0x1f0 mm/slub.c:3515 file_free fs/file_table.c:55 [inline] __fput+0x66d/0x8e0 fs/file_table.c:293 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fed921a50a8 Code: 48 8b 05 83 9d 0d 00 64 c7 00 16 00 00 00 83 c8 ff 48 83 c4 20 5b c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 5b 48 8b 15 51 9d 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffe0c863118 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007ffe0c863198 RCX: 00007fed921a50a8 RDX: 0000000000000000 RSI: 00007ffe0c863198 RDI: 0000000000000003 RBP: 0000563672beab70 R08: 000000000000260d R09: 0000000000000040 R10: 00007fed92050650 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000000 R14: 0000563672bf90e0 R15: 0000000000000024 ---------------- Code disassembly (best guess): 0: e8 09 68 f4 ff call 0xfff4680e 5: 85 c0 test %eax,%eax 7: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx e: fc ff df 11: 8b 2c 24 mov (%rsp),%ebp 14: 0f 85 fc fb ff ff jne 0xfffffc16 1a: 40 84 ed test %bpl,%bpl 1d: 0f 84 0e 01 00 00 je 0x131 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 48 89 04 24 mov %rax,(%rsp) <-- trapping instruction 2e: 0f b6 04 10 movzbl (%rax,%rdx,1),%eax 32: 84 c0 test %al,%al 34: 0f 85 df 01 00 00 jne 0x219 3a: 41 83 3e 00 cmpl $0x0,(%r14) 3e: 0f .byte 0xf 3f: 84 .byte 0x84