------------[ cut here ]------------ WARNING: CPU: 1 PID: 2961 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x64d/0x740 Modules linked in: CPU: 1 PID: 2961 Comm: udevd Not tainted 5.15.136-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:inet_sock_destruct+0x64d/0x740 net/ipv4/af_inet.c:157 Code: 01 e8 c7 bf b1 f8 0f 0b e9 61 fe ff ff e8 bb bf b1 f8 0f 0b e9 96 fe ff ff e8 af bf b1 f8 0f 0b e9 be fe ff ff e8 a3 bf b1 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: ffffffff88ce62ad RBX: 0000000000000cc0 RCX: ffff88807cd2d940 RDX: 0000000000000100 RSI: 0000000000000cc0 RDI: 0000000000000000 RBP: 0000000000000007 R08: ffffffff88ce618d R09: ffffed1011d35b78 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88808e9ad940 R13: ffff88808e9ade48 R14: dffffc0000000000 R15: ffff88808e9ad952 FS: 00007f8bcfdfec80(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 0000000019d11000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x54/0x840 net/core/sock.c:1937 rcu_do_batch kernel/rcu/tree.c:2510 [inline] rcu_core+0xa15/0x1650 kernel/rcu/tree.c:2750 __do_softirq+0x3b3/0x93a kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x155/0x240 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_release+0x62d/0x9a0 kernel/locking/lockdep.c:5646 Code: 3c 3b 00 74 08 4c 89 f7 e8 90 2c 67 00 f6 84 24 91 00 00 00 02 75 6f 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc9000258f520 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920004b1eb6 RCX: ffffc9000258f503 RDX: 0000000000000000 RSI: ffffffff8a8b1e00 RDI: ffffffff8ad87a40 RBP: ffffc9000258f648 R08: dffffc0000000000 R09: fffffbfff1bc7186 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920004b1eb0 R13: 0000000000000246 R14: ffffc9000258f5b0 R15: dffffc0000000000 rcu_read_unlock include/linux/rcupdate.h:729 [inline] __d_lookup+0x671/0x730 fs/dcache.c:2444 lookup_fast+0xdc/0x7b0 fs/namei.c:1617 walk_component+0x115/0x610 fs/namei.c:1968 link_path_walk+0x642/0xd90 path_lookupat+0xa9/0x450 fs/namei.c:2450 filename_lookup+0x230/0x5c0 fs/namei.c:2480 user_path_at_empty+0x40/0x180 fs/namei.c:2853 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x106/0x3b0 fs/stat.c:221 vfs_fstatat fs/stat.c:243 [inline] __do_sys_newfstatat fs/stat.c:411 [inline] __se_sys_newfstatat fs/stat.c:405 [inline] __x64_sys_newfstatat+0x12c/0x1b0 fs/stat.c:405 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f8bcff295f4 Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8 RSP: 002b:00007ffd63db3d48 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055dea0584f70 RCX: 00007f8bcff295f4 RDX: 00007ffd63db3d58 RSI: 00007ffd63db41e8 RDI: 00000000ffffff9c RBP: 00007ffd63db3de8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd63db41e8 R13: 00007ffd63db3d58 R14: 000055dea0573910 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 3c 3b cmp $0x3b,%al 2: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1) 6: 89 f7 mov %esi,%edi 8: e8 90 2c 67 00 call 0x672c9d d: f6 84 24 91 00 00 00 testb $0x2,0x91(%rsp) 14: 02 15: 75 6f jne 0x86 17: 41 f7 c5 00 02 00 00 test $0x200,%r13d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp) 28: e0 45 * 2a: 4b c7 04 27 00 00 00 movq $0x0,(%r15,%r12,1) <-- trapping instruction 31: 00 32: 4b c7 44 27 08 00 00 movq $0x0,0x8(%r15,%r12,1) 39: 00 00 3b: 65 gs 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 04 25 add $0x25,%al