------------[ cut here ]------------
WARNING: CPU: 0 PID: 29042 at net/core/stream.c:205 sk_stream_kill_queues+0x2eb/0x3d0 net/core/stream.c:205
Modules linked in:
CPU: 0 PID: 29042 Comm: syz-executor.2 Not tainted 5.17.0-rc1-syzkaller-00603-g9c30918925d7 #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 fe 0a 4e fa 0f 0b eb 97 e8 f5 0a 4e fa <0f> 0b eb a0 e8 ec 0a 4e fa 0f 0b e9 6a fe ff ff e8 90 7b 95 fa e9
RSP: 0018:ffffc90000007c28 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100
RDX: ffff8880129c1d00 RSI: ffffffff872a525b RDI: 0000000000000003
RBP: 0000000000000fff R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff872a51fb R11: 0000000000000000 R12: ffff888018e61a30
R13: ffffffff908aa040 R14: ffff888018e61828 R15: 0000000000000000
FS: 00007f10d9827700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001300 CR3: 000000006cd6b000 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:1009
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:__sanitizer_cov_trace_pc+0x37/0x60 kernel/kcov.c:200
Code: 81 e1 00 01 00 00 65 48 8b 14 25 00 70 02 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 a4 15 00 00 85 c0 74 2b 8b 82 80 15 00 00 <83> f8 02 75 20 48 8b 8a 88 15 00 00 8b 92 84 15 00 00 48 8b 01 48
RSP: 0018:ffffc9000444eb48 EFLAGS: 00000246
RAX: 0000000000000002 RBX: 0000000000080000 RCX: 0000000000000000
RDX: ffff8880129c1d00 RSI: ffffffff83c9628b RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000000
R10: ffffffff83c9627d R11: 0000000000000000 R12: dffffc0000000000
R13: ffffea0000799200 R14: 0000000000000000 R15: 0000000000008000
bio_no_advance_iter include/linux/bio.h:66 [inline]
bio_advance_iter_single include/linux/bio.h:116 [inline]
__blk_bios_map_sg block/blk-merge.c:521 [inline]
__blk_rq_map_sg+0x4db/0x1420 block/blk-merge.c:561
scsi_alloc_sgtables+0x237/0xf70 drivers/scsi/scsi_lib.c:1053
sd_setup_read_write_cmnd drivers/scsi/sd.c:1228 [inline]
sd_init_command+0x2f0/0x3cd0 drivers/scsi/sd.c:1354
scsi_prepare_cmd drivers/scsi/scsi_lib.c:1625 [inline]
scsi_queue_rq+0x11ef/0x3630 drivers/scsi/scsi_lib.c:1730
blk_mq_dispatch_rq_list+0x6ea/0x22e0 block/blk-mq.c:1851
__blk_mq_do_dispatch_sched+0x3bc/0xa70 block/blk-mq-sched.c:173
blk_mq_do_dispatch_sched block/blk-mq-sched.c:186 [inline]
__blk_mq_sched_dispatch_requests+0x2a0/0x410 block/blk-mq-sched.c:306
blk_mq_sched_dispatch_requests+0xfb/0x180 block/blk-mq-sched.c:332
__blk_mq_run_hw_queue+0xf9/0x350 block/blk-mq.c:1968
__blk_mq_delay_run_hw_queue+0x5b6/0x6c0 block/blk-mq.c:2045
blk_mq_run_hw_queue+0x30f/0x480 block/blk-mq.c:2096
blk_mq_sched_insert_requests+0x1d5/0x990 block/blk-mq-sched.c:486
blk_mq_flush_plug_list+0x416/0xd60 block/blk-mq.c:2628
blk_flush_plug block/blk-core.c:1269 [inline]
blk_finish_plug block/blk-core.c:1293 [inline]
blk_finish_plug+0xb7/0x160 block/blk-core.c:1290
read_pages+0x737/0xfa0 mm/readahead.c:149
page_cache_ra_unbounded+0x552/0x740 mm/readahead.c:238
do_page_cache_ra+0xf9/0x140 mm/readahead.c:268
do_sync_mmap_readahead mm/filemap.c:3025 [inline]
filemap_fault+0x1527/0x20f0 mm/filemap.c:3117
__do_fault+0x10d/0x4d0 mm/memory.c:3868
do_shared_fault mm/memory.c:4238 [inline]
do_fault mm/memory.c:4316 [inline]
handle_pte_fault mm/memory.c:4570 [inline]
__handle_mm_fault+0x259d/0x5110 mm/memory.c:4705
handle_mm_fault+0x1c8/0x790 mm/memory.c:4803
faultin_page mm/gup.c:944 [inline]
__get_user_pages+0x503/0xf80 mm/gup.c:1165
__get_user_pages_locked mm/gup.c:1350 [inline]
__gup_longterm_locked+0x216/0xf00 mm/gup.c:1941
pin_user_pages+0x84/0xc0 mm/gup.c:3100
xdp_umem_pin_pages net/xdp/xdp_umem.c:107 [inline]
xdp_umem_reg net/xdp/xdp_umem.c:219 [inline]
xdp_umem_create+0x660/0x1180 net/xdp/xdp_umem.c:252
xsk_setsockopt+0x73e/0x9e0 net/xdp/xsk.c:1051
__sys_setsockopt+0x2db/0x610 net/socket.c:2180
__do_sys_setsockopt net/socket.c:2191 [inline]
__se_sys_setsockopt net/socket.c:2188 [inline]
__x64_sys_setsockopt+0xba/0x150 net/socket.c:2188
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:0x7f10daed3059
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:00007f10d9827168 EFLAGS: 00000246
ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f10dafe6030 RCX: 00007f10daed3059
RDX: 0000000000000004 RSI: 000000000000011b RDI: 0000000000000006
RBP: 00007f10daf2d08d R08: 0000000000000020 R09: 0000000000000000
R10: 0000000020000040 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffecff0fbff R14: 00007f10d9827300 R15: 0000000000022000
irq event stamp: 8194
hardirqs last enabled at (8204): [] console_unlock+0x8d5/0xb70 kernel/printk/printk.c:2715
hardirqs last disabled at (8213): [] console_unlock+0x8e4/0xb70 kernel/printk/printk.c:2707
softirqs last enabled at (2560): [] invoke_softirq kernel/softirq.c:432 [inline]
softirqs last enabled at (2560): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
softirqs last disabled at (5611): [] invoke_softirq kernel/softirq.c:432 [inline]
softirqs last disabled at (5611): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
----------------
Code disassembly (best guess):
0: 81 e1 00 01 00 00 and $0x100,%ecx
6: 65 48 8b 14 25 00 70 mov %gs:0x27000,%rdx
d: 02 00
f: a9 00 01 ff 00 test $0xff0100,%eax
14: 74 0e je 0x24
16: 85 c9 test %ecx,%ecx
18: 74 35 je 0x4f
1a: 8b 82 a4 15 00 00 mov 0x15a4(%rdx),%eax
20: 85 c0 test %eax,%eax
22: 74 2b je 0x4f
24: 8b 82 80 15 00 00 mov 0x1580(%rdx),%eax
* 2a: 83 f8 02 cmp $0x2,%eax <-- trapping instruction
2d: 75 20 jne 0x4f
2f: 48 8b 8a 88 15 00 00 mov 0x1588(%rdx),%rcx
36: 8b 92 84 15 00 00 mov 0x1584(%rdx),%edx
3c: 48 8b 01 mov (%rcx),%rax
3f: 48 rex.W