------------[ cut here ]------------ WARNING: CPU: 1 PID: 5084 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x6ef/0x8b0 net/ipv4/af_inet.c:155 Modules linked in: CPU: 1 PID: 5084 Comm: syz-executor745 Not tainted 6.7.0-rc1-syzkaller-00012-g9bacdd8996c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:inet_sock_destruct+0x6ef/0x8b0 net/ipv4/af_inet.c:155 Code: 0f 0b 90 e9 fd fd ff ff e8 be aa 7f f8 90 0f 0b 90 e9 33 fe ff ff e8 b0 aa 7f f8 90 0f 0b 90 e9 87 fd ff ff e8 a2 aa 7f f8 90 <0f> 0b 90 e9 8f fe ff ff e8 64 33 d6 f8 e9 68 fc ff ff 48 89 ef e8 RSP: 0018:ffffc900001f0da0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8880276e1a00 RCX: ffffffff8907e4de RDX: ffff888017bd8000 RSI: ffffffff8907e64e RDI: 0000000000000005 RBP: 00000000fffff000 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffff000 R11: 0000000000000000 R12: ffff8880276e1a28 R13: ffff8880276e1b60 R14: 0000000000000000 R15: 0000000000000002 FS: 00007f6085d556c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6085deb948 CR3: 000000004522f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x4d/0x770 net/core/sock.c:2170 rcu_do_batch kernel/rcu/tree.c:2158 [inline] rcu_core+0x819/0x1680 kernel/rcu/tree.c:2431 __do_softirq+0x21a/0x8de kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__sanitizer_cov_trace_pc+0x34/0x60 kernel/kcov.c:207 Code: bc 03 00 65 8b 05 c4 2b 7c 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 fc 15 00 00 85 c0 74 2b 8b 82 d8 15 00 00 <83> f8 02 75 20 48 8b 8a e0 15 00 00 8b 92 dc 15 00 00 48 8b 01 48 RSP: 0018:ffffc900039cf688 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc900039cf768 RCX: ffffc900039cf79c RDX: ffff888017bd8000 RSI: ffffffff813a078d RDI: ffffc900039cf7a8 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffc900039cf7f8 R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000001 unwind_next_frame+0x114d/0x2390 arch/x86/kernel/unwind_orc.c:664 __unwind_start+0x5a4/0x880 arch/x86/kernel/unwind_orc.c:760 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xaf/0x170 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 __kasan_slab_alloc+0x81/0x90 mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook mm/slab.h:763 [inline] slab_alloc_node mm/slub.c:3478 [inline] slab_alloc mm/slub.c:3486 [inline] __kmem_cache_alloc_lru mm/slub.c:3493 [inline] kmem_cache_alloc+0x15d/0x2f0 mm/slub.c:3502 kmem_cache_zalloc include/linux/slab.h:711 [inline] taskstats_tgid_alloc kernel/taskstats.c:582 [inline] taskstats_exit+0x64c/0xbd0 kernel/taskstats.c:621 do_exit+0x832/0x2ae0 kernel/exit.c:856 do_group_exit+0xd4/0x2a0 kernel/exit.c:1021 get_signal+0x23be/0x2790 kernel/signal.c:2904 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x121/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f6085d951e9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 1a 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6085d55238 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f6085e1f3e8 RCX: 00007f6085d951e9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6085e1f3e8 RBP: 00007f6085e1f3e0 R08: 00007f6085d556c0 R09: 00007f6085d556c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6085dec2c0 R13: 000000000000000b R14: 00007fffc1d17490 R15: 00007fffc1d17578 ---------------- Code disassembly (best guess): 0: bc 03 00 65 8b mov $0x8b650003,%esp 5: 05 c4 2b 7c 7e add $0x7e7c2bc4,%eax a: a9 00 01 ff 00 test $0xff0100,%eax f: 48 8b 34 24 mov (%rsp),%rsi 13: 74 0f je 0x24 15: f6 c4 01 test $0x1,%ah 18: 74 35 je 0x4f 1a: 8b 82 fc 15 00 00 mov 0x15fc(%rdx),%eax 20: 85 c0 test %eax,%eax 22: 74 2b je 0x4f 24: 8b 82 d8 15 00 00 mov 0x15d8(%rdx),%eax * 2a: 83 f8 02 cmp $0x2,%eax <-- trapping instruction 2d: 75 20 jne 0x4f 2f: 48 8b 8a e0 15 00 00 mov 0x15e0(%rdx),%rcx 36: 8b 92 dc 15 00 00 mov 0x15dc(%rdx),%edx 3c: 48 8b 01 mov (%rcx),%rax 3f: 48 rex.W