[v5.15] INFO: rcu detected stall in process_one_work (2)

0 views
Skip to first unread message

syzbot

unread,
Dec 17, 2024, 4:48:24 PM (4 days ago) Dec 17
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 963e654022cc Linux 5.15.174
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=126ad730580000
kernel config: https://syzkaller.appspot.com/x/.config?x=b4bb7d7fb9aff2a9
dashboard link: https://syzkaller.appspot.com/bug?extid=fd33310afaedb51ff46f
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/f084bf9dc6c3/disk-963e6540.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/113f4b130c9e/vmlinux-963e6540.xz
kernel image: https://storage.googleapis.com/syzbot-assets/55585cc44f24/bzImage-963e6540.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+fd3331...@syzkaller.appspotmail.com

rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 1-...!: (0 ticks this GP) idle=123/1/0x4000000000000000 softirq=77987/77987 fqs=0
(detected by 0, t=10506 jiffies, g=100597, q=152)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4214 Comm: kworker/1:5 Not tainted 5.15.174-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
Workqueue: rcu_gp wait_rcu_exp_gp
RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1704 [inline]
RIP: 0010:__hrtimer_run_queues+0x680/0xcf0 kernel/time/hrtimer.c:1752
Code: 8b 5c 24 10 4c 89 e7 e8 4e 00 d9 08 31 ff 44 89 ee e8 a4 fd 10 00 45 85 ed 74 47 48 8b 84 24 b0 00 00 00 42 0f b6 04 38 84 c0 <4c> 8b 6c 24 38 48 8b 54 24 28 0f 85 3e 02 00 00 0f b6 1a 89 de 83
RSP: 0018:ffffc90000dd0d60 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffff8880b8f2a448 RCX: 0000000000000001
RDX: ffff88807d14bb80 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000dd0ea8 R08: ffffffff816f8a9c R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8880b8f2a200
R13: 0000000000000001 R14: ffff8880613a6340 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd58657428 CR3: 0000000025a22000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<NMI>
</NMI>
<IRQ>
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
__sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 b2 d2 81 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 67 ff 0e f7 65 8b 05 78 e2 b9 75 85 c0 74 3f 48 c7 04 24 0e 36
RSP: 0018:ffffc900031af960 EFLAGS: 00000206
RAX: 3045adbc047a4700 RBX: 1ffff92000635f30 RCX: ffffffff81633db8
RDX: dffffc0000000000 RSI: ffffffff8aab2b80 RDI: 0000000000000001
RBP: ffffc900031af9f0 R08: dffffc0000000000 R09: fffffbfff2131223
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff92000635f2c R14: ffffc900031af980 R15: 0000000000000246
spin_unlock_irqrestore include/linux/spinlock.h:418 [inline]
__wake_up_common_lock kernel/sched/wait.c:140 [inline]
__wake_up+0x120/0x1c0 kernel/sched/wait.c:157
rcu_exp_wait_wake kernel/rcu/tree_exp.h:608 [inline]
rcu_exp_sel_wait_wake+0x16cf/0x1c00 kernel/rcu/tree_exp.h:624
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g100597 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=1 timer-softirq=51030
rcu: rcu_preempt kthread starved for 10506 jiffies! g100597 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1
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:26144 pid: 15 ppid: 2 flags:0x00004000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
schedule+0x11b/0x1f0 kernel/sched/core.c:6456
schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914
rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972
rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4214 Comm: kworker/1:5 Not tainted 5.15.174-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
Workqueue: rcu_gp wait_rcu_exp_gp
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4687 [inline]
RIP: 0010:__lock_acquire+0x56c/0x1ff0 kernel/locking/lockdep.c:4962
Code: 00 00 e8 f7 88 67 00 48 0f a3 1d 7f b8 35 0f 73 1f 48 8d 04 5b 48 c1 e0 06 48 8d 98 c0 0f 31 90 48 ba 00 00 00 00 00 fc ff df <48> 8b 0c 24 eb 34 48 c7 c0 c0 ff a8 96 48 c1 e8 03 48 ba 00 00 00
RSP: 0018:ffffc90000dd0a60 EFLAGS: 00000002
RAX: 00000000000d6440 RBX: ffffffff903e7400 RCX: ffffffff8162d879
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff90989338
RBP: 000000000000000f R08: dffffc0000000000 R09: fffffbfff2131268
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000003
R13: ffff88807d14c668 R14: 0000000000000002 R15: ffff88807d14c708
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd58657428 CR3: 0000000025a22000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<NMI>
</NMI>
<IRQ>
lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623
__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:363 [inline]
advance_sched+0x47/0x940 net/sched/sch_taprio.c:716
__run_hrtimer kernel/time/hrtimer.c:1688 [inline]
__hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
__sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 b2 d2 81 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 67 ff 0e f7 65 8b 05 78 e2 b9 75 85 c0 74 3f 48 c7 04 24 0e 36
RSP: 0018:ffffc900031af960 EFLAGS: 00000206
RAX: 3045adbc047a4700 RBX: 1ffff92000635f30 RCX: ffffffff81633db8
RDX: dffffc0000000000 RSI: ffffffff8aab2b80 RDI: 0000000000000001
RBP: ffffc900031af9f0 R08: dffffc0000000000 R09: fffffbfff2131223
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff92000635f2c R14: ffffc900031af980 R15: 0000000000000246
spin_unlock_irqrestore include/linux/spinlock.h:418 [inline]
__wake_up_common_lock kernel/sched/wait.c:140 [inline]
__wake_up+0x120/0x1c0 kernel/sched/wait.c:157
rcu_exp_wait_wake kernel/rcu/tree_exp.h:608 [inline]
rcu_exp_sel_wait_wake+0x16cf/0x1c00 kernel/rcu/tree_exp.h:624
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages