syzbot


INFO: rcu detected stall in kjournald2

Status: auto-obsoleted due to no activity on 2024/03/07 10:54
Reported-by: syzbot+31104172309db598887e@syzkaller.appspotmail.com
First crash: 358d, last: 358d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in kjournald2 (2) mm C error 32 12h41m 49d 0/28 upstream: reported C repro on 2024/10/03 07:16
upstream INFO: rcu detected stall in kjournald2 mm 1 934d 934d 0/28 auto-closed as invalid on 2022/07/30 15:32
upstream BUG: soft lockup in kjournald2 (2) mm 6 1074d 1161d 0/28 closed as dup on 2021/09/17 07:37
android-5-15 BUG: soft lockup in kjournald2 1 159d 159d 0/2 auto-obsoleted due to no activity on 2024/09/12 19:40
upstream BUG: soft lockup in kjournald2 mm 28 1183d 1335d 0/28 closed as dup on 2021/03/27 07:12
android-6-1 BUG: soft lockup in kjournald2 (2) 1 150d 150d 0/2 auto-obsoleted due to no activity on 2024/09/21 17:37
android-6-1 BUG: soft lockup in kjournald2 1 293d 293d 0/2 auto-obsoleted due to no activity on 2024/05/02 01:34

Sample crash report:
vkms_vblank_simulate: vblank timer overrun
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...!: (1 GPs behind) idle=7294/1/0x4000000000000000 softirq=127992/127993 fqs=263
	(detected by 0, t=10502 jiffies, g=160289, q=74 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 2965 Comm: jbd2/sda1-8 Not tainted 6.1.63-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:check_preemption_disabled+0x37/0x110
Code: 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 1d c0 a8 78 75 65 8b 05 61 fe 78 75 a9 ff ff ff 7f 74 22 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 0f 85 c7 00 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5e
RSP: 0018:ffffc900001e0b08 EFLAGS: 00000002
RAX: 66f0c8935dc4d400 RBX: 0000000000000001 RCX: ffffffff816b0405
RDX: dffffc0000000000 RSI: ffffffff8aebf4a0 RDI: ffffffff8b3cefc0
RBP: ffffc900001e0c98 R08: dffffc0000000000 R09: fffffbfff2091a7a
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200003c170
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000046
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c012ef4c80 CR3: 0000000023665000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline]
 lock_acquire+0x208/0x5a0 kernel/locking/lockdep.c:5663
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:350 [inline]
 advance_sched+0x47/0x970 net/sched/sch_taprio.c:700
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:30 [inline]
RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:52 [inline]
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:178 [inline]
RIP: 0010:unwind_next_frame+0x4a2/0x2220 arch/x86/kernel/unwind_orc.c:448
Code: 89 c1 48 c1 f9 02 48 c1 e8 3f 48 01 c8 48 83 e0 fe 49 8d 1c 47 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 75 27 48 63 03 48 01 d8 48 8d 4b 04 4c 39 e8 4c 0f 46 f9 48
RSP: 0018:ffffc9000dd570a0 EFLAGS: 00000a07
RAX: 0000000000000000 RBX: ffffffff8e89a114 RCX: dffffc0000000000
RDX: ffffffff8ef81454 RSI: ffffffff81e1babb RDI: dffffc0000000000
RBP: ffffffff8e89a134 R08: 0000000000000011 R09: ffffc9000dd57270
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8e89a0f4
R13: ffffffff81e1baba R14: ffffffff8e89a0f4 R15: ffffffff8e89a0f4
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
 __kasan_slab_alloc+0x65/0x70 mm/kasan/common.c:328
 kasan_slab_alloc include/linux/kasan.h:201 [inline]
 slab_post_alloc_hook+0x52/0x3a0 mm/slab.h:737
 slab_alloc_node mm/slub.c:3398 [inline]
 slab_alloc mm/slub.c:3406 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3413 [inline]
 kmem_cache_alloc+0x10c/0x2d0 mm/slub.c:3422
 mempool_alloc+0x190/0x580 mm/mempool.c:392
 bio_alloc_bioset+0x404/0x11b0 block/bio.c:521
 bio_alloc include/linux/bio.h:423 [inline]
 submit_bh_wbc+0x26e/0x4e0 fs/buffer.c:2682
 jbd2_journal_commit_transaction+0x2839/0x6b00 fs/jbd2/commit.c:764
 kjournald2+0x45e/0x840 fs/jbd2/journal.c:210
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
rcu: rcu_preempt kthread starved for 9973 jiffies! g160289 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:26648 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935
 rcu_gp_fqs_loop+0x2c2/0x1010 kernel/rcu/tree.c:1661
 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1860
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.63-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline]
RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:113 [inline]
RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:572
Code: fc f6 f6 48 83 e3 08 0f 85 0b 01 00 00 4c 8d 74 24 20 e8 24 bb fd f6 0f 1f 44 00 00 e8 4a f8 f6 f6 0f 00 2d 93 5f b3 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 cb 4f 4e f7
RSP: 0018:ffffffff8ce07b20 EFLAGS: 000002d3
RAX: ffffffff8a9397a6 RBX: 0000000000000000 RCX: ffffffff8cebd800
RDX: 0000000000000000 RSI: ffffffff8aebe320 RDI: ffffffff8b3cefc0
RBP: ffffffff8ce07bb0 R08: ffffffff8a939788 R09: fffffbfff19d7b01
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff19c0f64
R13: ffff888142f31004 R14: ffffffff8ce07b40 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5ba8a446c0 CR3: 000000001f556000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:709
 cpuidle_enter_state+0x516/0xf80 drivers/cpuidle/cpuidle.c:239
 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:356
 call_cpuidle kernel/sched/idle.c:155 [inline]
 cpuidle_idle_call kernel/sched/idle.c:236 [inline]
 do_idle+0x3ce/0x680 kernel/sched/idle.c:303
 cpu_startup_entry+0x3d/0x60 kernel/sched/idle.c:401
 rest_init+0x2da/0x300 init/main.c:727
 arch_call_rest_init+0xa/0xa init/main.c:887
 start_kernel+0x496/0x53f init/main.c:1134
 secondary_startup_64_no_verify+0xcf/0xdb
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/28 10:53 linux-6.1.y 69e434a1cb21 9fe51b7c .config console log report info ci2-linux-6-1-kasan INFO: rcu detected stall in kjournald2
* Struck through repros no longer work on HEAD.