syzbot


WARNING in ocfs2_trim_fs_lock_res_init

Status: upstream: reported on 2024/10/29 23:05
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+ebb818a7a0f6d899fd31@syzkaller.appspotmail.com
First crash: 37d, last: 6d04h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] WARNING in ocfs2_trim_fs_lock_res_init 0 (1) 2024/10/29 23:05
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in ocfs2_trim_fs_lock_res_init 2 44d 44d 0/3 upstream: reported on 2024/10/19 05:01

Sample crash report:
ocfs2: Mounting device (7,6) on (node local, slot 65535) with ordered data mode.
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 1 PID: 15799 at kernel/locking/mutex.c:564 __mutex_lock_common kernel/locking/mutex.c:564 [inline]
WARNING: CPU: 1 PID: 15799 at kernel/locking/mutex.c:564 __mutex_lock+0x369/0xa60 kernel/locking/mutex.c:735
Modules linked in:
CPU: 1 UID: 0 PID: 15799 Comm: syz.6.2713 Not tainted 6.12.0-syzkaller-09567-g7eef7e306d3c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:564 [inline]
RIP: 0010:__mutex_lock+0x369/0xa60 kernel/locking/mutex.c:735
Code: d0 7c 08 84 d2 0f 85 6d 06 00 00 8b 0d 40 99 32 05 85 c9 75 19 90 48 c7 c6 40 ca 6c 8b 48 c7 c7 a0 c8 6c 8b e8 58 bd 20 f6 90 <0f> 0b 90 90 90 e9 f2 fd ff ff 4c 8d b5 60 ff ff ff 48 89 df 4c 89
RSP: 0018:ffffc90003377b10 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88806e7f0df0 RCX: ffffc9000cd4b000
RDX: 0000000000080000 RSI: ffffffff814f0d66 RDI: 0000000000000001
RBP: ffffc90003377c50 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 000000002d2d2d2d R12: dffffc0000000000
R13: 0000000000000002 R14: 0000000000000000 R15: ffffc90003377b90
FS:  00007f0897e4c6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f19ed8cf000 CR3: 000000004a508000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 ocfs2_trim_fs_lock_res_init+0x23/0x60 fs/ocfs2/dlmglue.c:702
 ocfs2_trim_fs+0xea/0x970 fs/ocfs2/alloc.c:7662
 ocfs2_ioctl+0x626/0x6f0 fs/ocfs2/ioctl.c:936
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:906 [inline]
 __se_sys_ioctl fs/ioctl.c:892 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:892
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0896f7e819
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:00007f0897e4c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0897135fa0 RCX: 00007f0896f7e819
RDX: 0000000020000180 RSI: 00000000c0185879 RDI: 0000000000000004
RBP: 00007f0896ff175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0897135fa0 R15: 00007fff75927558
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/26 16:02 upstream 7eef7e306d3c 11dbc254 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in ocfs2_trim_fs_lock_res_init
2024/11/26 16:02 upstream 7eef7e306d3c 11dbc254 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in ocfs2_trim_fs_lock_res_init
2024/10/25 23:02 upstream ae90f6a6170d 045e728d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ocfs2_trim_fs_lock_res_init
2024/11/14 21:45 upstream cfaaa7d010d1 77f3eeb7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2024/11/11 04:10 upstream a9cda7c0ffed 6b856513 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2024/11/02 21:45 upstream 11066801dd4b f00eed24 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2024/10/30 05:48 upstream c1e939a21eb1 66aeb999 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2024/11/03 03:07 linux-next c88416ba074a f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in ocfs2_trim_fs_lock_res_init
2024/11/03 03:00 linux-next c88416ba074a f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in ocfs2_trim_fs_lock_res_init
* Struck through repros no longer work on HEAD.