WARNING: CPU: 3 PID: 13314 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154 Modules linked in: CPU: 3 PID: 13314 Comm: syz-executor.0 Not tainted 6.3.0-rc4-syzkaller-00243-g6ab608fe852b #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154 Code: ff e8 05 ec e9 f8 0f 0b e9 07 fe ff ff e8 f9 eb e9 f8 0f 0b e9 3f fe ff ff e8 ed eb e9 f8 0f 0b e9 95 fd ff ff e8 e1 eb e9 f8 <0f> 0b e9 9f fe ff ff e8 a5 f8 3a f9 e9 7a fc ff ff 4c 89 e7 e8 d8 RSP: 0018:ffffc90000578c48 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100 RDX: ffff888013f0d7c0 RSI: ffffffff8898ebdf RDI: 0000000000000005 RBP: ffff8880727cbd40 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000ffff9000 R11: 0000000000000020 R12: ffff8880727cbd68 R13: ffff8880727cbfb4 R14: ffff8880727cbdc0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88802cb80000(0063) knlGS:00000000f7f8eb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f72be8ec CR3: 0000000019add000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x4d/0x770 net/core/sock.c:2135 sk_destruct net/core/sock.c:2183 [inline] __sk_free+0x175/0x460 net/core/sock.c:2194 sk_free+0x7c/0xa0 net/core/sock.c:2205 sock_put include/net/sock.h:1968 [inline] tcp_write_timer+0x24b/0x2b0 net/ipv4/tcp_timer.c:644 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers+0x29b/0x4b0 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035 __do_softirq+0x1d4/0x905 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:30 [inline] RIP: 0010:__orc_find+0x6f/0xf0 arch/x86/kernel/unwind_orc.c:52 Code: 72 4d 4c 89 e0 48 29 e8 48 89 c2 48 c1 e8 3f 48 c1 fa 02 48 01 d0 48 d1 f8 48 8d 5c 85 00 48 89 d8 48 c1 e8 03 42 0f b6 14 38 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 48 48 63 03 48 01 RSP: 0018:ffffc900052c6c90 EFLAGS: 00000a03 RAX: 1ffffffff1d50c64 RBX: ffffffff8ea86324 RCX: ffffffff83f0141d RDX: 0000000000000000 RSI: ffffffff8f303b46 RDI: ffffffff8ea86324 RBP: ffffffff8ea86324 R08: ffffffff8f303b46 R09: ffffc900052c6d7c R10: 0000000000000400 R11: 0000000000094001 R12: ffffffff8ea86324 R13: ffffffff8ea86324 R14: ffffffff8ea86324 R15: dffffc0000000000 orc_find arch/x86/kernel/unwind_orc.c:193 [inline] unwind_next_frame+0x2b3/0x1ef0 arch/x86/kernel/unwind_orc.c:467 arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 __kasan_slab_alloc+0x7f/0x90 mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:186 [inline] slab_post_alloc_hook mm/slab.h:769 [inline] slab_alloc_node mm/slub.c:3452 [inline] slab_alloc mm/slub.c:3460 [inline] __kmem_cache_alloc_lru mm/slub.c:3467 [inline] kmem_cache_alloc+0x17c/0x3b0 mm/slub.c:3476 mempool_alloc+0x158/0x360 mm/mempool.c:398 bio_alloc_bioset+0x41e/0x900 block/bio.c:543 bio_alloc include/linux/bio.h:427 [inline] iomap_dio_alloc_bio fs/iomap/direct-io.c:60 [inline] iomap_dio_alloc_bio.isra.0+0x88/0xc0 fs/iomap/direct-io.c:54 iomap_dio_bio_iter+0x6d5/0x1440 fs/iomap/direct-io.c:316 iomap_dio_iter fs/iomap/direct-io.c:437 [inline] __iomap_dio_rw+0xd81/0x1c20 fs/iomap/direct-io.c:595 iomap_dio_rw+0x40/0xa0 fs/iomap/direct-io.c:683 ext4_dio_write_iter fs/ext4/file.c:597 [inline] ext4_file_write_iter+0x94a/0x1740 fs/ext4/file.c:708 call_write_iter include/linux/fs.h:1851 [inline] do_iter_readv_writev+0x20b/0x3b0 fs/read_write.c:735 do_iter_write+0x182/0x700 fs/read_write.c:861 vfs_iter_write+0x74/0xa0 fs/read_write.c:902 iter_file_splice_write+0x743/0xc80 fs/splice.c:778 do_splice_from fs/splice.c:856 [inline] direct_splice_actor+0x114/0x180 fs/splice.c:1022 splice_direct_to_actor+0x335/0x8a0 fs/splice.c:977 do_splice_direct+0x1ab/0x280 fs/splice.c:1065 do_sendfile+0xb19/0x12c0 fs/read_write.c:1255 __do_compat_sys_sendfile fs/read_write.c:1344 [inline] __se_compat_sys_sendfile fs/read_write.c:1327 [inline] __ia32_compat_sys_sendfile+0x1e1/0x220 fs/read_write.c:1327 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f93579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7f8e5cc EFLAGS: 00000296 ORIG_RAX: 00000000000000bb RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000000005 RDX: 0000000000000000 RSI: 00000000fffffffa RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 72 4d jb 0x4f 2: 4c 89 e0 mov %r12,%rax 5: 48 29 e8 sub %rbp,%rax 8: 48 89 c2 mov %rax,%rdx b: 48 c1 e8 3f shr $0x3f,%rax f: 48 c1 fa 02 sar $0x2,%rdx 13: 48 01 d0 add %rdx,%rax 16: 48 d1 f8 sar %rax 19: 48 8d 5c 85 00 lea 0x0(%rbp,%rax,4),%rbx 1e: 48 89 d8 mov %rbx,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 0f b6 14 38 movzbl (%rax,%r15,1),%edx * 2a: 48 89 d8 mov %rbx,%rax <-- trapping instruction 2d: 83 e0 07 and $0x7,%eax 30: 83 c0 03 add $0x3,%eax 33: 38 d0 cmp %dl,%al 35: 7c 04 jl 0x3b 37: 84 d2 test %dl,%dl 39: 75 48 jne 0x83 3b: 48 63 03 movslq (%rbx),%rax 3e: 48 rex.W 3f: 01 .byte 0x1