------------[ cut here ]------------ WARNING: CPU: 0 PID: 30356 at net/core/stream.c:205 sk_stream_kill_queues+0x2eb/0x3d0 net/core/stream.c:205 Modules linked in: CPU: 0 PID: 30356 Comm: syz-executor.4 Not tainted 5.17.0-rc1-syzkaller-00525-g9a90986efcff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sk_stream_kill_queues+0x2eb/0x3d0 net/core/stream.c:205 Code: 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e ec 00 00 00 8b ab 30 02 00 00 e9 60 ff ff ff e8 8e 10 4e fa 0f 0b eb 97 e8 85 10 4e fa <0f> 0b eb a0 e8 7c 10 4e fa 0f 0b e9 6a fe ff ff e8 20 81 95 fa e9 RSP: 0018:ffffc90000007c28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: ffff8880457c8000 RSI: ffffffff872a4ccb RDI: 0000000000000003 RBP: 0000000000000fff R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff872a4c6b R11: 0000000000000000 R12: ffff88804dbe3230 R13: ffffffff908aa040 R14: ffff88804dbe3028 R15: 0000000000000000 FS: 00007f531d0ab700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb8ad205028 CR3: 000000003aa80000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_csk_destroy_sock+0x1a5/0x440 net/ipv4/inet_connection_sock.c:1012 tcp_done+0x23b/0x340 net/ipv4/tcp.c:4451 tcp_write_err net/ipv4/tcp_timer.c:74 [inline] tcp_probe_timer net/ipv4/tcp_timer.c:395 [inline] tcp_write_timer_handler+0x447/0xbc0 net/ipv4/tcp_timer.c:626 tcp_write_timer+0xa2/0x2b0 net/ipv4/tcp_timer.c:642 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__orc_find+0x5b/0xf0 arch/x86/kernel/unwind_orc.c:50 Code: ff df 49 89 fe 48 89 fd eb 0c 48 8d 6b 04 49 89 de 49 39 ec 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 RSP: 0018:ffffc9000c2b7330 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff8daa4ee0 RCX: ffffffff81dc4d9f RDX: 0000000000000000 RSI: ffffffff8e1df308 RDI: ffffffff8daa4eb8 RBP: ffffffff8daa4ee4 R08: ffffffff8e1df308 R09: 0000000000000001 R10: fffff52001856e95 R11: 0000000000088078 R12: ffffffff8daa4ee4 R13: ffffffff8daa4eb8 R14: ffffffff8daa4ee0 R15: dffffc0000000000 orc_find arch/x86/kernel/unwind_orc.c:173 [inline] unwind_next_frame+0x32a/0x1ce0 arch/x86/kernel/unwind_orc.c:443 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:436 [inline] __kasan_slab_alloc+0x90/0xc0 mm/kasan/common.c:469 kasan_slab_alloc include/linux/kasan.h:260 [inline] slab_post_alloc_hook mm/slab.h:732 [inline] slab_alloc_node mm/slub.c:3230 [inline] slab_alloc mm/slub.c:3238 [inline] kmem_cache_alloc+0x202/0x3a0 mm/slub.c:3243 kmem_cache_zalloc include/linux/slab.h:705 [inline] alloc_buffer_head+0x20/0x140 fs/buffer.c:3310 alloc_page_buffers+0x268/0x5f0 fs/buffer.c:832 create_empty_buffers+0x2c/0x800 fs/buffer.c:1560 ext4_block_write_begin+0xd1d/0x1140 fs/ext4/inode.c:1062 ext4_da_write_begin+0x3eb/0xad0 fs/ext4/inode.c:2949 generic_perform_write+0x205/0x510 mm/filemap.c:3765 ext4_buffered_write_iter+0x1a2/0x390 fs/ext4/file.c:268 ext4_file_write_iter+0x423/0x14d0 fs/ext4/file.c:677 call_write_iter include/linux/fs.h:2074 [inline] new_sync_write+0x431/0x660 fs/read_write.c:503 vfs_write+0x7cd/0xae0 fs/read_write.c:590 ksys_write+0x12d/0x250 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f531e736059 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f531d0ab168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f531e848f60 RCX: 00007f531e736059 RDX: 000000000208e24b RSI: 0000000020000280 RDI: 0000000000000004 RBP: 00007f531e79008d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd79697a9f R14: 00007f531d0ab300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: df 49 89 fisttps -0x77(%rcx) 3: fe 48 89 decb -0x77(%rax) 6: fd std 7: eb 0c jmp 0x15 9: 48 8d 6b 04 lea 0x4(%rbx),%rbp d: 49 89 de mov %rbx,%r14 10: 49 39 ec cmp %rbp,%r12 13: 72 4d jb 0x62 15: 4c 89 e0 mov %r12,%rax 18: 48 29 e8 sub %rbp,%rax 1b: 48 89 c2 mov %rax,%rdx 1e: 48 c1 e8 3f shr $0x3f,%rax 22: 48 c1 fa 02 sar $0x2,%rdx 26: 48 01 d0 add %rdx,%rax * 29: 48 d1 f8 sar %rax <-- trapping instruction 2c: 48 8d 5c 85 00 lea 0x0(%rbp,%rax,4),%rbx 31: 48 89 d8 mov %rbx,%rax 34: 48 c1 e8 03 shr $0x3,%rax 38: 42 0f b6 14 38 movzbl (%rax,%r15,1),%edx 3d: 48 rex.W 3e: 89 .byte 0x89