loop3: detected capacity change from 0 to 2048 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: 1 PID: 7582 Comm: syz-executor.3 Not tainted 6.0.0-syzkaller-00372-ga5088ee7251e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 assign_lock_key kernel/locking/lockdep.c:979 [inline] register_lock_class+0xf1b/0x1120 kernel/locking/lockdep.c:1292 __lock_acquire+0x109/0x56d0 kernel/locking/lockdep.c:4932 lock_acquire kernel/locking/lockdep.c:5666 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5631 down_read+0x98/0x450 kernel/locking/rwsem.c:1499 nilfs_bmap_lookup_at_level+0x7b/0x3e0 fs/nilfs2/bmap.c:68 nilfs_bmap_lookup fs/nilfs2/bmap.h:170 [inline] nilfs_mdt_submit_block+0x1a1/0xaa0 fs/nilfs2/mdt.c:142 nilfs_mdt_read_block+0x92/0x3c0 fs/nilfs2/mdt.c:176 nilfs_mdt_get_block+0xe6/0xdb0 fs/nilfs2/mdt.c:251 nilfs_palloc_get_block+0xc4/0x2b0 fs/nilfs2/alloc.c:216 nilfs_palloc_get_entry_block+0x167/0x1d0 fs/nilfs2/alloc.c:318 nilfs_ifile_get_inode_block+0xbf/0x190 fs/nilfs2/ifile.c:143 __nilfs_read_inode fs/nilfs2/inode.c:477 [inline] nilfs_iget+0x208/0x870 fs/nilfs2/inode.c:603 nilfs_get_root_dentry+0x26/0x240 fs/nilfs2/super.c:904 nilfs_fill_super fs/nilfs2/super.c:1078 [inline] nilfs_mount+0xbb2/0xfb0 fs/nilfs2/super.c:1317 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1530 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x1326/0x1e20 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] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f722dc8bada Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f722cbfdf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f722dc8bada RDX: 00000000200000c0 RSI: 0000000020000100 RDI: 00007f722cbfdfe0 RBP: 00007f722cbfe020 R08: 00007f722cbfe020 R09: 00000000200000c0 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000200000c0 R13: 0000000020000100 R14: 00007f722cbfdfe0 R15: 0000000020000980 general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 7582 Comm: syz-executor.3 Not tainted 6.0.0-syzkaller-00372-ga5088ee7251e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:nilfs_bmap_lookup_at_level+0xb5/0x3e0 fs/nilfs2/bmap.c:69 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 95 02 00 00 48 8b 83 d8 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 c1 48 c1 e9 03 <80> 3c 11 00 0f 85 7d 02 00 00 4c 89 e6 48 89 e9 44 89 fa 48 89 df RSP: 0018:ffffc9000b9cf6d8 EFLAGS: 00010256 RAX: 0000000000000000 RBX: ffff8880a8bf1350 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff8880a8bf1428 RBP: ffffc9000b9cf7b8 R08: 0000000000000001 R09: ffff8880a8bf1397 R10: ffffed101517e272 R11: 3e4b5341542f3c20 R12: 0000000000000002 R13: 1ffff92001739edc R14: ffff8880a8bf1388 R15: 0000000000000001 FS: 00007f722cbfe700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b2736c35d8 CR3: 00000000750fa000 CR4: 0000000000350ef0 Call Trace: nilfs_bmap_lookup fs/nilfs2/bmap.h:170 [inline] nilfs_mdt_submit_block+0x1a1/0xaa0 fs/nilfs2/mdt.c:142 nilfs_mdt_read_block+0x92/0x3c0 fs/nilfs2/mdt.c:176 nilfs_mdt_get_block+0xe6/0xdb0 fs/nilfs2/mdt.c:251 nilfs_palloc_get_block+0xc4/0x2b0 fs/nilfs2/alloc.c:216 nilfs_palloc_get_entry_block+0x167/0x1d0 fs/nilfs2/alloc.c:318 nilfs_ifile_get_inode_block+0xbf/0x190 fs/nilfs2/ifile.c:143 __nilfs_read_inode fs/nilfs2/inode.c:477 [inline] nilfs_iget+0x208/0x870 fs/nilfs2/inode.c:603 nilfs_get_root_dentry+0x26/0x240 fs/nilfs2/super.c:904 nilfs_fill_super fs/nilfs2/super.c:1078 [inline] nilfs_mount+0xbb2/0xfb0 fs/nilfs2/super.c:1317 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1530 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x1326/0x1e20 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] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f722dc8bada Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f722cbfdf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f722dc8bada RDX: 00000000200000c0 RSI: 0000000020000100 RDI: 00007f722cbfdfe0 RBP: 00007f722cbfe020 R08: 00007f722cbfe020 R09: 00000000200000c0 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000200000c0 R13: 0000000020000100 R14: 00007f722cbfdfe0 R15: 0000000020000980 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:nilfs_bmap_lookup_at_level+0xb5/0x3e0 fs/nilfs2/bmap.c:69 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 95 02 00 00 48 8b 83 d8 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 c1 48 c1 e9 03 <80> 3c 11 00 0f 85 7d 02 00 00 4c 89 e6 48 89 e9 44 89 fa 48 89 df RSP: 0018:ffffc9000b9cf6d8 EFLAGS: 00010256 RAX: 0000000000000000 RBX: ffff8880a8bf1350 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff8880a8bf1428 RBP: ffffc9000b9cf7b8 R08: 0000000000000001 R09: ffff8880a8bf1397 R10: ffffed101517e272 R11: 3e4b5341542f3c20 R12: 0000000000000002 R13: 1ffff92001739edc R14: ffff8880a8bf1388 R15: 0000000000000001 FS: 00007f722cbfe700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f292f783218 CR3: 00000000750fa000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess): 0: df 48 89 fisttps -0x77(%rax) 3: fa cli 4: 48 c1 ea 03 shr $0x3,%rdx 8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) c: 0f 85 95 02 00 00 jne 0x2a7 12: 48 8b 83 d8 00 00 00 mov 0xd8(%rbx),%rax 19: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 20: fc ff df 23: 48 89 c1 mov %rax,%rcx 26: 48 c1 e9 03 shr $0x3,%rcx * 2a: 80 3c 11 00 cmpb $0x0,(%rcx,%rdx,1) <-- trapping instruction 2e: 0f 85 7d 02 00 00 jne 0x2b1 34: 4c 89 e6 mov %r12,%rsi 37: 48 89 e9 mov %rbp,%rcx 3a: 44 89 fa mov %r15d,%edx 3d: 48 89 df mov %rbx,%rdi