------------[ cut here ]------------ WARNING: CPU: 0 PID: 5218 at net/ipv4/af_inet.c:156 inet_sock_destruct+0x623/0x730 net/ipv4/af_inet.c:156 Modules linked in: CPU: 0 UID: 0 PID: 5218 Comm: udevd Not tainted 6.16.0-rc5-syzkaller-00204-gdae7f9cbd190 #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 2a b4 c8 f7 90 0f 0b 90 e9 95 fe ff ff e8 1c b4 c8 f7 90 0f 0b 90 e9 bb fe ff ff e8 0e b4 c8 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:ffffc90000007b48 EFLAGS: 00010246 RAX: ffffffff89f78262 RBX: dffffc0000000000 RCX: ffff88807edd5a00 RDX: 0000000000000100 RSI: 0000000000000fec RDI: 0000000000000000 RBP: 0000000000000fec R08: ffff8880213d2b1f R09: 1ffff1100427a563 R10: dffffc0000000000 R11: ffffed100427a564 R12: ffff8880213d2880 R13: dffffc0000000000 R14: ffff8880213d2b04 R15: 1ffff1100427a512 FS: 00007ff237aac880(0000) GS:ffff888125c1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f48325f5f98 CR3: 000000007ea0e000 CR4: 00000000003526f0 Call Trace: __sk_destruct+0x89/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:rcu_read_lock include/linux/rcupdate.h:839 [inline] RIP: 0010:class_rcu_constructor include/linux/rcupdate.h:1155 [inline] RIP: 0010:unwind_next_frame+0x99/0x2390 arch/x86/kernel/unwind_orc.c:479 Code: c1 ec 03 41 0f b6 04 2c 84 c0 0f 85 de 1b 00 00 41 8b 06 85 c0 0f 84 32 02 00 00 89 84 24 84 00 00 00 4c 89 bc 24 90 00 00 00 62 3a 35 00 4c 8d 3d 00 00 00 00 48 c7 c7 60 f1 13 8e 31 f6 31 RSP: 0018:ffffc90003197078 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffffff8479b4ed RCX: 404cf0c533d58f00 RDX: dffffc0000000000 RSI: ffffffff8479b4ed RDI: ffffc90003197148 RBP: dffffc0000000000 R08: ffffc90003197210 R09: 0000000000000004 R10: ffffc90003197198 R11: ffffffff81ad03a0 R12: 1ffff92000632e29 R13: ffffc90003197180 R14: ffffc90003197148 R15: ffffc900031975a0 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_check_open_permission+0x1c1/0x3b0 security/tomoyo/file.c:771 security_file_open+0xb1/0x270 security/security.c:3114 do_dentry_open+0x35e/0x1970 fs/open.c:941 vfs_open+0x3b/0x340 fs/open.c:1094 do_open fs/namei.c:3896 [inline] path_openat+0x2ee5/0x3830 fs/namei.c:4055 do_filp_open+0x1fa/0x410 fs/namei.c:4082 do_sys_openat2+0x121/0x1c0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1463 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:0x7ff237315c3a Code: 41 89 f2 48 89 54 24 e0 41 83 e2 40 75 2a 89 f0 f7 d0 a9 00 00 41 00 74 1f 89 f2 b8 01 01 00 00 48 89 fe bf 9c ff ff ff 0f 05 <48> 3d 00 f0 ff ff 77 2e c3 0f 1f 44 00 00 48 8d 44 24 08 c7 44 24 RSP: 002b:00007ffc3fcd8de8 EFLAGS: 00000206 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00005621ab82c650 RCX: 00007ff237315c3a RDX: 0000000000090800 RSI: 00005621ab80b850 RDI: 00000000ffffff9c RBP: 00005621ab80b850 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000206 R12: 00005621ab80d7d0 R13: 00000000000000fe R14: 00005621993a8be0 R15: 00007ffc3fcd90b0 ---------------- Code disassembly (best guess): 0: c1 ec 03 shr $0x3,%esp 3: 41 0f b6 04 2c movzbl (%r12,%rbp,1),%eax 8: 84 c0 test %al,%al a: 0f 85 de 1b 00 00 jne 0x1bee 10: 41 8b 06 mov (%r14),%eax 13: 85 c0 test %eax,%eax 15: 0f 84 32 02 00 00 je 0x24d 1b: 89 84 24 84 00 00 00 mov %eax,0x84(%rsp) 22: 4c 89 bc 24 90 00 00 mov %r15,0x90(%rsp) 29: 00 * 2a: e8 62 3a 35 00 call 0x353a91 <-- trapping instruction 2f: 4c 8d 3d 00 00 00 00 lea 0x0(%rip),%r15 # 0x36 36: 48 c7 c7 60 f1 13 8e mov $0xffffffff8e13f160,%rdi 3d: 31 f6 xor %esi,%esi 3f: 31 .byte 0x31