syzbot


BUG: workqueue leaked lock or atomic in ocfs2_truncate_log_worker (3)

Status: upstream: reported on 2026/04/27 16:05
Reported-by: syzbot+1a55c85684e1dafe8688@syzkaller.appspotmail.com
First crash: 86d, last: 24d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: workqueue leaked lock or atomic in ocfs2_truncate_log_worker -1 2 490d 490d 0/3 auto-obsoleted due to no activity on 2025/06/27 19:37
linux-5.15 BUG: workqueue leaked lock or atomic in ocfs2_truncate_log_worker (2) -1 1 359d 359d 0/3 auto-obsoleted due to no activity on 2025/11/05 01:58

Sample crash report:
(kworker/u4:8,4421,1):ocfs2_truncate_log_worker:6089 ERROR: status = -30
BUG: workqueue leaked lock or atomic: kworker/u4:8/0x00000000/4421
     last function: ocfs2_truncate_log_worker
3 locks held by kworker/u4:8/4421:
 #0: ffff888076afa650 (sb_internal#4){.+.+}-{0:0}, at: ocfs2_replay_truncate_records fs/ocfs2/alloc.c:5938 [inline]
 #0: ffff888076afa650 (sb_internal#4){.+.+}-{0:0}, at: __ocfs2_flush_truncate_log+0x49f/0x1110 fs/ocfs2/alloc.c:6052
 #1: ffff88805e8904e8 (&journal->j_trans_barrier){.+.+}-{3:3}, at: ocfs2_start_trans+0x3a6/0x6f0 fs/ocfs2/journal.c:374
 #2: ffff88805e02a990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x12d5/0x1560 fs/jbd2/transaction.c:462
CPU: 0 PID: 4421 Comm: kworker/u4:8 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Workqueue: ocfs2_wq ocfs2_truncate_log_worker
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
 process_one_work+0xc68/0xff0 kernel/workqueue.c:2325
 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
BUG: workqueue leaked lock or atomic: kworker/u4:8/0x00000000/4421
     last function: update_gid_event_work_handler
INFO: lockdep is turned off.
CPU: 0 PID: 4421 Comm: kworker/u4:8 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Workqueue: gid-cache-wq update_gid_event_work_handler
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
 process_one_work+0xc68/0xff0 kernel/workqueue.c:2325
 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/28 16:42 linux-5.15.y eceeec79dbc6 fb92f11c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: workqueue leaked lock or atomic in ocfs2_truncate_log_worker
2026/06/28 16:37 linux-5.15.y eceeec79dbc6 fb92f11c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: workqueue leaked lock or atomic in ocfs2_truncate_log_worker
2026/06/06 05:06 linux-5.15.y dc027a595035 cc095639 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: workqueue leaked lock or atomic in ocfs2_truncate_log_worker
2026/06/05 00:38 linux-5.15.y dc027a595035 197909be .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: workqueue leaked lock or atomic in ocfs2_truncate_log_worker
2026/06/04 23:33 linux-5.15.y dc027a595035 197909be .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: workqueue leaked lock or atomic in ocfs2_truncate_log_worker
2026/05/03 05:16 linux-5.15.y ef251c45f1cd a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: workqueue leaked lock or atomic in ocfs2_truncate_log_worker
2026/04/27 16:04 linux-5.15.y b9d57c40a767 0f700595 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: workqueue leaked lock or atomic in ocfs2_truncate_log_worker
* Struck through repros no longer work on HEAD.