syzbot


INFO: rcu detected stall in __do_softirq (2)

Status: auto-obsoleted due to no activity on 2024/08/06 06:26
Subsystems: kernel
[Documentation on labels]
First crash: 159d, last: 159d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in __do_softirq 1 130d 130d 0/3 auto-obsoleted due to no activity on 2024/09/14 06:04
linux-5.15 INFO: rcu detected stall in __do_softirq 2 349d 368d 0/3 auto-obsoleted due to no activity on 2024/02/08 12:45
linux-4.19 INFO: rcu detected stall in __do_softirq (2) 9 1492d 1678d 0/1 auto-closed as invalid on 2021/01/10 17:25
linux-4.14 INFO: rcu detected stall in __do_softirq 1 1945d 1945d 0/1 auto-closed as invalid on 2019/10/25 08:47
linux-4.19 INFO: rcu detected stall in __do_softirq 2 1880d 1944d 0/1 auto-closed as invalid on 2019/12/20 09:57
upstream INFO: rcu detected stall in __do_softirq net syz done 35 663d 1897d 0/28 auto-obsoleted due to no activity on 2023/04/21 04:43
linux-4.14 BUG: soft lockup in __do_softirq syz error 3 1258d 1300d 0/1 upstream: reported syz repro on 2021/03/23 20:32
android-5-15 BUG: soft lockup in __do_softirq 1 71d 71d 0/2 premoderation: reported on 2024/08/04 12:18

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-.... } 6374 jiffies s: 17249 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5096 Comm: syz-executor.0 Not tainted 6.9.0-rc6-syzkaller-01528-g1b3b2d9e772b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:__lock_acquire+0x13b2/0x1fd0 kernel/locking/lockdep.c:5145
Code: df e8 a2 64 88 00 48 ba 00 00 00 00 00 fc ff df 48 89 2b 48 8b 44 24 40 0f b6 04 10 84 c0 0f 85 84 09 00 00 48 8b 0c 24 8b 01 <ff> c0 89 01 83 f8 30 0f 83 5f 02 00 00 3b 05 3b 69 81 11 0f 87 b9
RSP: 0018:ffffc90000a087f0 EFLAGS: 00000046
RAX: 0000000000000007 RBX: ffff8880297146c8 RCX: ffff8880297146d0
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff92f42508
RBP: 3be9ba32c8301548 R08: ffffffff92f4250f R09: 1ffffffff25e84a1
R10: dffffc0000000000 R11: fffffbfff25e84a2 R12: ffff888029713c00
R13: ffff888029713c00 R14: 0000000000000001 R15: ffff888029713c00
FS:  000055557915f480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fef1bed56c6 CR3: 0000000079ffc000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline]
 _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170
 __run_hrtimer kernel/time/hrtimer.c:1696 [inline]
 __hrtimer_run_queues+0x67a/0xd50 kernel/time/hrtimer.c:1756
 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
 __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
 sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:variable_ffs arch/x86/include/asm/bitops.h:321 [inline]
RIP: 0010:__do_softirq+0x1db/0x980 kernel/softirq.c:542
Code: 89 7c 24 70 0f b7 db 48 c7 c7 80 ae c9 8b e8 ac 1c f5 ff 65 66 c7 05 ea 13 76 74 00 00 e8 8d a7 0f f6 fb 49 c7 c5 c0 a0 00 8e <89> 5c 24 34 b8 ff ff ff ff 0f bc 44 24 34 41 89 c4 41 ff c4 0f 84
RSP: 0018:ffffc90000a08e40 EFLAGS: 00000286
RAX: 3c61029924c12d00 RBX: 0000000000000386 RCX: ffffffff8173197a
RDX: dffffc0000000000 RSI: ffffffff8bcab900 RDI: ffffffff8c1f8600
RBP: ffffc90000a08f50 R08: ffffffff92f4259f R09: 1ffffffff25e84b3
R10: dffffc0000000000 R11: fffffbfff25e84b4 R12: ffff888029713c00
R13: ffffffff8e00a0c0 R14: dffffc0000000000 R15: 1ffff920001411dc
 invoke_softirq kernel/softirq.c:428 [inline]
 __irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:645
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x70 kernel/kcov.c:207
Code: c0 d3 03 00 65 8b 15 30 a9 6d 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 14 16 00 00 00 74 2c 8b 91 f0 15 00 00 <83> fa 02 75 21 48 8b 91 f8 15 00 00 48 8b 32 48 8d 7e 01 8b 89 f4
RSP: 0018:ffffc90003e8f368 EFLAGS: 00000246
RAX: ffffffff81e467b0 RBX: ffffea0001c59a48 RCX: ffff888029713c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81e46799 R09: 1ffff11002b71ba1
R10: dffffc0000000000 R11: ffffed1002b71ba2 R12: 1ffffd400038b351
R13: ffffea0001c59a80 R14: 0000000000000000 R15: 840000007166a805
 arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
 page_fixed_fake_head include/linux/page-flags.h:209 [inline]
 _compound_head include/linux/page-flags.h:250 [inline]
 PageAnon include/linux/page-flags.h:703 [inline]
 PageAnonExclusive include/linux/page-flags.h:1081 [inline]
 __folio_try_dup_anon_rmap include/linux/rmap.h:405 [inline]
 folio_try_dup_anon_rmap_ptes+0x380/0x16c0 include/linux/rmap.h:448
 copy_present_ptes mm/memory.c:1021 [inline]
 copy_pte_range mm/memory.c:1151 [inline]
 copy_pmd_range mm/memory.c:1238 [inline]
 copy_pud_range mm/memory.c:1275 [inline]
 copy_p4d_range mm/memory.c:1299 [inline]
 copy_page_range+0x1721/0x5b00 mm/memory.c:1397
 dup_mmap kernel/fork.c:751 [inline]
 dup_mm kernel/fork.c:1688 [inline]
 copy_mm+0x1321/0x2180 kernel/fork.c:1737
 copy_process+0x187a/0x3df0 kernel/fork.c:2390
 kernel_clone+0x226/0x8f0 kernel/fork.c:2797
 __do_sys_clone kernel/fork.c:2940 [inline]
 __se_sys_clone kernel/fork.c:2924 [inline]
 __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2924
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fef1b27ad93
Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00
RSP: 002b:00007ffe880f7dd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fef1b27ad93
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 000055557915f750 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/08 06:16 net-next 1b3b2d9e772b 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: rcu detected stall in __do_softirq
* Struck through repros no longer work on HEAD.