ntfs3: loop3: Mark volume as dirty due to NTFS errors ntfs3: loop3: failed to convert "046c" to maccroatian 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: 5666 Comm: syz.3.59 Not tainted 6.11.0-rc7-syzkaller-00039-g77f587896757 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 assign_lock_key+0x238/0x270 kernel/locking/lockdep.c:975 register_lock_class+0x1cf/0x980 kernel/locking/lockdep.c:1288 __lock_acquire+0xf0/0x2040 kernel/locking/lockdep.c:5019 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 down_read+0xb1/0xa40 kernel/locking/rwsem.c:1526 attr_data_get_block+0x2ec/0x2ff0 fs/ntfs3/attrib.c:905 ntfs_get_block_vbo+0x3e4/0xd50 fs/ntfs3/inode.c:598 do_mpage_readpage+0x827/0x1c80 fs/mpage.c:225 mpage_readahead+0x44f/0x930 fs/mpage.c:374 read_pages+0x17e/0x840 mm/readahead.c:160 page_cache_ra_unbounded+0x6ce/0x7f0 mm/readahead.c:273 page_cache_sync_readahead include/linux/pagemap.h:1296 [inline] filemap_get_pages+0x49d/0x2090 mm/filemap.c:2529 filemap_read+0x457/0xfa0 mm/filemap.c:2625 __kernel_read+0x532/0x9f0 fs/read_write.c:434 integrity_kernel_read+0xb0/0x100 security/integrity/iint.c:28 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:480 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0xaef/0x1b30 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x526/0xb20 security/integrity/ima/ima_api.c:293 process_measurement+0x1357/0x1fb0 security/integrity/ima/ima_main.c:372 ima_file_check+0xf2/0x170 security/integrity/ima/ima_main.c:572 security_file_post_open+0x6d/0xa0 security/security.c:3008 do_open fs/namei.c:3729 [inline] path_openat+0x2b91/0x3470 fs/namei.c:3886 do_filp_open+0x235/0x490 fs/namei.c:3913 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_openat fs/open.c:1447 [inline] __se_sys_openat fs/open.c:1442 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1442 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f16eff7def9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f16f0dba038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f16f0135f80 RCX: 00007f16eff7def9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: ffffffffffffff9c RBP: 00007f16efff0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f16f0135f80 R15: 00007ffcfcc60118 ------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON(sem->magic != sem): count = 0x100, magic = 0x0, owner = 0xffff88807e205a01, curr 0xffff88807e205a00, list not empty WARNING: CPU: 0 PID: 5666 at kernel/locking/rwsem.c:1342 __up_read+0x515/0x6b0 kernel/locking/rwsem.c:1342 Modules linked in: CPU: 0 UID: 0 PID: 5666 Comm: syz.3.59 Not tainted 6.11.0-rc7-syzkaller-00039-g77f587896757 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__up_read+0x515/0x6b0 kernel/locking/rwsem.c:1342 Code: c1 48 c7 c7 a0 c8 ea 8b 48 c7 c6 80 ca ea 8b 4c 89 fa 48 8b 4c 24 08 49 89 d8 4c 8b 4c 24 10 50 e8 20 a2 e6 ff 48 83 c4 08 90 <0f> 0b 90 90 48 bb 00 00 00 00 00 fc ff df 4c 8b 2c 24 e9 9a fb ff RSP: 0018:ffffc90008eb5ca0 EFLAGS: 00010296 RAX: 0b41a3db8789c900 RBX: ffff88807e205a01 RCX: 0000000000040000 RDX: ffffc90009ddc000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90008eb5d50 R08: ffffffff8155b292 R09: fffffbfff1cba0e0 R10: dffffc0000000000 R11: fffffbfff1cba0e0 R12: ffff888060b1c3c0 R13: ffff888060b1c3b0 R14: 1ffff1100c163878 R15: 0000000000000100 FS: 00007f16f0dba6c0(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f16e57cb000 CR3: 0000000025490000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: attr_data_get_block+0x355/0x2ff0 fs/ntfs3/attrib.c:908 ntfs_get_block_vbo+0x3e4/0xd50 fs/ntfs3/inode.c:598 do_mpage_readpage+0x827/0x1c80 fs/mpage.c:225 mpage_readahead+0x44f/0x930 fs/mpage.c:374 read_pages+0x17e/0x840 mm/readahead.c:160 page_cache_ra_unbounded+0x6ce/0x7f0 mm/readahead.c:273 page_cache_sync_readahead include/linux/pagemap.h:1296 [inline] filemap_get_pages+0x49d/0x2090 mm/filemap.c:2529 filemap_read+0x457/0xfa0 mm/filemap.c:2625 __kernel_read+0x532/0x9f0 fs/read_write.c:434 integrity_kernel_read+0xb0/0x100 security/integrity/iint.c:28 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:480 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0xaef/0x1b30 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x526/0xb20 security/integrity/ima/ima_api.c:293 process_measurement+0x1357/0x1fb0 security/integrity/ima/ima_main.c:372 ima_file_check+0xf2/0x170 security/integrity/ima/ima_main.c:572 security_file_post_open+0x6d/0xa0 security/security.c:3008 do_open fs/namei.c:3729 [inline] path_openat+0x2b91/0x3470 fs/namei.c:3886 do_filp_open+0x235/0x490 fs/namei.c:3913 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_openat fs/open.c:1447 [inline] __se_sys_openat fs/open.c:1442 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1442 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f16eff7def9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f16f0dba038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f16f0135f80 RCX: 00007f16eff7def9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: ffffffffffffff9c RBP: 00007f16efff0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f16f0135f80 R15: 00007ffcfcc60118