syzbot


INFO: trying to register non-static key in ocfs2_dlm_shutdown

Status: upstream: reported C repro on 2024/10/12 01:18
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+cf10996a1bb1b4cbfa63@syzkaller.appspotmail.com
First crash: 517d, last: 1d17h
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2025/01/07 upstream (ToT) fbfd64d25c7a C [report] INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/02/28 upstream (ToT) 42eb01783091 C Failed due to an error; will retry later
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: trying to register non-static key in ocfs2_dlm_shutdown missing-backport origin:upstream -1 C inconclusive 327 18h36m 545d 0/3 upstream: reported C repro on 2024/09/14 00:27
linux-6.6 INFO: trying to register non-static key in ocfs2_dlm_shutdown origin:upstream -1 C error 60 41d 255d 0/2 upstream: reported C repro on 2025/07/01 01:58
upstream INFO: trying to register non-static key in ocfs2_dlm_shutdown ocfs2 -1 C done 2170 4h41m 541d 0/29 upstream: reported C repro on 2024/09/17 13:24

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 PID: 4295 Comm: syz-executor544 Not tainted 6.1.123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call trace:
 dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106
 dump_stack+0x1c/0x58 lib/dump_stack.c:113
 assign_lock_key+0x274/0x2a8 kernel/locking/lockdep.c:974
 register_lock_class+0x148/0x6a8 kernel/locking/lockdep.c:1287
 __lock_acquire+0x184/0x7680 kernel/locking/lockdep.c:4928
 lock_acquire+0x26c/0x7cc kernel/locking/lockdep.c:5662
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x6c/0xb4 kernel/locking/spinlock.c:162
 ocfs2_mark_lockres_freeing+0x164/0x788 fs/ocfs2/dlmglue.c:3515
 ocfs2_simple_drop_lockres fs/ocfs2/dlmglue.c:3571 [inline]
 ocfs2_drop_osb_locks fs/ocfs2/dlmglue.c:3579 [inline]
 ocfs2_dlm_shutdown+0x44/0x230 fs/ocfs2/dlmglue.c:3389
 ocfs2_dismount_volume+0x404/0x99c fs/ocfs2/super.c:1920
 ocfs2_put_super+0x110/0x3e8 fs/ocfs2/super.c:1609
 generic_shutdown_super+0x130/0x328 fs/super.c:501
 kill_block_super+0x70/0xdc fs/super.c:1470
 deactivate_locked_super+0xac/0x124 fs/super.c:332
 deactivate_super+0xf0/0x110 fs/super.c:363
 cleanup_mnt+0x394/0x41c fs/namespace.c:1186
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193
 task_work_run+0x240/0x2f0 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
ocfs2: Unmounting device (7,4) on (node local)
Unable to handle kernel paging request at virtual address dfff800000000001
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff800000000001] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4295 Comm: syz-executor544 Not tainted 6.1.123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ocfs2_clear_inode fs/ocfs2/inode.c:1208 [inline]
pc : ocfs2_evict_inode+0xd7c/0x497c fs/ocfs2/inode.c:1220
lr : ocfs2_clear_inode fs/ocfs2/inode.c:1199 [inline]
lr : ocfs2_evict_inode+0xd08/0x497c fs/ocfs2/inode.c:1220
sp : ffff800021136de0
x29: ffff800021137500 x28: ffff700004226dd0 x27: 1fffe0001c3f866c
x26: ffff0000e1fc3360 x25: 1fffe0001c3f8670 x24: ffff800021136e80
x23: ffff0000e1fc2ac0 x22: ffff0000d9d1c000 x21: dfff800000000000
x20: ffff0000d9d1c290 x19: 0000000000000008 x18: 1fffe0003679bf76
x17: ffff800015a8d000 x16: ffff80001232d384 x15: ffff800008ad8710
x14: ffff800008a4c04c x13: ffff800008a4bee4 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff0000e1fc3338
x8 : 0000000000000001 x7 : 0000000000000000 x6 : ffff800009f6ae00
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000082f9d58
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 ocfs2_clear_inode fs/ocfs2/inode.c:1208 [inline]
 ocfs2_evict_inode+0xd7c/0x497c fs/ocfs2/inode.c:1220
 evict+0x418/0x894 fs/inode.c:705
 iput_final fs/inode.c:1834 [inline]
 iput+0x7c0/0x8a4 fs/inode.c:1860
 __ocfs2_free_slot_info fs/ocfs2/slot_map.c:307 [inline]
 ocfs2_free_slot_info+0x80/0x20c fs/ocfs2/slot_map.c:443
 ocfs2_delete_osb+0x64/0x150 fs/ocfs2/super.c:2504
 ocfs2_dismount_volume+0x4e0/0x99c fs/ocfs2/super.c:1938
 ocfs2_put_super+0x110/0x3e8 fs/ocfs2/super.c:1609
 generic_shutdown_super+0x130/0x328 fs/super.c:501
 kill_block_super+0x70/0xdc fs/super.c:1470
 deactivate_locked_super+0xac/0x124 fs/super.c:332
 deactivate_super+0xf0/0x110 fs/super.c:363
 cleanup_mnt+0x394/0x41c fs/namespace.c:1186
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193
 task_work_run+0x240/0x2f0 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: 97a82975 f9400288 91002113 d343fe68 (38756908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	97a82975 	bl	0xfffffffffea0a5d4
   4:	f9400288 	ldr	x8, [x20]
   8:	91002113 	add	x19, x8, #0x8
   c:	d343fe68 	lsr	x8, x19, #3
* 10:	38756908 	ldrb	w8, [x8, x21] <-- trapping instruction

Crashes (106):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/06 06:20 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/03/11 17:41 linux-6.1.y f2ddafa93a25 2d88ab01 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/03/10 14:29 linux-6.1.y f2ddafa93a25 4683d576 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/03/10 02:16 linux-6.1.y f2ddafa93a25 6972f302 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/03/10 02:11 linux-6.1.y f2ddafa93a25 6972f302 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/03/05 12:29 linux-6.1.y 2f66dd9cff42 d20b04c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/02/28 03:32 linux-6.1.y 779f9571ac3e 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/02/23 10:58 linux-6.1.y 779f9571ac3e 6beca497 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/02/20 19:07 linux-6.1.y 779f9571ac3e 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/02/20 06:57 linux-6.1.y 779f9571ac3e 17d780d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/02/19 17:07 linux-6.1.y 779f9571ac3e 746545b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/02/12 16:41 linux-6.1.y 8ce36b2849ef 504cb1bf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/27 01:56 linux-6.1.y cd9b81672742 efb3e894 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/22 08:50 linux-6.1.y cd9b81672742 a16aed1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/21 15:47 linux-6.1.y cd9b81672742 6f1aa2f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/20 02:21 linux-6.1.y cd9b81672742 572effc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/12 03:05 linux-6.1.y bec0e10ee67e d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/11 09:32 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/09 06:35 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/06 12:15 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/05 00:43 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/03 17:23 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/02 07:00 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/30 00:15 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/29 18:27 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/29 04:12 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/27 05:05 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/22 08:57 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/20 06:26 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/20 06:20 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/16 09:17 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/15 09:45 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/14 23:22 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/07 06:33 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/04 02:05 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/02 19:18 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/11/29 23:23 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/11/12 22:06 linux-6.1.y f6e38ae624cf 07e030de .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2024/10/12 01:17 linux-6.1.y aa4cd140bba5 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/02/28 01:58 linux-6.1.y 779f9571ac3e 2cf092b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/20 18:09 linux-6.1.y cd9b81672742 06648d9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/19 05:40 linux-6.1.y cd9b81672742 20d37d28 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/08 17:19 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in ocfs2_dlm_shutdown
2026/01/06 00:33 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/12 09:31 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/12/06 15:11 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in ocfs2_dlm_shutdown
2025/11/30 15:51 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in ocfs2_dlm_shutdown
* Struck through repros no longer work on HEAD.