syzbot


BUG: workqueue leaked lock or atomic in fsnotify_mark_destroy_workfn

Status: auto-obsoleted due to no activity on 2024/08/09 08:03
Reported-by: syzbot+7739433ef69190d00401@syzkaller.appspotmail.com
First crash: 226d, last: 196d

Sample crash report:
BUG: workqueue leaked lock or atomic: kworker/u4:3/0x00000001/330
     last function: fsnotify_mark_destroy_workfn
CPU: 1 PID: 330 Comm: kworker/u4:3 Not tainted 5.15.149-syzkaller-00490-g5d96939590c0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events_unbound fsnotify_mark_destroy_workfn
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/u4:3/330/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff84c75540>] do_wait_for_common kernel/sched/completion.c:86 [inline]
[<ffffffff84c75540>] __wait_for_common kernel/sched/completion.c:106 [inline]
[<ffffffff84c75540>] wait_for_common+0x290/0x420 kernel/sched/completion.c:117
CPU: 1 PID: 330 Comm: kworker/u4:3 Not tainted 5.15.149-syzkaller-00490-g5d96939590c0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events_unbound fsnotify_mark_destroy_workfn
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
 schedule_timeout+0xa9/0x370 kernel/time/timer.c:1866
 do_wait_for_common kernel/sched/completion.c:85 [inline]
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common+0x285/0x420 kernel/sched/completion.c:117
 wait_for_completion+0x18/0x20 kernel/sched/completion.c:138
 __synchronize_srcu+0x1a4/0x240 kernel/rcu/srcutree.c:930
 synchronize_srcu+0x1d5/0x1f0
 fsnotify_mark_destroy_workfn+0x142/0x340 fs/notify/mark.c:861
 process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325
 process_scheduled_works kernel/workqueue.c:2388 [inline]
 worker_thread+0xe02/0x12a0 kernel/workqueue.c:2474
 kthread+0x421/0x510 kernel/kthread.c:337
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/11 07:55 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: workqueue leaked lock or atomic in fsnotify_mark_destroy_workfn
2024/04/10 21:09 android13-5.15-lts 993bed180178 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: workqueue leaked lock or atomic in fsnotify_mark_destroy_workfn
* Struck through repros no longer work on HEAD.