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: 2856 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:156 show_stack+0x2c/0x54 arch/arm64/kernel/stacktrace.c:163 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x104/0x16c lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 assign_lock_key+0x134/0x140 kernel/locking/lockdep.c:979 register_lock_class+0xc4/0x2f8 kernel/locking/lockdep.c:1292 __lock_acquire+0xa8/0x30a4 kernel/locking/lockdep.c:4932 lock_acquire+0x100/0x1f8 kernel/locking/lockdep.c:5666 down_read+0x5c/0x78 kernel/locking/rwsem.c:1499 nilfs_bmap_lookup_at_level+0x4c/0x168 fs/nilfs2/bmap.c:68 nilfs_bmap_lookup fs/nilfs2/bmap.h:170 [inline] nilfs_mdt_submit_block+0x164/0x4bc fs/nilfs2/mdt.c:142 nilfs_mdt_read_block+0x58/0x22c fs/nilfs2/mdt.c:176 nilfs_mdt_get_block+0x5c/0xcc fs/nilfs2/mdt.c:251 nilfs_palloc_get_block+0xb4/0x18c fs/nilfs2/alloc.c:216 nilfs_palloc_get_entry_block+0x90/0xa4 fs/nilfs2/alloc.c:318 nilfs_ifile_get_inode_block+0x7c/0xf8 fs/nilfs2/ifile.c:143 __nilfs_read_inode fs/nilfs2/inode.c:477 [inline] nilfs_iget+0xac/0x33c fs/nilfs2/inode.c:603 nilfs_get_root_dentry+0x38/0x180 fs/nilfs2/super.c:904 nilfs_fill_super+0x1e4/0x2f8 fs/nilfs2/super.c:1078 nilfs_mount+0x370/0x52c fs/nilfs2/super.c:1317 legacy_get_tree+0x30/0x74 fs/fs_context.c:610 vfs_get_tree+0x40/0x140 fs/super.c:1530 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3040 path_mount+0x358/0x914 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 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 user pgtable: 4k pages, 48-bit VAs, pgdp=000000015d262000 [0000000000000000] pgd=080000014745a003, p4d=080000014745a003, pud=080000015d2da003, pmd=0000000000000000 Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 2856 Comm: syz-executor.5 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : nilfs_bmap_lookup_at_level+0x5c/0x168 fs/nilfs2/bmap.c:69 lr : nilfs_bmap_lookup_at_level+0x4c/0x168 fs/nilfs2/bmap.c:68 sp : ffff800018d0b810 x29: ffff800018d0b820 x28: 000000000000002c x27: 0000000000000000 x26: ffff80000cd66a91 x25: ffff00011070b6c8 x24: 0000000000000000 x23: 0000000000000002 x22: ffff00011070b588 x21: ffff800018d0b860 x20: 0000000000000001 x19: ffff00011070b5c0 x18: fffffffffffffff5 x17: 6e69676e45206574 x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000000 x13: 205d363538325420 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800012c56000 x9 : ffff0000c4de8000 x8 : 0000000000000000 x7 : 205b5d3136313933 x6 : ffff80000819545c x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000001 x1 : 0000000000000002 x0 : ffff00011070b588 Call trace: nilfs_bmap_lookup_at_level+0x5c/0x168 fs/nilfs2/bmap.c:69 nilfs_bmap_lookup fs/nilfs2/bmap.h:170 [inline] nilfs_mdt_submit_block+0x164/0x4bc fs/nilfs2/mdt.c:142 nilfs_mdt_read_block+0x58/0x22c fs/nilfs2/mdt.c:176 nilfs_mdt_get_block+0x5c/0xcc fs/nilfs2/mdt.c:251 nilfs_palloc_get_block+0xb4/0x18c fs/nilfs2/alloc.c:216 nilfs_palloc_get_entry_block+0x90/0xa4 fs/nilfs2/alloc.c:318 nilfs_ifile_get_inode_block+0x7c/0xf8 fs/nilfs2/ifile.c:143 __nilfs_read_inode fs/nilfs2/inode.c:477 [inline] nilfs_iget+0xac/0x33c fs/nilfs2/inode.c:603 nilfs_get_root_dentry+0x38/0x180 fs/nilfs2/super.c:904 nilfs_fill_super+0x1e4/0x2f8 fs/nilfs2/super.c:1078 nilfs_mount+0x370/0x52c fs/nilfs2/super.c:1317 legacy_get_tree+0x30/0x74 fs/fs_context.c:610 vfs_get_tree+0x40/0x140 fs/super.c:1530 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3040 path_mount+0x358/0x914 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 Code: f9406ec8 aa1603e0 aa1703e1 2a1403e2 (f9400108) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: f9406ec8 ldr x8, [x22, #216] 4: aa1603e0 mov x0, x22 8: aa1703e1 mov x1, x23 c: 2a1403e2 mov w2, w20 * 10: f9400108 ldr x8, [x8] <-- trapping instruction