syzbot


INFO: trying to register non-static key in ocfs2_trim_fs (2)

Status: upstream: reported on 2026/07/22 19:10
Subsystems: ocfs2
Labels: prio:low
[Documentation on labels]
Reported-by: syzbot+0a1363933fe7d9e120ee@syzkaller.appspotmail.com
First crash: 4d18h, last: 1d14h
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
72469b76-9421-4920-a4bc-dbb2d1bec6e1 assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ INFO: trying to register non-static key in ocfs2_trim_fs (2) 2026/07/20 00:21 2026/07/20 00:21 2026/07/20 00:59 72524a6625c995608a7d179201dff2195b8d1f66

			
		
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] INFO: trying to register non-static key in ocfs2_trim_fs (2) 0 (1) 2026/07/22 19:10
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: trying to register non-static key in ocfs2_trim_fs ocfs2 -1 1 351d 347d 0/29 auto-obsoleted due to no activity on 2025/11/13 19:34

Sample crash report:
ocfs2: Readonly device (7,7) detected. Cluster services will not be used for this mount. Recovery will be skipped.
ocfs2: Mounting device (7,7) on (node local, slot 65535) with ordered data mode.
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: 8273 Comm: syz.7.455 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:984
 register_lock_class+0xcc/0x2e0 kernel/locking/lockdep.c:1299
 __lock_acquire+0xab/0x2ce0 kernel/locking/lockdep.c:5112
 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868
 __mutex_lock_common kernel/locking/rtmutex_api.c:559 [inline]
 mutex_lock_nested+0x5a/0x1d0 kernel/locking/rtmutex_api.c:578
 ocfs2_trim_fs_lock_res_init+0x25/0xa0 fs/ocfs2/dlmglue.c:703
 ocfs2_trim_fs+0x13c/0x24d0 fs/ocfs2/alloc.c:7692
 ocfs2_ioctl+0x6c2/0x7e0 fs/ocfs2/ioctl.c:948
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xff/0x170 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f23c8d2de99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f23c6f86028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f23c8fb5fa0 RCX: 00007f23c8d2de99
RDX: 0000200000000080 RSI: 00000000c0185879 RDI: 0000000000000004
RBP: 00007f23c8dc3eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f23c8fb6038 R14: 00007f23c8fb5fa0 R15: 00007ffc521a25a8
 </TASK>
(syz.7.455,8273,0):ocfs2_trim_fs:7699 ERROR: status = -30

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/21 23:01 upstream 248951ddc14d b561ce9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: trying to register non-static key in ocfs2_trim_fs
2026/07/20 11:11 upstream 1590cf032971 de6a700d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: trying to register non-static key in ocfs2_trim_fs
2026/07/18 19:08 upstream 1229e2e57a5c 72524a66 .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.