------------[ cut here ]------------ WARNING: CPU: 0 PID: 12409 at net/core/stream.c:205 sk_stream_kill_queues+0x2eb/0x3d0 net/core/stream.c:205 Modules linked in: CPU: 0 PID: 12409 Comm: syz-executor.2 Not tainted 5.17.0-rc2-syzkaller-00054-g27bb0b18c208 #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 2e 40 4e fa 0f 0b eb 97 e8 25 40 4e fa <0f> 0b eb a0 e8 1c 40 4e fa 0f 0b e9 6a fe ff ff e8 b0 81 95 fa e9 RSP: 0018:ffffc90000007c28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: ffff88801ce65700 RSI: ffffffff872a2e5b RDI: 0000000000000003 RBP: 00000000000002e5 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff872a2dfb R11: 0000000000000000 R12: ffff888054143230 R13: ffffffff908a2f80 R14: ffff888054143028 R15: 0000000000000000 FS: 00007f3430f19700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2d4ec953a5 CR3: 0000000054c95000 CR4: 0000000000350ef0 Call Trace: inet_csk_destroy_sock+0x1a5/0x440 net/ipv4/inet_connection_sock.c:1012 tcp_done+0x23b/0x340 net/ipv4/tcp.c:4452 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:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0x447/0xc90 kernel/smp.c:969 Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 2b 7d 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 95 06 00 00 8b 43 08 31 RSP: 0018:ffffc9000514f4d8 EFLAGS: 00000216 RAX: 000000000001a7f4 RBX: ffff8880b9d3fec0 RCX: ffffc90003505000 RDX: 0000000000040000 RSI: ffffffff816cf155 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816cf17b R11: 0000000000000000 R12: ffffed10173a7fd9 R13: 0000000000000001 R14: ffff8880b9d3fec8 R15: 0000000000000001 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] flush_tlb_kernel_range+0x80/0xb0 arch/x86/mm/tlb.c:1060 __purge_vmap_area_lazy+0x8f9/0x1c50 mm/vmalloc.c:1710 _vm_unmap_aliases.part.0+0x3f0/0x500 mm/vmalloc.c:2113 _vm_unmap_aliases mm/vmalloc.c:2087 [inline] vm_unmap_aliases+0x45/0x50 mm/vmalloc.c:2136 change_page_attr_set_clr+0x241/0x500 arch/x86/mm/pat/set_memory.c:1743 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1800 [inline] set_memory_ro+0x78/0xa0 arch/x86/mm/pat/set_memory.c:1946 bpf_jit_binary_lock_ro include/linux/filter.h:889 [inline] bpf_int_jit_compile+0xe92/0x1240 arch/x86/net/bpf_jit_comp.c:2382 bpf_prog_select_runtime+0x46b/0x780 kernel/bpf/core.c:1931 bpf_prog_load+0xf89/0x21f0 kernel/bpf/syscall.c:2348 __sys_bpf+0x68a/0x5970 kernel/bpf/syscall.c:4634 __do_sys_bpf kernel/bpf/syscall.c:4738 [inline] __se_sys_bpf kernel/bpf/syscall.c:4736 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4736 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:0x7f34325a4059 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:00007f3430f19168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f34326b6f60 RCX: 00007f34325a4059 RDX: 0000000000000078 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00007f34325fe08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe151c483f R14: 00007f3430f19300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 0b 00 or (%rax),%eax 2: 85 ed test %ebp,%ebp 4: 74 4d je 0x53 6: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax d: fc ff df 10: 4d 89 f4 mov %r14,%r12 13: 4c 89 f5 mov %r14,%rbp 16: 49 c1 ec 03 shr $0x3,%r12 1a: 83 e5 07 and $0x7,%ebp 1d: 49 01 c4 add %rax,%r12 20: 83 c5 03 add $0x3,%ebp 23: e8 2b 7d 0b 00 callq 0xb7d53 28: f3 90 pause * 2a: 41 0f b6 04 24 movzbl (%r12),%eax <-- trapping instruction 2f: 40 38 c5 cmp %al,%bpl 32: 7c 08 jl 0x3c 34: 84 c0 test %al,%al 36: 0f 85 95 06 00 00 jne 0x6d1 3c: 8b 43 08 mov 0x8(%rbx),%eax 3f: 31 .byte 0x31