ntfs3: loop0: Failed to load $Extend. ntfs3: loop0: ino=0, ntfs_iget5 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: 9404 Comm: syz-executor.0 Not tainted 6.2.0-rc8-syzkaller-00134-g38f8ccde04a3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 assign_lock_key+0x222/0x230 kernel/locking/lockdep.c:981 register_lock_class+0x28e/0x990 kernel/locking/lockdep.c:1294 __lock_acquire+0xd3/0x1f80 kernel/locking/lockdep.c:4934 lock_acquire+0x235/0x630 kernel/locking/lockdep.c:5668 down_read+0x3d/0x50 kernel/locking/rwsem.c:1509 attr_data_get_block+0x2e7/0x2da0 fs/ntfs3/attrib.c:903 ntfs_get_block_vbo+0x36a/0xd00 fs/ntfs3/inode.c:573 do_mpage_readpage+0x8d6/0x2050 fs/mpage.c:208 mpage_readahead+0x454/0x930 fs/mpage.c:361 read_pages+0x183/0x830 mm/readahead.c:161 page_cache_ra_unbounded+0x697/0x7c0 mm/readahead.c:270 page_cache_sync_readahead include/linux/pagemap.h:1210 [inline] filemap_get_pages mm/filemap.c:2601 [inline] filemap_read+0x7fe/0x3200 mm/filemap.c:2695 __kernel_read+0x422/0x8a0 fs/read_write.c:428 integrity_kernel_read+0xb0/0xf0 security/integrity/iint.c:199 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:485 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0xa5b/0x1c00 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x4cd/0x930 security/integrity/ima/ima_api.c:292 process_measurement+0xf83/0x1c30 security/integrity/ima/ima_main.c:339 ima_file_check+0xec/0x170 security/integrity/ima/ima_main.c:519 do_open fs/namei.c:3559 [inline] path_openat+0x265d/0x2e40 fs/namei.c:3714 do_file_open_root+0x376/0x7c0 fs/namei.c:3766 file_open_root+0x247/0x2a0 fs/open.c:1290 do_handle_open+0x582/0x960 fs/fhandle.c:232 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ffb79a8c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffb785fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000130 RAX: ffffffffffffffda RBX: 00007ffb79babf80 RCX: 00007ffb79a8c0f9 RDX: 0000000000040200 RSI: 0000000020000140 RDI: 0000000000000007 RBP: 00007ffb79ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd0c23badf R14: 00007ffb785fe300 R15: 0000000000022000 ------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON(sem->magic != sem): count = 0x100, magic = 0x0, owner = 0xffff888076d60001, curr 0xffff888076d60000, list not empty WARNING: CPU: 1 PID: 9404 at kernel/locking/rwsem.c:1335 __up_read+0x4df/0x670 kernel/locking/rwsem.c:1335 Modules linked in: CPU: 0 PID: 9404 Comm: syz-executor.0 Not tainted 6.2.0-rc8-syzkaller-00134-g38f8ccde04a3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:__up_read+0x4df/0x670 kernel/locking/rwsem.c:1335 Code: 44 c1 48 c7 c7 80 62 ea 8a 48 c7 c6 80 64 ea 8a 4c 89 fa 48 8b 4c 24 08 49 89 d8 4c 8b 4c 24 10 50 e8 b5 99 e8 ff 48 83 c4 08 <0f> 0b 48 bb 00 00 00 00 00 fc ff df 4c 8b 2c 24 e9 d2 fb ff ff c6 RSP: 0018:ffffc900152b5f00 EFLAGS: 00010296 RAX: 548c8f766b9b9000 RBX: ffff888076d60001 RCX: 0000000000040000 RDX: ffffc90003e51000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900152b5fb0 R08: ffffffff816efb5c R09: fffff52002a56b99 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88803703c408 R13: ffff88803703c3f8 R14: 1ffff11006e07881 R15: 0000000000000100 FS: 00007ffb785fe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f22e1584998 CR3: 000000002adcd000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: attr_data_get_block+0x34b/0x2da0 fs/ntfs3/attrib.c:906 ntfs_get_block_vbo+0x36a/0xd00 fs/ntfs3/inode.c:573 do_mpage_readpage+0x8d6/0x2050 fs/mpage.c:208 mpage_readahead+0x454/0x930 fs/mpage.c:361 read_pages+0x183/0x830 mm/readahead.c:161 page_cache_ra_unbounded+0x697/0x7c0 mm/readahead.c:270 page_cache_sync_readahead include/linux/pagemap.h:1210 [inline] filemap_get_pages mm/filemap.c:2601 [inline] filemap_read+0x7fe/0x3200 mm/filemap.c:2695 __kernel_read+0x422/0x8a0 fs/read_write.c:428 integrity_kernel_read+0xb0/0xf0 security/integrity/iint.c:199 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:485 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0xa5b/0x1c00 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x4cd/0x930 security/integrity/ima/ima_api.c:292 process_measurement+0xf83/0x1c30 security/integrity/ima/ima_main.c:339 ima_file_check+0xec/0x170 security/integrity/ima/ima_main.c:519 do_open fs/namei.c:3559 [inline] path_openat+0x265d/0x2e40 fs/namei.c:3714 do_file_open_root+0x376/0x7c0 fs/namei.c:3766 file_open_root+0x247/0x2a0 fs/open.c:1290 do_handle_open+0x582/0x960 fs/fhandle.c:232 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ffb79a8c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffb785fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000130 RAX: ffffffffffffffda RBX: 00007ffb79babf80 RCX: 00007ffb79a8c0f9 RDX: 0000000000040200 RSI: 0000000020000140 RDI: 0000000000000007 RBP: 00007ffb79ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd0c23badf R14: 00007ffb785fe300 R15: 0000000000022000