ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512) ntfs3: loop0: ino=0, ntfs_iget5 ntfs3: loop0: Mark volume as dirty due to NTFS errors 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: 5072 Comm: syz-executor231 Not tainted 6.1.0-next-20221220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 assign_lock_key kernel/locking/lockdep.c:981 [inline] register_lock_class+0xf1b/0x1120 kernel/locking/lockdep.c:1294 __lock_acquire+0x109/0x56d0 kernel/locking/lockdep.c:4934 lock_acquire.part.0+0x11a/0x350 kernel/locking/lockdep.c:5668 down_read+0x9c/0x450 kernel/locking/rwsem.c:1509 attr_data_get_block+0x12d/0x19f0 fs/ntfs3/attrib.c:903 ntfs_get_block_vbo+0x264/0x1410 fs/ntfs3/inode.c:573 do_mpage_readpage+0x765/0x19e0 fs/mpage.c:208 mpage_readahead+0x344/0x580 fs/mpage.c:361 ntfs_readahead+0x1f9/0x260 fs/ntfs3/inode.c:747 read_pages+0x1a2/0xd40 mm/readahead.c:161 page_cache_ra_unbounded+0x477/0x5e0 mm/readahead.c:270 do_page_cache_ra mm/readahead.c:300 [inline] page_cache_ra_order+0x6ec/0xa00 mm/readahead.c:560 ondemand_readahead+0x6b3/0x1000 mm/readahead.c:682 page_cache_sync_ra+0x1c9/0x200 mm/readahead.c:709 page_cache_sync_readahead include/linux/pagemap.h:1210 [inline] filemap_get_pages+0x2ca/0x16b0 mm/filemap.c:2600 filemap_read+0x315/0xc00 mm/filemap.c:2694 generic_file_read_iter+0x3ad/0x5b0 mm/filemap.c:2840 ntfs_file_read_iter+0x1b8/0x270 fs/ntfs3/file.c:758 __kernel_read+0x2ca/0x7c0 fs/read_write.c:428 integrity_kernel_read+0x7f/0xb0 security/integrity/iint.c:199 ima_calc_file_hash_tfm+0x2aa/0x3b0 security/integrity/ima/ima_crypto.c:485 ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0x195/0x4a0 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x538/0x650 security/integrity/ima/ima_api.c:292 process_measurement+0xd23/0x18b0 security/integrity/ima/ima_main.c:339 ima_file_check+0xb0/0x100 security/integrity/ima/ima_main.c:519 do_open fs/namei.c:3559 [inline] path_openat+0x15f1/0x2a50 fs/namei.c:3714 do_file_open_root+0x2cc/0x590 fs/namei.c:3766 file_open_root+0x2b1/0x430 fs/open.c:1290 do_handle_open+0x327/0x8b0 fs/fhandle.c:232 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4a485f3849 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffeb139ad18 EFLAGS: 00000246 ORIG_RAX: 0000000000000130 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4a485f3849 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000004 RBP: 00007f4a485b30e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4a485b3170 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON(sem->magic != sem): count = 0x100, magic = 0x0, owner = 0xffff88801e7fd7c1, curr 0xffff88801e7fd7c0, list not empty WARNING: CPU: 1 PID: 5072 at kernel/locking/rwsem.c:1335 __up_read+0x4d0/0x720 kernel/locking/rwsem.c:1335 Modules linked in: CPU: 1 PID: 5072 Comm: syz-executor231 Not tainted 6.1.0-next-20221220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__up_read+0x4d0/0x720 kernel/locking/rwsem.c:1335 Code: 8b 44 24 10 80 3c 02 00 0f 85 a9 01 00 00 49 8b 17 4d 89 f1 48 c7 c6 40 42 4c 8a 48 c7 c7 80 42 4c 8a ff 34 24 e8 ea 1b 5e 08 <0f> 0b 5f e9 c7 fe ff ff 4d 8d 77 58 c6 05 a3 02 fb 0c 01 48 b8 00 RSP: 0018:ffffc90003b9e410 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffffff8e732fe8 RCX: 0000000000000000 RDX: ffff88801e7fd7c0 RSI: ffffffff81667acc RDI: fffff52000773c74 RBP: ffff888076098148 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 57525f4755424544 R12: 1ffff92000773c86 R13: ffff8880760981a8 R14: ffff88801e7fd7c0 R15: ffff888076098140 FS: 00005555570e9300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f725d7b61ac CR3: 0000000075498000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: attr_data_get_block+0x19d/0x19f0 fs/ntfs3/attrib.c:906 ntfs_get_block_vbo+0x264/0x1410 fs/ntfs3/inode.c:573 do_mpage_readpage+0x765/0x19e0 fs/mpage.c:208 mpage_readahead+0x344/0x580 fs/mpage.c:361 ntfs_readahead+0x1f9/0x260 fs/ntfs3/inode.c:747 read_pages+0x1a2/0xd40 mm/readahead.c:161 page_cache_ra_unbounded+0x477/0x5e0 mm/readahead.c:270 do_page_cache_ra mm/readahead.c:300 [inline] page_cache_ra_order+0x6ec/0xa00 mm/readahead.c:560 ondemand_readahead+0x6b3/0x1000 mm/readahead.c:682 page_cache_sync_ra+0x1c9/0x200 mm/readahead.c:709 page_cache_sync_readahead include/linux/pagemap.h:1210 [inline] filemap_get_pages+0x2ca/0x16b0 mm/filemap.c:2600 filemap_read+0x315/0xc00 mm/filemap.c:2694 generic_file_read_iter+0x3ad/0x5b0 mm/filemap.c:2840 ntfs_file_read_iter+0x1b8/0x270 fs/ntfs3/file.c:758 __kernel_read+0x2ca/0x7c0 fs/read_write.c:428 integrity_kernel_read+0x7f/0xb0 security/integrity/iint.c:199 ima_calc_file_hash_tfm+0x2aa/0x3b0 security/integrity/ima/ima_crypto.c:485 ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0x195/0x4a0 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x538/0x650 security/integrity/ima/ima_api.c:292 process_measurement+0xd23/0x18b0 security/integrity/ima/ima_main.c:339 ima_file_check+0xb0/0x100 security/integrity/ima/ima_main.c:519 do_open fs/namei.c:3559 [inline] path_openat+0x15f1/0x2a50 fs/namei.c:3714 do_file_open_root+0x2cc/0x590 fs/namei.c:3766 file_open_root+0x2b1/0x430 fs/open.c:1290 do_handle_open+0x327/0x8b0 fs/fhandle.c:232 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4a485f3849 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffeb139ad18 EFLAGS: 00000246 ORIG_RAX: 0000000000000130 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4a485f3849 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000004 RBP: 00007f4a485b30e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4a485b3170 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000