syzbot


INFO: rcu detected stall in wp_page_copy (2)

Status: auto-closed as invalid on 2021/02/13 17:47
Subsystems: kernel
[Documentation on labels]
First crash: 1752d, last: 1752d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in wp_page_copy kernel 1 1 2562d 2559d 0/29 auto-closed as invalid on 2019/02/24 15:30

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...!: (1 GPs behind) idle=566/1/0x4000000000000000 softirq=69313/69316 fqs=1 
	(detected by 0, t=10502 jiffies, g=110453, q=44)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 8477 Comm: syz-executor.5 Not tainted 5.10.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:check_preemption_disabled+0x65/0x170 lib/smp_processor_id.c:54
Code: ff 7f 31 ff 0f 1f 44 00 00 81 e5 ff ff ff 7f 74 2a 0f 1f 44 00 00 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 02 01 00 00 <89> d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 9c 8f 04 24 4c
RSP: 0018:ffffc90000d90c10 EFLAGS: 00000046
RAX: 5b20782596323a00 RBX: 0000000000000001 RCX: 0000000080010004
RDX: 0000000000000000 RSI: 0000000000010004 RDI: 0000000000000000
RBP: 0000000000010004 R08: dffffc0000000000 R09: fffffbfff19dc566
R10: fffffbfff19dc566 R11: 0000000000000000 R12: 0000000000000002
R13: ffff88801ac19a40 R14: ffffffff898e33e0 R15: ffffffff89ec8be0
FS:  00000000018cd940(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2cb21000 CR3: 00000000171e8000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lockdep_recursion_finish kernel/locking/lockdep.c:435 [inline]
 lock_is_held_type+0xd7/0x140 kernel/locking/lockdep.c:5476
 lock_is_held include/linux/lockdep.h:271 [inline]
 rcu_read_lock_sched_held+0x41/0xb0 kernel/rcu/update.c:123
 trace_lock_acquire+0x6b/0x180 include/trace/events/lock.h:13
 lock_acquire+0x39/0x5e0 kernel/locking/lockdep.c:5407
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline]
 _raw_spin_lock_irq+0x6f/0xa0 kernel/locking/spinlock.c:167
 __run_hrtimer kernel/time/hrtimer.c:1523 [inline]
 __hrtimer_run_queues+0x4c1/0x960 kernel/time/hrtimer.c:1583
 hrtimer_interrupt+0x3b3/0xe00 kernel/time/hrtimer.c:1645
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
 __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1097
 asm_call_irq_on_stack+0xf/0x20
 </IRQ>
 __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline]
 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline]
 sysvec_apic_timer_interrupt+0x9f/0xf0 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:199
Code: 0f 1f 44 00 00 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 7e 83 19 f8 48 89 df e8 b6 4a 1b f8 e8 61 38 3b f8 fb bf 01 00 00 00 <e8> b6 fc 0f f8 65 8b 05 eb 3d c2 76 85 c0 74 02 5b c3 e8 8b 9a c0
RSP: 0018:ffffc9000172fa20 EFLAGS: 00000282
RAX: 5b20782596323a00 RBX: ffff8880b9d34840 RCX: ffffffff81598446
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001
RBP: ffffc9000172fa80 R08: dffffc0000000000 R09: fffffbfff1d93064
R10: fffffbfff1d93064 R11: 0000000000000000 R12: ffff8880b9d34840
R13: ffff88801ac19a40 R14: dffffc0000000000 R15: 0000000000000000
 finish_task_switch+0x140/0x5b0 kernel/sched/core.c:3613
 context_switch kernel/sched/core.c:3777 [inline]
 __schedule+0x934/0xcb0 kernel/sched/core.c:4523
 preempt_schedule_irq+0x83/0x100 kernel/sched/core.c:4784
 irqentry_exit_cond_resched kernel/entry/common.c:357 [inline]
 irqentry_exit+0xa7/0xb0 kernel/entry/common.c:387
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631
RIP: 0010:mmu_notifier_invalidate_range_start+0x0/0xf0 include/linux/mmu_notifier.h:447
Code: a6 04 ce ff 48 8b 7c 24 10 e8 dc ed fe ff 0f 0b e8 85 61 96 07 e8 90 04 ce ff 48 8b 7c 24 10 e8 c6 ed fe ff 0f 0b 0f 1f 40 00 <41> 57 41 56 41 54 53 49 89 fe e8 71 04 ce ff 48 c7 c7 40 22 9a 89
RSP: 0000:ffffc9000172fc28 EFLAGS: 00000246
RAX: 1ffff920002e5f00 RBX: 00007ffd57669000 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc9000172fca8
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffff940001b3829
R10: fffff940001b3829 R11: 0000000000000000 R12: ffffc9000172fdd0
R13: ffffea0000d9c140 R14: 1ffff920002e5fc0 R15: 000000000000e706
 wp_page_copy+0x4b0/0x1f30 mm/memory.c:2864
 handle_pte_fault mm/memory.c:4392 [inline]
 __handle_mm_fault mm/memory.c:4509 [inline]
 handle_mm_fault+0x1f2b/0x2590 mm/memory.c:4607
 do_user_addr_fault+0x4ca/0xa40 arch/x86/mm/fault.c:1372
 handle_page_fault arch/x86/mm/fault.c:1429 [inline]
 exc_page_fault+0xa1/0x1e0 arch/x86/mm/fault.c:1485
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:583
RIP: 0033:0x45c63f
Code: f0 ff ff 76 b6 83 f8 ea 74 b1 83 f8 f2 74 ac bf f8 a8 51 00 e8 52 de fc ff 66 90 e8 cb 2b fd ff e8 d6 9d fd ff e9 0c fe ff ff <e8> 7c 9e fd ff e8 17 2c fd ff 48 85 db 0f 85 73 ff ff ff e9 24 ff
RSP: 002b:00007ffd57668f70 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 00007ffd57668f70 RCX: 000000000045c48a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffd57668fb0 R08: 0000000000000001 R09: 00000000018cd940
R10: 00000000018cdc10 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000e40 R14: 0000000000000001 R15: 00007ffd57669000
rcu: rcu_preempt kthread starved for 10499 jiffies! g110453 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
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:R  running task     stack:28792 pid:   11 ppid:     2 flags:0x00004000
Call Trace:
 context_switch kernel/sched/core.c:3774 [inline]
 __schedule+0x92c/0xcb0 kernel/sched/core.c:4523
 schedule+0x14b/0x200 kernel/sched/core.c:4601
 schedule_timeout+0x15c/0x250 kernel/time/timer.c:1871
 rcu_gp_fqs_loop kernel/rcu/tree.c:1925 [inline]
 rcu_gp_kthread+0xe0d/0x1ad0 kernel/rcu/tree.c:2099
 kthread+0x36b/0x390 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/15 17:42 upstream e28c0d7c92c8 1bf9a662 .config console log report info ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.