syzbot


INFO: rcu detected stall in sys_sendfile64 (3)

Status: auto-closed as invalid on 2022/06/25 08:10
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 221d, last: 221d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_sendfile64 C 4 1445d 1445d 0/24 closed as invalid on 2018/12/19 10:12
upstream INFO: rcu detected stall in sys_sendfile64 (2) C done error 100 331d 1414d 0/24 closed as invalid on 2022/02/08 10:47
linux-4.19 INFO: rcu detected stall in sys_sendfile64 (2) 3 990d 1041d 0/1 auto-closed as invalid on 2020/07/16 06:45
linux-4.19 INFO: rcu detected stall in sys_sendfile64 1 1324d 1324d 0/1 auto-closed as invalid on 2019/10/16 04:09

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-...!: (1 GPs behind) idle=8c5/1/0x4000000000000000 softirq=26644/26647 fqs=0 
	(t=10500 jiffies g=29969 q=34 ncpus=2)
rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g29969 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=1 timer-softirq=11699
rcu: rcu_preempt kthread starved for 10500 jiffies! g29969 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:I stack:28680 pid:   16 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5106 [inline]
 __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6421
 schedule+0xd2/0x1f0 kernel/sched/core.c:6493
 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1907
 rcu_gp_fqs_loop+0x1c0/0x840 kernel/rcu/tree.c:2078
 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2267
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 9005 Comm: syz-executor.2 Not tainted 5.18.0-rc3-next-20220422-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:121 [inline]
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:435 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x3d4/0xb50 kernel/locking/qspinlock.c:511
Code: 00 48 c1 e9 03 83 e3 07 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 2c 01 eb 0c f3 90 41 83 ec 01 0f 84 71 04 00 00 <41> 0f b6 45 00 38 d8 7f 08 84 c0 0f 85 8f 05 00 00 0f b6 45 00 84
RSP: 0018:ffffc90000de0a38 EFLAGS: 00000202
RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff197f930
RDX: 0000000000000001 RSI: ffffffff81807171 RDI: ffffffff8134dffd
RBP: ffffffff8cbfc980 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81807158 R11: 0000000000000080 R12: 00000000000073cd
R13: fffffbfff197f930 R14: 0000000000000001 R15: ffff8880b9d3ae40
FS:  00007fb258b8e700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2cd22000 CR3: 000000005212f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock+0x200/0x2a0 kernel/locking/spinlock_debug.c:115
 spin_lock include/linux/spinlock.h:354 [inline]
 mac80211_hwsim_tx_frame_no_nl.isra.0+0x6f4/0x13b0 drivers/net/wireless/mac80211_hwsim.c:1593
 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1884
 mac80211_hwsim_beacon_tx+0x49e/0x920 drivers/net/wireless/mac80211_hwsim.c:1938
 __iterate_interfaces+0x1e5/0x560 net/mac80211/util.c:793
 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829
 mac80211_hwsim_beacon+0xcd/0x1c0 drivers/net/wireless/mac80211_hwsim.c:1961
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766
 __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:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:58 [inline]
RIP: 0010:stack_access_ok+0x17/0x1d0 arch/x86/kernel/unwind_orc.c:342
Code: e8 6e 67 91 00 eb c4 48 89 ef e8 64 67 91 00 eb de 66 90 48 b8 00 00 00 00 00 fc ff df 41 56 41 55 41 54 49 89 d4 48 89 fa 55 <48> c1 ea 03 48 89 f5 53 48 89 fb 48 83 ec 08 0f b6 04 02 84 c0 74
RSP: 0018:ffffc900143c72c8 EFLAGS: 00000283
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000001
RDX: ffffc900143c7360 RSI: ffffc900143c7658 RDI: ffffc900143c7360
RBP: ffffc900143c73a8 R08: ffffffff8e411aca R09: ffffc900143c7394
R10: fffff52002878e77 R11: ffffc900143c7680 R12: 0000000000000008
R13: ffffc900143c7360 R14: ffffc900143c7658 R15: ffffffff8e411ace
 deref_stack_reg arch/x86/kernel/unwind_orc.c:352 [inline]
 unwind_next_frame+0x12b4/0x1cc0 arch/x86/kernel/unwind_orc.c:600
 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
 save_stack+0x151/0x1e0 mm/page_owner.c:127
 __reset_page_owner+0x5d/0x180 mm/page_owner.c:148
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1309 [inline]
 free_pcp_prepare+0x549/0xd20 mm/page_alloc.c:1359
 free_unref_page_prepare mm/page_alloc.c:3281 [inline]
 free_unref_page+0x19/0x6a0 mm/page_alloc.c:3376
 __put_single_page mm/swap.c:106 [inline]
 __put_page+0x145/0x280 mm/swap.c:129
 folio_put include/linux/mm.h:1200 [inline]
 put_page include/linux/mm.h:1233 [inline]
 generic_pipe_buf_release+0x23a/0x2b0 fs/pipe.c:210
 pipe_buf_release include/linux/pipe_fs_i.h:203 [inline]
 pipe_truncate lib/iov_iter.c:997 [inline]
 iov_iter_revert lib/iov_iter.c:1114 [inline]
 iov_iter_revert+0x6e9/0x900 lib/iov_iter.c:1084
 __iomap_dio_rw+0x1568/0x1ae0 fs/iomap/direct-io.c:606
 iomap_dio_rw+0x38/0x90 fs/iomap/direct-io.c:680
 ext4_dio_read_iter fs/ext4/file.c:79 [inline]
 ext4_file_read_iter+0x434/0x600 fs/ext4/file.c:130
 call_read_iter include/linux/fs.h:2053 [inline]
 generic_file_splice_read+0x3b4/0x5d0 fs/splice.c:311
 do_splice_to+0x1b9/0x240 fs/splice.c:796
 splice_direct_to_actor+0x2c2/0x8c0 fs/splice.c:870
 do_splice_direct+0x1a7/0x270 fs/splice.c:979
 do_sendfile+0xae0/0x1240 fs/read_write.c:1246
 __do_sys_sendfile64 fs/read_write.c:1311 [inline]
 __se_sys_sendfile64 fs/read_write.c:1297 [inline]
 __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1297
 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:0x7fb257a890e9
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:00007fb258b8e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fb257b9bf60 RCX: 00007fb257a890e9
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007fb257ae308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe35f4c48f R14: 00007fb258b8e300 R15: 0000000000022000
 </TASK>
NMI backtrace for cpu 0
CPU: 0 PID: 9000 Comm: syz-executor.3 Not tainted 5.18.0-rc3-next-20220422-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x262/0x3f0 kernel/rcu/tree_stall.h:369
 print_cpu_stall kernel/rcu/tree_stall.h:665 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:749 [inline]
 rcu_pending kernel/rcu/tree.c:4068 [inline]
 rcu_sched_clock_irq.cold+0x144/0x8fc kernel/rcu/tree.c:2755
 update_process_times+0x16d/0x200 kernel/time/timer.c:1811
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:243
 tick_sched_timer+0xee/0x120 kernel/time/tick-sched.c:1473
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:kvm_wait+0x98/0x100 arch/x86/kernel/kvm.c:1058
Code: fa 83 e2 07 38 d0 7f 04 84 c0 75 63 0f b6 07 40 38 c6 74 35 48 83 c4 10 c3 c3 e8 23 91 4b 00 eb 07 0f 00 2d da b1 94 08 fb f4 <48> 83 c4 10 c3 89 74 24 0c 48 89 3c 24 e8 56 8f 4b 00 8b 74 24 0c
RSP: 0018:ffffc90000007488 EFLAGS: 00000246
RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff1b73199
RDX: 0000000000000000 RSI: ffffffff81807171 RDI: ffffffff8134dffd
RBP: ffff88804a73c448 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81807158 R11: 0000000000000001 R12: 0000000000000000
R13: ffffed10094e7889 R14: 0000000000000001 R15: ffff8880b9c3ae40
 pv_wait arch/x86/include/asm/paravirt.h:603 [inline]
 pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
 __pv_queued_spin_lock_slowpath+0x8c7/0xb50 kernel/locking/qspinlock.c:511
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock+0x200/0x2a0 kernel/locking/spinlock_debug.c:115
 spin_lock include/linux/spinlock.h:354 [inline]
 task_lock include/linux/sched/task.h:170 [inline]
 __get_task_comm+0x23/0x50 fs/exec.c:1219
 __set_page_owner_handle mm/page_owner.c:174 [inline]
 __set_page_owner+0x253/0x380 mm/page_owner.c:192
 prep_new_page mm/page_alloc.c:2394 [inline]
 get_page_from_freelist+0xba2/0x3e00 mm/page_alloc.c:4135
 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5356
 alloc_pages+0x1aa/0x310 mm/mempolicy.c:2273
 alloc_slab_page mm/slub.c:1797 [inline]
 allocate_slab+0x26c/0x3c0 mm/slub.c:1942
 new_slab mm/slub.c:2002 [inline]
 ___slab_alloc+0x985/0xd90 mm/slub.c:3002
 __slab_alloc.constprop.0+0x4d/0xa0 mm/slub.c:3089
 slab_alloc_node mm/slub.c:3180 [inline]
 kmem_cache_alloc_node+0x122/0x3f0 mm/slub.c:3264
 __alloc_skb+0x215/0x340 net/core/skbuff.c:414
 skb_copy+0x139/0x3c0 net/core/skbuff.c:1585
 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb7c/0x13b0 drivers/net/wireless/mac80211_hwsim.c:1642
 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1884
 mac80211_hwsim_beacon_tx+0x49e/0x920 drivers/net/wireless/mac80211_hwsim.c:1938
 __iterate_interfaces+0x1e5/0x560 net/mac80211/util.c:793
 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829
 mac80211_hwsim_beacon+0xcd/0x1c0 drivers/net/wireless/mac80211_hwsim.c:1961
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766
 __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:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:202 [inline]
RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:543 [inline]
RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:82 [inline]
RIP: 0010:do_raw_spin_lock+0x132/0x2a0 kernel/locking/spinlock_debug.c:115
Code: 00 00 00 00 e8 0f 0c 68 00 be 04 00 00 00 48 8d 7c 24 28 e8 00 0c 68 00 8b 44 24 28 ba 01 00 00 00 89 44 24 04 f0 0f b1 55 00 <0f> 85 91 00 00 00 65 44 8b 35 30 78 a3 7e 48 b8 00 00 00 00 00 fc
RSP: 0018:ffffc9001415ef58 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 1ffff9200282bdec RCX: ffffffff815ea180
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc9001415ef80
RBP: ffff88804a73c448 R08: 0000000000000001 R09: 0000000000000003
R10: fffff5200282bdf0 R11: 0000000000000001 R12: ffff88804a73c450
R13: ffff88804a73c458 R14: ffff88801361a6c8 R15: 0000000000000007
 spin_lock include/linux/spinlock.h:354 [inline]
 task_lock include/linux/sched/task.h:170 [inline]
 __get_task_comm+0x23/0x50 fs/exec.c:1219
 __set_page_owner_handle mm/page_owner.c:174 [inline]
 __set_page_owner+0x253/0x380 mm/page_owner.c:192
 prep_new_page mm/page_alloc.c:2394 [inline]
 get_page_from_freelist+0xba2/0x3e00 mm/page_alloc.c:4135
 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5356
 alloc_pages_vma+0xf9/0x770 mm/mempolicy.c:2221
 do_anonymous_page mm/memory.c:4077 [inline]
 handle_pte_fault mm/memory.c:4902 [inline]
 __handle_mm_fault+0x1a24/0x33d0 mm/memory.c:5043
 handle_mm_fault+0x1c8/0x790 mm/memory.c:5141
 do_user_addr_fault+0x489/0x11c0 arch/x86/mm/fault.c:1397
 handle_page_fault arch/x86/mm/fault.c:1484 [inline]
 exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1540
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:__clear_user+0x40/0x70 arch/x86/lib/usercopy_64.c:24
Code: ad 2b 8a e8 32 e2 8e fd 0f 01 cb 48 89 d8 48 c1 eb 03 48 89 ef 83 e0 07 48 89 d9 48 85 c9 74 19 66 2e 0f 1f 84 00 00 00 00 00 <48> c7 07 00 00 00 00 48 83 c7 08 ff c9 75 f1 48 89 c1 85 c9 74 0a
RSP: 0018:ffffc9001415f680 EFLAGS: 00050206
RAX: 0000000000000000 RBX: 0000000004001e00 RCX: 0000000003ea0a00
RDX: 0000000000040000 RSI: ffffffff842298ce RDI: 0000000020b0a000
RBP: 0000000020000000 R08: 0000000000000000 R09: ffffffff8db95917
R10: 0000000000000000 R11: 0000000000000000 R12: 00007fffdfff0000
R13: 0000000020000000 R14: dffffc0000000000 R15: 0000000000000000
 clear_user+0xca/0x100 arch/x86/lib/usercopy_64.c:52
 iov_iter_zero+0x1c6/0x1790 lib/iov_iter.c:947
 iomap_dio_hole_iter fs/iomap/direct-io.c:380 [inline]
 iomap_dio_iter fs/iomap/direct-io.c:428 [inline]
 __iomap_dio_rw+0x983/0x1ae0 fs/iomap/direct-io.c:590
 iomap_dio_rw+0x38/0x90 fs/iomap/direct-io.c:680
 ext4_dio_read_iter fs/ext4/file.c:79 [inline]
 ext4_file_read_iter+0x434/0x600 fs/ext4/file.c:130
 call_read_iter include/linux/fs.h:2053 [inline]
 aio_read+0x2a4/0x450 fs/aio.c:1563
 __io_submit_one fs/aio.c:1973 [inline]
 io_submit_one+0xfbe/0x1c70 fs/aio.c:2022
 __do_sys_io_submit fs/aio.c:2081 [inline]
 __se_sys_io_submit fs/aio.c:2051 [inline]
 __x64_sys_io_submit+0x18c/0x330 fs/aio.c:2051
 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:0x7f27330890e9
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:00007f2734175168 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f273319bf60 RCX: 00007f27330890e9
RDX: 0000000020000540 RSI: 0000000000000008 RDI: 00007f273414c000
RBP: 00007f27330e308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdf7666f0f R14: 00007f2734175300 R15: 0000000000022000
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 9005 Comm: syz-executor.2 Not tainted 5.18.0-rc3-next-20220422-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x3ca/0xb50 kernel/locking/qspinlock.c:511
Code: eb c6 45 01 01 41 bc 00 80 00 00 48 c1 e9 03 83 e3 07 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 2c 01 eb 0c f3 90 <41> 83 ec 01 0f 84 71 04 00 00 41 0f b6 45 00 38 d8 7f 08 84 c0 0f
RSP: 0018:ffffc90000de0a38 EFLAGS: 00000206
RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff197f930
RDX: 0000000000000001 RSI: ffffffff81807171 RDI: ffffffff8134dffd
RBP: ffffffff8cbfc980 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81807158 R11: 0000000000000080 R12: 00000000000077fc
R13: fffffbfff197f930 R14: 0000000000000001 R15: ffff8880b9d3ae40
FS:  00007fb258b8e700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2cd22000 CR3: 000000005212f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock+0x200/0x2a0 kernel/locking/spinlock_debug.c:115
 spin_lock include/linux/spinlock.h:354 [inline]
 mac80211_hwsim_tx_frame_no_nl.isra.0+0x6f4/0x13b0 drivers/net/wireless/mac80211_hwsim.c:1593
 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1884
 mac80211_hwsim_beacon_tx+0x49e/0x920 drivers/net/wireless/mac80211_hwsim.c:1938
 __iterate_interfaces+0x1e5/0x560 net/mac80211/util.c:793
 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829
 mac80211_hwsim_beacon+0xcd/0x1c0 drivers/net/wireless/mac80211_hwsim.c:1961
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766
 __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:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:58 [inline]
RIP: 0010:stack_access_ok+0x17/0x1d0 arch/x86/kernel/unwind_orc.c:342
Code: e8 6e 67 91 00 eb c4 48 89 ef e8 64 67 91 00 eb de 66 90 48 b8 00 00 00 00 00 fc ff df 41 56 41 55 41 54 49 89 d4 48 89 fa 55 <48> c1 ea 03 48 89 f5 53 48 89 fb 48 83 ec 08 0f b6 04 02 84 c0 74
RSP: 0018:ffffc900143c72c8 EFLAGS: 00000283
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000001
RDX: ffffc900143c7360 RSI: ffffc900143c7658 RDI: ffffc900143c7360
RBP: ffffc900143c73a8 R08: ffffffff8e411aca R09: ffffc900143c7394
R10: fffff52002878e77 R11: ffffc900143c7680 R12: 0000000000000008
R13: ffffc900143c7360 R14: ffffc900143c7658 R15: ffffffff8e411ace
 deref_stack_reg arch/x86/kernel/unwind_orc.c:352 [inline]
 unwind_next_frame+0x12b4/0x1cc0 arch/x86/kernel/unwind_orc.c:600
 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
 save_stack+0x151/0x1e0 mm/page_owner.c:127
 __reset_page_owner+0x5d/0x180 mm/page_owner.c:148
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1309 [inline]
 free_pcp_prepare+0x549/0xd20 mm/page_alloc.c:1359
 free_unref_page_prepare mm/page_alloc.c:3281 [inline]
 free_unref_page+0x19/0x6a0 mm/page_alloc.c:3376
 __put_single_page mm/swap.c:106 [inline]
 __put_page+0x145/0x280 mm/swap.c:129
 folio_put include/linux/mm.h:1200 [inline]
 put_page include/linux/mm.h:1233 [inline]
 generic_pipe_buf_release+0x23a/0x2b0 fs/pipe.c:210
 pipe_buf_release include/linux/pipe_fs_i.h:203 [inline]
 pipe_truncate lib/iov_iter.c:997 [inline]
 iov_iter_revert lib/iov_iter.c:1114 [inline]
 iov_iter_revert+0x6e9/0x900 lib/iov_iter.c:1084
 __iomap_dio_rw+0x1568/0x1ae0 fs/iomap/direct-io.c:606
 iomap_dio_rw+0x38/0x90 fs/iomap/direct-io.c:680
 ext4_dio_read_iter fs/ext4/file.c:79 [inline]
 ext4_file_read_iter+0x434/0x600 fs/ext4/file.c:130
 call_read_iter include/linux/fs.h:2053 [inline]
 generic_file_splice_read+0x3b4/0x5d0 fs/splice.c:311
 do_splice_to+0x1b9/0x240 fs/splice.c:796
 splice_direct_to_actor+0x2c2/0x8c0 fs/splice.c:870
 do_splice_direct+0x1a7/0x270 fs/splice.c:979
 do_sendfile+0xae0/0x1240 fs/read_write.c:1246
 __do_sys_sendfile64 fs/read_write.c:1311 [inline]
 __se_sys_sendfile64 fs/read_write.c:1297 [inline]
 __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1297
 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:0x7fb257a890e9
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:00007fb258b8e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fb257b9bf60 RCX: 00007fb257a890e9
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007fb257ae308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe35f4c48f R14: 00007fb258b8e300 R15: 0000000000022000
 </TASK>
----------------
Code disassembly (best guess):
   0:	00 48 c1             	add    %cl,-0x3f(%rax)
   3:	e9 03 83 e3 07       	jmpq   0x7e3830b
   8:	41 be 01 00 00 00    	mov    $0x1,%r14d
   e:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  15:	fc ff df
  18:	4c 8d 2c 01          	lea    (%rcx,%rax,1),%r13
  1c:	eb 0c                	jmp    0x2a
  1e:	f3 90                	pause
  20:	41 83 ec 01          	sub    $0x1,%r12d
  24:	0f 84 71 04 00 00    	je     0x49b
* 2a:	41 0f b6 45 00       	movzbl 0x0(%r13),%eax <-- trapping instruction
  2f:	38 d8                	cmp    %bl,%al
  31:	7f 08                	jg     0x3b
  33:	84 c0                	test   %al,%al
  35:	0f 85 8f 05 00 00    	jne    0x5ca
  3b:	0f b6 45 00          	movzbl 0x0(%rbp),%eax
  3f:	84                   	.byte 0x84

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2022/04/26 08:08 linux-next e7d6987e09a3 1fa34c1b .config log report info INFO: rcu detected stall in sys_sendfile64
ci-upstream-linux-next-kasan-gce-root 2022/04/26 00:49 linux-next e7d6987e09a3 152baedd .config log report info INFO: rcu detected stall in sys_sendfile64
* Struck through repros no longer work on HEAD.