------------[ cut here ]------------ WARNING: CPU: 1 PID: 5196 at net/ipv4/af_inet.c:156 inet_sock_destruct+0x623/0x730 net/ipv4/af_inet.c:156 Modules linked in: CPU: 1 UID: 0 PID: 5196 Comm: udevd Not tainted 6.16.0-rc1-syzkaller-00003-gf09079bd04a9 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:inet_sock_destruct+0x623/0x730 net/ipv4/af_inet.c:156 Code: 0f 0b 90 e9 62 fe ff ff e8 ca 02 d9 f7 90 0f 0b 90 e9 95 fe ff ff e8 bc 02 d9 f7 90 0f 0b 90 e9 bb fe ff ff e8 ae 02 d9 f7 90 <0f> 0b 90 e9 e1 fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 9f fc RSP: 0018:ffffc90000a08b48 EFLAGS: 00010246 RAX: ffffffff89e74b42 RBX: dffffc0000000000 RCX: ffff88807c848000 RDX: 0000000000000100 RSI: 0000000000000fff RDI: 0000000000000000 RBP: 0000000000000fff R08: ffff88802172ab1f R09: 1ffff110042e5563 R10: dffffc0000000000 R11: ffffed10042e5564 R12: ffff88802172a880 R13: dffffc0000000000 R14: ffff88802172ab04 R15: 1ffff110042e5512 FS: 00007fe04c26b880(0000) GS:ffff888125d86000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000019030 CR3: 000000007e116000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x86/0x660 net/core/sock.c:2347 rcu_do_batch kernel/rcu/tree.c:2576 [inline] rcu_core+0xca8/0x1710 kernel/rcu/tree.c:2832 handle_softirqs+0x286/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:60 [inline] RIP: 0010:unwind_next_frame+0x1864/0x2390 arch/x86/kernel/unwind_orc.c:665 Code: e8 03 80 3c 28 00 74 08 4c 89 ff e8 16 f5 ae 00 49 8b 07 4d 39 e5 0f 96 c1 4c 39 e0 0f 97 c2 20 ca 80 fa 01 0f 85 63 01 00 00 <49> 8d 4c 24 08 4c 39 e9 0f 86 55 01 00 00 48 39 c1 0f 87 4c 01 00 RSP: 0018:ffffc90003267518 EFLAGS: 00000246 RAX: ffffc90003268000 RBX: ffffffff903bd901 RCX: 0000000000000001 RDX: ffffc90003267601 RSI: dffffc0000000000 RDI: ffffc900032675f0 RBP: dffffc0000000000 R08: ffffc90003267980 R09: 0000000000000000 R10: ffffc90003267638 R11: fffff5200064cec9 R12: ffffc90003267990 R13: ffffc90003260000 R14: ffffc900032675e8 R15: ffffc900032675f8 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4328 [inline] __kmalloc_noprof+0x27a/0x4f0 mm/slub.c:4340 kmalloc_noprof include/linux/slab.h:909 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x28b/0x550 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x58d/0x5d0 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x213/0x4b0 security/tomoyo/file.c:822 security_inode_getattr+0x12f/0x330 security/security.c:2377 vfs_getattr fs/stat.c:259 [inline] vfs_fstat fs/stat.c:281 [inline] __do_sys_newfstat fs/stat.c:555 [inline] __se_sys_newfstat fs/stat.c:550 [inline] __x64_sys_newfstat+0xfc/0x200 fs/stat.c:550 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe04bb11ad7 Code: 73 01 c3 48 8b 0d 21 f3 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 05 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 f1 f2 0d 00 f7 d8 64 89 02 b8 RSP: 002b:00007ffeccd14508 EFLAGS: 00000297 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 00005625cc768770 RCX: 00007fe04bb11ad7 RDX: 00007fe04bbefea0 RSI: 00007ffeccd14510 RDI: 000000000000000c RBP: 00007fe04bbefff0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000297 R12: 000000000000000a R13: 0000000000003fff R14: 0000000000000000 R15: 00005625cc768770 ---------------- Code disassembly (best guess): 0: e8 03 80 3c 28 call 0x283c8008 5: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1) 9: 89 ff mov %edi,%edi b: e8 16 f5 ae 00 call 0xaef526 10: 49 8b 07 mov (%r15),%rax 13: 4d 39 e5 cmp %r12,%r13 16: 0f 96 c1 setbe %cl 19: 4c 39 e0 cmp %r12,%rax 1c: 0f 97 c2 seta %dl 1f: 20 ca and %cl,%dl 21: 80 fa 01 cmp $0x1,%dl 24: 0f 85 63 01 00 00 jne 0x18d * 2a: 49 8d 4c 24 08 lea 0x8(%r12),%rcx <-- trapping instruction 2f: 4c 39 e9 cmp %r13,%rcx 32: 0f 86 55 01 00 00 jbe 0x18d 38: 48 39 c1 cmp %rax,%rcx 3b: 0f .byte 0xf 3c: 87 4c 01 00 xchg %ecx,0x0(%rcx,%rax,1)