syzbot


BUG: workqueue leaked lock or atomic in wg_packet_handshake_receive_worker

Status: auto-obsoleted due to no activity on 2024/06/24 10:25
Reported-by: syzbot+ce3ac7ec3a0d17f050b8@syzkaller.appspotmail.com
First crash: 240d, last: 240d

Sample crash report:
BUG: workqueue leaked lock or atomic: kworker/0:8/0x00000001/10201
     last function: wg_packet_handshake_receive_worker
CPU: 0 PID: 10201 Comm: kworker/0:8 Tainted: G        W         5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Workqueue: wg-kex-wg0 wg_packet_handshake_receive_worker
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
 dump_stack+0x15/0x17 lib/dump_stack.c:113
 process_one_work+0x8d8/0xc10 kernel/workqueue.c:2340
 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472
 kthread+0x421/0x510 kernel/kthread.c:337
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
BUG: workqueue leaked lock or atomic: kworker/0:8/0x00000001/10201
     last function: wg_packet_handshake_receive_worker
CPU: 0 PID: 10201 Comm: kworker/0:8 Tainted: G        W         5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Workqueue: wg-kex-wg2 wg_packet_handshake_receive_worker
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
 dump_stack+0x15/0x17 lib/dump_stack.c:113
 process_one_work+0x8d8/0xc10 kernel/workqueue.c:2340
 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472
 kthread+0x421/0x510 kernel/kthread.c:337
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
BUG: workqueue leaked lock or atomic: kworker/0:8/0x00000001/10201
     last function: wg_packet_encrypt_worker
CPU: 0 PID: 10201 Comm: kworker/0:8 Tainted: G        W         5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Workqueue: wg-crypt-wg2 wg_packet_encrypt_worker
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
 dump_stack+0x15/0x17 lib/dump_stack.c:113
 process_one_work+0x8d8/0xc10 kernel/workqueue.c:2340
 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472
 kthread+0x421/0x510 kernel/kthread.c:337
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
BUG: scheduling while atomic: kworker/0:8/10201/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff8154b4d6>] __up_read kernel/locking/rwsem.c:1374 [inline]
[<ffffffff8154b4d6>] up_read+0x16/0x170 kernel/locking/rwsem.c:1645
CPU: 0 PID: 10201 Comm: kworker/0:8 Tainted: G        W         5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Workqueue: events key_garbage_collector
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
 dump_stack+0x15/0x17 lib/dump_stack.c:113
 __schedule_bug+0x195/0x260 kernel/sched/core.c:5707
 schedule_debug kernel/sched/core.c:5734 [inline]
 __schedule+0xd19/0x1590 kernel/sched/core.c:6402
 schedule+0x11f/0x1e0 kernel/sched/core.c:6595
 exp_funnel_lock kernel/rcu/tree_exp.h:313 [inline]
 synchronize_rcu_expedited+0x53c/0x600 kernel/rcu/tree_exp.h:931
 synchronize_rcu+0x88/0x120 kernel/rcu/tree.c:3798
 key_garbage_collector+0x8f6/0xa60 security/keys/gc.c:303
 process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325
 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472
 kthread+0x421/0x510 kernel/kthread.c:337
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/26 10:24 android13-5.15-lts 993bed180178 bcd9b39f .config console log report info ci2-android-5-15 BUG: workqueue leaked lock or atomic in wg_packet_handshake_receive_worker
* Struck through repros no longer work on HEAD.