syzbot


INFO: trying to register non-static key in ocfs2_trim_fs

Status: upstream: reported on 2025/08/09 19:41
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+7bb33d470124d76b4709@syzkaller.appspotmail.com
First crash: 70d, last: 70d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] INFO: trying to register non-static key in ocfs2_trim_fs 0 (1) 2025/08/09 19:41

Sample crash report:
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 0 UID: 0 PID: 9474 Comm: syz.6.500 Tainted: G        W           6.16.0-syzkaller-11699-g7e161a991ea7 #0 PREEMPT_{RT,(full)} 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
 assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:984
 register_lock_class+0x105/0x320 kernel/locking/lockdep.c:1299
 __lock_acquire+0x99/0xd20 kernel/locking/lockdep.c:5112
 lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
 __mutex_lock_common kernel/locking/rtmutex_api.c:535 [inline]
 mutex_lock_nested+0x5a/0x1d0 kernel/locking/rtmutex_api.c:547
 ocfs2_trim_fs_lock_res_init+0x25/0xa0 fs/ocfs2/dlmglue.c:703
 ocfs2_trim_fs+0x129/0x2380 fs/ocfs2/alloc.c:7682
 ocfs2_ioctl+0x697/0x750 fs/ocfs2/ioctl.c:936
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:598 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1858e9eb69
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:00007f1856cdd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffff[  634.504324][ T9474] RAX: ffffffffffffffda RBX: 00007f18590c6080 RCX: 00007f1858e9eb69
RDX: 0000200000000080 RSI: 00000000c0185879 RDI: 0000000000000006
RBP: 00007f1858f21df1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f18590c6080 R15: 00007ffeb2455fe8
 </TASK>
(syz.6.500,9474,0):ocfs2_trim_fs:7689 ERROR: status = -30

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/05 19:34 upstream 7e161a991ea7 37880f40 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: trying to register non-static key in ocfs2_trim_fs
* Struck through repros no longer work on HEAD.