------------[ cut here ]------------ WARNING: CPU: 0 PID: 6018 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x64d/0x740 Modules linked in: CPU: 0 PID: 6018 Comm: syz-executor 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:ffffc90000007b68 EFLAGS: 00010246 RAX: ffffffff88e6c1ad RBX: 0000000000000100 RCX: ffff888021391dc0 RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000 RBP: 0000000000000007 R08: ffffffff88e6c08d R09: ffffed100cd39ea8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880669cf2c0 R13: ffff8880669cf7c8 R14: dffffc0000000000 R15: ffff8880669cf2d2 FS: 0000555563046500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0a9a9f4fa0 CR3: 00000000533e2000 CR4: 00000000003506f0 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:may_open+0x2b8/0x400 fs/namei.c:3251 Code: cc 20 48 89 df 4c 89 ee 44 89 e2 e8 72 1a fe ff 89 c5 31 ff 89 c6 e8 c7 5e a6 ff 85 ed 74 16 e8 5e 5b a6 ff 89 e8 48 83 c4 08 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 49 8d 5d 0c 48 89 d8 48 c1 e8 03 RSP: 0018:ffffc900036f78e8 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888021391dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8c7cd520 RBP: 0000000000000000 R08: ffffffff81da18e0 R09: ffffed100c54c8ca R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000022 R13: ffff888062a645c0 R14: dffffc0000000000 R15: 0000000000000000 do_open fs/namei.c:3606 [inline] path_openat+0x25a2/0x2f20 fs/namei.c:3742 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_sys_openat2+0x13b/0x4f0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f0a9aa1b0b0 Code: 48 89 44 24 20 75 93 44 89 54 24 0c e8 19 8f 02 00 44 8b 54 24 0c 89 da 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 89 44 24 0c e8 6c 8f 02 00 8b 44 RSP: 002b:00007fff1c275040 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000080001 RCX: 00007f0a9aa1b0b0 RDX: 0000000000080001 RSI: 00007f0a9aa90e58 RDI: 00000000ffffff9c RBP: 00007f0a9aa90e58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 R13: 00007fff1c2750e0 R14: 000000000001d9a1 R15: 00007fff1c275640 ---------------- Code disassembly (best guess): 0: cc int3 1: 20 48 89 and %cl,-0x77(%rax) 4: df 4c 89 ee fisttps -0x12(%rcx,%rcx,4) 8: 44 89 e2 mov %r12d,%edx b: e8 72 1a fe ff call 0xfffe1a82 10: 89 c5 mov %eax,%ebp 12: 31 ff xor %edi,%edi 14: 89 c6 mov %eax,%esi 16: e8 c7 5e a6 ff call 0xffa65ee2 1b: 85 ed test %ebp,%ebp 1d: 74 16 je 0x35 1f: e8 5e 5b a6 ff call 0xffa65b82 24: 89 e8 mov %ebp,%eax 26: 48 83 c4 08 add $0x8,%rsp * 2a: 5b pop %rbx <-- trapping instruction 2b: 41 5c pop %r12 2d: 41 5d pop %r13 2f: 41 5e pop %r14 31: 41 5f pop %r15 33: 5d pop %rbp 34: c3 ret 35: 49 8d 5d 0c lea 0xc(%r13),%rbx 39: 48 89 d8 mov %rbx,%rax 3c: 48 c1 e8 03 shr $0x3,%rax