syzbot


INFO: rcu detected stall in do_wp_page

Status: auto-obsoleted due to no activity on 2022/08/27 06:40
Reported-by: syzbot+0c52c7e127ffb749d62b@syzkaller.appspotmail.com
First crash: 1634d, last: 1496d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in do_wp_page (3) kernel 2 1387d 1388d 0/26 auto-closed as invalid on 2020/10/07 00:48
upstream INFO: rcu detected stall in do_wp_page mm 1 1954d 1954d 0/26 auto-closed as invalid on 2019/06/18 17:56
upstream INFO: rcu detected stall in do_wp_page (2) kernel 9 1570d 1672d 0/26 auto-closed as invalid on 2020/04/07 01:35
android-49 INFO: rcu detected stall in do_wp_page 1 1631d 1631d 0/3 auto-closed as invalid on 2020/03/07 03:26
Last patch testing requests (1)
Created Duration User Patch Repo Result
2022/08/27 05:27 13m retest repro linux-4.19.y error OK

Sample crash report:
Memory cgroup stats for /syz3: cache:0KB rss:298076KB rss_huge:260096KB shmem:0KB mapped_file:0KB dirty:0KB writeback:0KB swap:0KB inactive_anon:79044KB active_anon:72KB inactive_file:4KB active_file:0KB unevictable:219088KB
Memory cgroup out of memory: Kill process 11215 (syz-executor.3) score 1120 or sacrifice child
Killed process 11229 (syz-executor.3) total-vm:40016kB, anon-rss:18384kB, file-rss:0kB, shmem-rss:0kB
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	(detected by 1, t=10502 jiffies, g=16729, q=122)
rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4295043081-4295032578), jiffies_till_next_fqs=1, root ->qsmask 0x0
syz-executor.4  R  running task    25600 11222   8297 0x80000002
Call Trace:
 <IRQ>
 sched_show_task kernel/sched/core.c:5338 [inline]
 sched_show_task.cold+0x2e2/0x343 kernel/sched/core.c:5313
 print_other_cpu_stall kernel/rcu/tree.c:1430 [inline]
 check_cpu_stall kernel/rcu/tree.c:1557 [inline]
 __rcu_pending kernel/rcu/tree.c:3293 [inline]
 rcu_pending kernel/rcu/tree.c:3336 [inline]
 rcu_check_callbacks.cold+0xaf0/0xddc kernel/rcu/tree.c:2682
 update_process_times+0x2a/0x70 kernel/time/timer.c:1638
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:168
 tick_sched_timer+0x42/0x130 kernel/time/tick-sched.c:1278
 __run_hrtimer kernel/time/hrtimer.c:1401 [inline]
 __hrtimer_run_queues+0x2fc/0xd50 kernel/time/hrtimer.c:1463
 hrtimer_interrupt+0x312/0x770 kernel/time/hrtimer.c:1521
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1092
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:97
Code: 48 c7 c7 20 2c 6e 87 4c 89 25 5c 23 06 0a 41 bc f4 ff ff ff e8 4a 1c eb ff 48 c7 05 46 23 06 0a 00 00 00 00 e9 24 ec ff ff 90 <48> 8b 34 24 65 48 8b 04 25 40 ee 01 00 65 8b 15 fc 54 9a 7e 81 e2
RSP: 0018:ffff8882124ef0c0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff8882124ef2a0 RBX: 0000000000000000 RCX: ffffffff81892c19
RDX: 0000000000000000 RSI: ffff8882124ef140 RDI: ffff8882124ef280
RBP: ffff8882124ef280 R08: ffff888091c44400 R09: ffffed1014bb78c5
R10: ffffed1014bb78c4 R11: ffff8880a5dbc627 R12: ffff8882124ef2a0
R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000000
 flush_plug_callbacks block/blk-core.c:3654 [inline]
 blk_flush_plug_list+0x2e3/0x930 block/blk-core.c:3699
 blk_finish_plug block/blk-core.c:3759 [inline]
 blk_finish_plug+0x50/0x97 block/blk-core.c:3755
 shrink_node_memcg+0x9d3/0x14b0 mm/vmscan.c:2583
 shrink_node+0x270/0x1350 mm/vmscan.c:2737
 shrink_zones mm/vmscan.c:2969 [inline]
 do_try_to_free_pages+0x3a3/0x1090 mm/vmscan.c:3027
 try_to_free_mem_cgroup_pages+0x2ef/0x8b0 mm/vmscan.c:3325
 try_charge+0x4ca/0x1300 mm/memcontrol.c:2264
 mem_cgroup_try_charge+0x249/0x5c0 mm/memcontrol.c:5993
 mem_cgroup_try_charge_delay+0x1a/0xa0 mm/memcontrol.c:6008
 wp_page_copy+0x3fe/0x1530 mm/memory.c:2520
 do_wp_page+0x518/0xfa0 mm/memory.c:2799
 handle_pte_fault mm/memory.c:4057 [inline]
 __handle_mm_fault+0x21a4/0x3b60 mm/memory.c:4165
 handle_mm_fault+0x1a5/0x670 mm/memory.c:4202
 faultin_page mm/gup.c:530 [inline]
 __get_user_pages+0x599/0x1650 mm/gup.c:730
 populate_vma_page_range+0x1fd/0x290 mm/gup.c:1234
 __mm_populate+0x1e8/0x350 mm/gup.c:1282
 mm_populate include/linux/mm.h:2323 [inline]
 __do_sys_mlockall mm/mlock.c:818 [inline]
 __se_sys_mlockall mm/mlock.c:795 [inline]
 __x64_sys_mlockall+0x340/0x500 mm/mlock.c:795
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45c479
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fcd0ec97c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000097
RAX: ffffffffffffffda RBX: 00007fcd0ec986d4 RCX: 000000000045c479
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000736 R14: 00000000004c9b76 R15: 000000000076bf2c
rcu: rcu_preempt kthread starved for 10548 jiffies! g16729 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    29616    10      2 0x80000000
Call Trace:
 schedule+0x8d/0x1b0 kernel/sched/core.c:3559
 schedule_timeout+0x4d1/0xf20 kernel/time/timer.c:1806
 rcu_gp_kthread+0xcee/0x2060 kernel/rcu/tree.c:2202
 kthread+0x34a/0x420 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/03 17:59 linux-4.19.y a083db76118d 350a7a26 .config console log report syz ci2-linux-4-19
2020/03/22 03:08 linux-4.19.y 14cfdbd39e31 78267cec .config console log report ci2-linux-4-19
2020/03/03 14:24 linux-4.19.y a083db76118d 350a7a26 .config console log report ci2-linux-4-19
2020/03/01 18:15 linux-4.19.y a083db76118d c88c7b75 .config console log report ci2-linux-4-19
2020/02/16 20:21 linux-4.19.y 9b15f7fae677 cf914200 .config console log report ci2-linux-4-19
2020/01/30 14:33 linux-4.19.y 7cdefde351b6 5ed23f9a .config console log report ci2-linux-4-19
2020/01/28 03:29 linux-4.19.y 88d6de67e390 56cd6c9b .config console log report ci2-linux-4-19
2020/01/13 03:06 linux-4.19.y dcd888983542 53faa9fe .config console log report ci2-linux-4-19
2019/11/05 06:45 linux-4.19.y ef244c308885 76630fc9 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.