syzbot


INFO: rcu detected stall in clone3 (3)

Status: auto-obsoleted due to no activity on 2023/05/19 23:49
Subsystems: kernel
[Documentation on labels]
First crash: 426d, last: 426d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in clone3 mm 2 829d 855d 0/26 closed as invalid on 2022/02/08 10:10
upstream INFO: rcu detected stall in clone3 (2) kernfs 1 677d 677d 0/26 auto-closed as invalid on 2022/09/10 23:49
upstream INFO: rcu detected stall in clone3 (4) net mm 2 240d 319d 0/26 auto-obsoleted due to no activity on 2023/11/22 09:08

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (0 ticks this GP) idle=a094/1/0x4000000000000000 softirq=24518/24518 fqs=0
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P8798/1:b..l
	(detected by 1, t=10505 jiffies, g=34613, q=24 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 10057 Comm: syz-executor.2 Not tainted 6.2.0-rc8-syzkaller-00134-g38f8ccde04a3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:check_preemption_disabled+0x0/0x170 lib/smp_processor_id.c:13
Code: 0f 1f 44 00 00 85 db 74 07 0f 1f 44 00 00 0f 0b 0f 1f 44 00 00 5b e9 6f fb ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 <41> 56 41 55 49 89 f5 41 54 55 48 89 fd 53 0f 1f 44 00 00 65 44 8b
RSP: 0018:ffffc90000007cb8 EFLAGS: 00000046
RAX: 0000000000000007 RBX: 1ffff92000000f9b RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8a4c3fc0 RDI: ffffffff8aa6adc0
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8e74e057
R10: fffffbfff1ce9c0a R11: 0000000000000000 R12: 0000000000000002
R13: 0000000000000000 R14: ffffffff8c78f2e0 R15: 0000000000000000
FS:  00007f1ded509700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31823000 CR3: 000000002196d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lockdep_recursion_inc kernel/locking/lockdep.c:461 [inline]
 lock_acquire kernel/locking/lockdep.c:5667 [inline]
 lock_acquire+0x1a8/0x630 kernel/locking/lockdep.c:5633
 rcu_lock_acquire include/linux/rcupdate.h:325 [inline]
 rcu_read_lock include/linux/rcupdate.h:764 [inline]
 advance_sched+0x4a9/0x9b0 net/sched/sch_taprio.c:753
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x690/0xfb0 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
 __sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113
 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:write_comp_data+0x3c/0x90 kernel/kcov.c:236
Code: 01 00 00 49 89 f8 65 48 8b 14 25 40 ac 03 00 a9 00 01 ff 00 74 0e 85 f6 74 59 8b 82 6c 15 00 00 85 c0 74 4f 8b 82 48 15 00 00 <83> f8 03 75 44 48 8b 82 50 15 00 00 8b 92 4c 15 00 00 48 8b 38 48
RSP: 0018:ffffc900036af6b8 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffffea0000b54900 RCX: ffffffff81baa010
RDX: ffff88803c8ac0c0 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 800000002d524007
 _compound_head+0x40/0x150 include/linux/page-flags.h:253
 PageSwapBacked include/linux/page-flags.h:500 [inline]
 mm_counter_file include/linux/mm.h:2210 [inline]
 mm_counter include/linux/mm.h:2219 [inline]
 copy_present_pte mm/memory.c:919 [inline]
 copy_pte_range mm/memory.c:1034 [inline]
 copy_pmd_range mm/memory.c:1120 [inline]
 copy_pud_range mm/memory.c:1157 [inline]
 copy_p4d_range mm/memory.c:1181 [inline]
 copy_page_range+0x1573/0x3b60 mm/memory.c:1279
 dup_mmap+0xc10/0x10b0 kernel/fork.c:694
 dup_mm kernel/fork.c:1548 [inline]
 copy_mm kernel/fork.c:1597 [inline]
 copy_process+0x4423/0x7530 kernel/fork.c:2266
 kernel_clone+0xeb/0x9f0 kernel/fork.c:2681
 __do_sys_clone3+0x1cd/0x2e0 kernel/fork.c:2980
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f1dec88c0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1ded509038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3
RAX: ffffffffffffffda RBX: 00007f1dec9ac120 RCX: 00007f1dec88c0f9
RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007f1ded509050
RBP: 00007f1dec8e7ae9 R08: 0000000000000000 R09: 0000000000000058
R10: 00007f1ded509050 R11: 0000000000000246 R12: 0000000000000058
R13: 00007ffc8efbc14f R14: 00007f1ded509300 R15: 0000000000022000
 </TASK>
task:kworker/u4:16   state:R  running task     stack:26520 pid:8798  ppid:2      flags:0x00004000
Workqueue: bat_events batadv_nc_worker
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5296 [inline]
 __schedule+0xbdd/0x54f0 kernel/sched/core.c:6609
 preempt_schedule_irq+0x52/0xa0 kernel/sched/core.c:6921
 irqentry_exit+0x35/0x80 kernel/entry/common.c:432
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:lock_acquire+0x227/0x630 kernel/locking/lockdep.c:5636
Code: be 9f 7e 83 f8 01 0f 85 3a 03 00 00 9c 58 f6 c4 02 0f 85 25 03 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0018:ffffc90004dcfb90 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff920009b9f75 RCX: 59edb6c76a6e135b
RDX: 1ffff1100fcef566 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff91361ac7
R10: fffffbfff226c358 R11: 1ffffffff18f3321 R12: 0000000000000002
R13: 0000000000000000 R14: ffffffff8c78f2e0 R15: 0000000000000000
 rcu_lock_acquire include/linux/rcupdate.h:325 [inline]
 rcu_read_lock include/linux/rcupdate.h:764 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
 batadv_nc_worker+0x131/0xfa0 net/batman-adv/network-coding.c:719
 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
 worker_thread+0x669/0x1090 kernel/workqueue.c:2436
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10504 jiffies! g34613 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=37241
rcu: rcu_preempt kthread starved for 10505 jiffies! g34613 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28080 pid:15    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5296 [inline]
 __schedule+0xbdd/0x54f0 kernel/sched/core.c:6609
 schedule+0xde/0x1b0 kernel/sched/core.c:6685
 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167
 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1656
 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1855
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 10057 Comm: syz-executor.2 Not tainted 6.2.0-rc8-syzkaller-00134-g38f8ccde04a3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:mark_lock.part.0+0x123/0x1910 kernel/locking/lockdep.c:4612
Code: 00 00 00 4b 8d 04 76 48 c1 e0 06 48 05 e0 1e 36 91 48 8d 78 50 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 11 00 <0f> 85 65 13 00 00 48 89 ee 48 23 70 50 0f 84 d3 06 00 00 41 ba 01
RSP: 0018:ffffc900000079e8 EFLAGS: 00000046
RAX: ffffffff913637a0 RBX: 1ffff92000000f44 RCX: 1ffffffff226c6fe
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff913637f0
RBP: 0000000000000200 R08: 0000000000000000 R09: ffffffff91361ac7
R10: fffffbfff226c358 R11: 0000000000000000 R12: ffff88803c8acbc0
R13: 0000000000000009 R14: 0000000000000021 R15: ffff88803c8acbe0
FS:  00007f1ded509700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31823000 CR3: 000000002196d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 mark_lock kernel/locking/lockdep.c:4598 [inline]
 mark_usage kernel/locking/lockdep.c:4555 [inline]
 __lock_acquire+0x8ab/0x56d0 kernel/locking/lockdep.c:5009
 lock_acquire kernel/locking/lockdep.c:5668 [inline]
 lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633
 rcu_lock_acquire include/linux/rcupdate.h:325 [inline]
 rcu_read_lock include/linux/rcupdate.h:764 [inline]
 advance_sched+0x4a9/0x9b0 net/sched/sch_taprio.c:753
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x690/0xfb0 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
 __sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113
 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:write_comp_data+0x3c/0x90 kernel/kcov.c:236
Code: 01 00 00 49 89 f8 65 48 8b 14 25 40 ac 03 00 a9 00 01 ff 00 74 0e 85 f6 74 59 8b 82 6c 15 00 00 85 c0 74 4f 8b 82 48 15 00 00 <83> f8 03 75 44 48 8b 82 50 15 00 00 8b 92 4c 15 00 00 48 8b 38 48
RSP: 0018:ffffc900036af6b8 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffffea0000b54900 RCX: ffffffff81baa010
RDX: ffff88803c8ac0c0 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 800000002d524007
 _compound_head+0x40/0x150 include/linux/page-flags.h:253
 PageSwapBacked include/linux/page-flags.h:500 [inline]
 mm_counter_file include/linux/mm.h:2210 [inline]
 mm_counter include/linux/mm.h:2219 [inline]
 copy_present_pte mm/memory.c:919 [inline]
 copy_pte_range mm/memory.c:1034 [inline]
 copy_pmd_range mm/memory.c:1120 [inline]
 copy_pud_range mm/memory.c:1157 [inline]
 copy_p4d_range mm/memory.c:1181 [inline]
 copy_page_range+0x1573/0x3b60 mm/memory.c:1279
 dup_mmap+0xc10/0x10b0 kernel/fork.c:694
 dup_mm kernel/fork.c:1548 [inline]
 copy_mm kernel/fork.c:1597 [inline]
 copy_process+0x4423/0x7530 kernel/fork.c:2266
 kernel_clone+0xeb/0x9f0 kernel/fork.c:2681
 __do_sys_clone3+0x1cd/0x2e0 kernel/fork.c:2980
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f1dec88c0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1ded509038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3
RAX: ffffffffffffffda RBX: 00007f1dec9ac120 RCX: 00007f1dec88c0f9
RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007f1ded509050
RBP: 00007f1dec8e7ae9 R08: 0000000000000000 R09: 0000000000000058
R10: 00007f1ded509050 R11: 0000000000000246 R12: 0000000000000058
R13: 00007ffc8efbc14f R14: 00007f1ded509300 R15: 0000000000022000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/18 23:40 upstream 38f8ccde04a3 bcdf85f8 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in clone3
* Struck through repros no longer work on HEAD.