syzbot
WARNING: lock held when returning to user space in __ocfs2_flush_truncate_log (3)
Status:
upstream: reported on 2026/11/15 20:58
Reported-by: syzbot+5cd466713989ef392851@syzkaller.appspotmail.com
First crash: 3d05h, last: 3d05h
Sample crash report:
(syz.2.442,5739,1):ocfs2_try_to_free_truncate_log:6135 ERROR: status = -30
(syz.2.442,5739,0):ocfs2_write_begin_nolock:1878 ERROR: status = -30
(syz.2.442,5739,0):ocfs2_dio_end_io:2448 ERROR: Direct IO failed, bytes = -5
================================================
WARNING: lock held when returning to user space!
syzkaller #0 Not tainted
------------------------------------------------
syz.2.442/5739 is leaving the kernel with locks still held!
3 locks held by syz.2.442/5739:
#0: ffff88807ea88650 (sb_internal#4){.+.+}-{0:0}, at: ocfs2_replay_truncate_records fs/ocfs2/alloc.c:5938 [inline]
#0: ffff88807ea88650 (sb_internal#4){.+.+}-{0:0}, at: __ocfs2_flush_truncate_log+0x49f/0x1110 fs/ocfs2/alloc.c:6052
#1: ffff88805e78cce8 (&journal->j_trans_barrier){.+.+}-{3:3}
, at: ocfs2_start_trans+0x3a6/0x6f0 fs/ocfs2/journal.c:374
#2: ffff88807bf0c990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x12d5/0x1560 fs/jbd2/transaction.c:462
syz.2.442 (5739) used greatest stack depth: 19072 bytes left
* Struck through repros no longer work on HEAD.