syzbot


WARNING in ocfs2_trim_fs_lock_res_init (2)

Status: upstream: reported on 2025/12/16 21:39
Reported-by: syzbot+8be863e9cfecb2c648d7@syzkaller.appspotmail.com
First crash: 65d, last: 35d
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in ocfs2_trim_fs_lock_res_init (2) -1 1 186d 186d 0/3 auto-obsoleted due to no activity on 2025/11/25 23:17
upstream WARNING in ocfs2_trim_fs_lock_res_init ocfs2 -1 92 4d22h 478d 0/29 upstream: reported on 2024/10/29 23:05
linux-6.6 WARNING in ocfs2_trim_fs_lock_res_init -1 4 186d 186d 0/2 auto-obsoleted due to no activity on 2025/11/26 00:33
linux-5.15 WARNING in ocfs2_trim_fs_lock_res_init -1 2 488d 488d 0/3 auto-obsoleted due to no activity on 2025/01/27 05:01

Sample crash report:
ocfs2: Readonly device (7,8) detected. Cluster services will not be used for this mount. Recovery will be skipped.
ocfs2: Mounting device (7,8) on (node local, slot 65535) with ordered data mode.
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 1 PID: 16466 at kernel/locking/mutex.c:582 __mutex_lock_common kernel/locking/mutex.c:582 [inline]
WARNING: CPU: 1 PID: 16466 at kernel/locking/mutex.c:582 __mutex_lock+0xb8c/0xcc0 kernel/locking/mutex.c:747
Modules linked in:
CPU: 1 PID: 16466 Comm: syz.8.3019 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:582 [inline]
RIP: 0010:__mutex_lock+0xb8c/0xcc0 kernel/locking/mutex.c:747
Code: 04 08 84 c0 0f 85 20 01 00 00 83 3d 5d c1 d9 03 00 0f 85 81 f5 ff ff 48 c7 c7 80 a7 aa 8a 48 c7 c6 20 a8 aa 8a e8 84 5f df f6 <0f> 0b e9 67 f5 ff ff 0f 0b e9 47 f9 ff ff 0f 0b e9 ff f5 ff ff 48
RSP: 0018:ffffc9000da5f7e0 EFLAGS: 00010246
RAX: 12348115ebafd600 RBX: ffff888074658df0 RCX: 0000000000080000
RDX: ffffc900146a1000 RSI: 0000000000001b44 RDI: 0000000000001b45
RBP: ffffc9000da5f940 R08: ffff8880b8f28c13 R09: 1ffff110171e5182
R10: dffffc0000000000 R11: ffffed10171e5183 R12: 0000000000000000
R13: 1ffff92001b4bf0c R14: dffffc0000000000 R15: 0000000000000000
FS:  00007fe8943d06c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd215c5e68 CR3: 000000007c2ce000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 ocfs2_trim_fs_lock_res_init+0x33/0x1c0 fs/ocfs2/dlmglue.c:702
 ocfs2_trim_fs+0x12a/0x22d0 fs/ocfs2/alloc.c:7662
 ocfs2_ioctl+0x694/0x750 fs/ocfs2/ioctl.c:935
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe89358f749
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe8943d0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fe8937e5fa0 RCX: 00007fe89358f749
RDX: 0000200000000080 RSI: 00000000c0185879 RDI: 0000000000000005
RBP: 00007fe893613f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe8937e6038 R14: 00007fe8937e5fa0 R15: 00007ffcbc5ab538
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/15 07:51 linux-6.6.y c596736dadab d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in ocfs2_trim_fs_lock_res_init
2025/12/30 07:20 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in ocfs2_trim_fs_lock_res_init
2025/12/22 18:36 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in ocfs2_trim_fs_lock_res_init
2025/12/16 21:38 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in ocfs2_trim_fs_lock_res_init
* Struck through repros no longer work on HEAD.