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: 1 PID: 5021 Comm: syz-executor258 Not tainted 6.5.0-rc5-syzkaller-00056-gcacc6e22932f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
assign_lock_key kernel/locking/lockdep.c:984 [inline]
register_lock_class+0xd6f/0x1320 kernel/locking/lockdep.c:1297
__lock_acquire+0x13c/0x5de0 kernel/locking/lockdep.c:5021
lock_acquire kernel/locking/lockdep.c:5761 [inline]
lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5726
down_read+0x9c/0x470 kernel/locking/rwsem.c:1520
attr_data_get_block+0x189/0x1a10 fs/ntfs3/attrib.c:902
ntfs_get_block_vbo+0x288/0xed0 fs/ntfs3/inode.c:585
do_mpage_readpage+0x6f8/0x1ab0 fs/mpage.c:234
mpage_readahead+0x344/0x580 fs/mpage.c:382
ntfs_readahead+0x1f7/0x250 fs/ntfs3/inode.c:752
read_pages+0x1d1/0xda0 mm/readahead.c:160
page_cache_ra_unbounded+0x457/0x5e0 mm/readahead.c:269
do_page_cache_ra mm/readahead.c:299 [inline]
page_cache_ra_order+0x72b/0xa80 mm/readahead.c:559
ondemand_readahead+0x540/0x1150 mm/readahead.c:681
page_cache_sync_ra+0x174/0x1d0 mm/readahead.c:708
page_cache_sync_readahead include/linux/pagemap.h:1213 [inline]
filemap_get_pages+0xc05/0x1820 mm/filemap.c:2563
filemap_read+0x373/0xd00 mm/filemap.c:2658
generic_file_read_iter+0x346/0x450 mm/filemap.c:2837
ntfs_file_read_iter+0x1b8/0x270 fs/ntfs3/file.c:744
__kernel_read+0x301/0x8a0 fs/read_write.c:428
integrity_kernel_read+0x7f/0xb0 security/integrity/iint.c:195
ima_calc_file_hash_tfm+0x2c5/0x3d0 security/integrity/ima/ima_crypto.c:485
ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline]
ima_calc_file_hash+0x1c6/0x4a0 security/integrity/ima/ima_crypto.c:573
ima_collect_measurement+0x5e2/0x6f0 security/integrity/ima/ima_api.c:289
process_measurement+0xc87/0x1cc0 security/integrity/ima/ima_main.c:345
ima_file_check+0xc2/0x110 security/integrity/ima/ima_main.c:543
do_open fs/namei.c:3638 [inline]
path_openat+0x17a1/0x29c0 fs/namei.c:3793
do_file_open_root+0x2df/0x5b0 fs/namei.c:3845
file_open_root+0x2a8/0x450 fs/open.c:1387
do_handle_open+0x3c5/0x5c0 fs/fhandle.c:239
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff34a5cc6b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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:00007ffdd8be83e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000130
RAX: ffffffffffffffda RBX: 00007ffdd8be85b8 RCX: 00007ff34a5cc6b9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000004
RBP: 00007ff34a65e610 R08: 00007ffdd8be85b8 R09: 00007ffdd8be85b8
R10: 00007ffdd8be85b8 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffdd8be85a8 R14: 0000000000000001 R15: 0000000000000001
------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON(sem->magic != sem): count = 0x100, magic = 0x0, owner = 0xffff88807aa2e101, curr 0xffff88807aa2e100, list not empty
WARNING: CPU: 1 PID: 5021 at kernel/locking/rwsem.c:1342 __up_read+0x501/0x750 kernel/locking/rwsem.c:1342
Modules linked in:
CPU: 1 PID: 5021 Comm: syz-executor258 Not tainted 6.5.0-rc5-syzkaller-00056-gcacc6e22932f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:__up_read+0x501/0x750 kernel/locking/rwsem.c:1342
Code: 44 24 10 80 3c 02 00 0f 85 1b 02 00 00 48 8b 13 41 57 48 c7 c6 20 69 6c 8a 48 c7 c7 60 69 6c 8a 4c 8b 4c 24 08 e8 2f 2c e7 ff <0f> 0b 5f e9 c6 fe ff ff 4c 8d 7b 58 c6 05 46 63 30 0d 01 48 b8 00
RSP: 0018:ffffc9000338e2f0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8880737568e0 RCX: 0000000000000000
RDX: ffff88807aa2e100 RSI: ffffffff814be3c6 RDI: 0000000000000001
RBP: ffffffff8eab1bcc R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880737568e8
R13: 1ffff92000671c62 R14: ffff888073756948 R15: ffffffff8a6c68e0
FS: 0000555556b4e380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f10520c9256 CR3: 000000002d3e3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
attr_data_get_block+0x1f7/0x1a10 fs/ntfs3/attrib.c:905
ntfs_get_block_vbo+0x288/0xed0 fs/ntfs3/inode.c:585
do_mpage_readpage+0x6f8/0x1ab0 fs/mpage.c:234
mpage_readahead+0x344/0x580 fs/mpage.c:382
ntfs_readahead+0x1f7/0x250 fs/ntfs3/inode.c:752
read_pages+0x1d1/0xda0 mm/readahead.c:160
page_cache_ra_unbounded+0x457/0x5e0 mm/readahead.c:269
do_page_cache_ra mm/readahead.c:299 [inline]
page_cache_ra_order+0x72b/0xa80 mm/readahead.c:559
ondemand_readahead+0x540/0x1150 mm/readahead.c:681
page_cache_sync_ra+0x174/0x1d0 mm/readahead.c:708
page_cache_sync_readahead include/linux/pagemap.h:1213 [inline]
filemap_get_pages+0xc05/0x1820 mm/filemap.c:2563
filemap_read+0x373/0xd00 mm/filemap.c:2658
generic_file_read_iter+0x346/0x450 mm/filemap.c:2837
ntfs_file_read_iter+0x1b8/0x270 fs/ntfs3/file.c:744
__kernel_read+0x301/0x8a0 fs/read_write.c:428
integrity_kernel_read+0x7f/0xb0 security/integrity/iint.c:195
ima_calc_file_hash_tfm+0x2c5/0x3d0 security/integrity/ima/ima_crypto.c:485
ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline]
ima_calc_file_hash+0x1c6/0x4a0 security/integrity/ima/ima_crypto.c:573
ima_collect_measurement+0x5e2/0x6f0 security/integrity/ima/ima_api.c:289
process_measurement+0xc87/0x1cc0 security/integrity/ima/ima_main.c:345
ima_file_check+0xc2/0x110 security/integrity/ima/ima_main.c:543
do_open fs/namei.c:3638 [inline]
path_openat+0x17a1/0x29c0 fs/namei.c:3793
do_file_open_root+0x2df/0x5b0 fs/namei.c:3845
file_open_root+0x2a8/0x450 fs/open.c:1387
do_handle_open+0x3c5/0x5c0 fs/fhandle.c:239
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff34a5cc6b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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:00007ffdd8be83e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000130
RAX: ffffffffffffffda RBX: 00007ffdd8be85b8 RCX: 00007ff34a5cc6b9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000004
RBP: 00007ff34a65e610 R08: 00007ffdd8be85b8 R09: 00007ffdd8be85b8
R10: 00007ffdd8be85b8 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffdd8be85a8 R14: 0000000000000001 R15: 0000000000000001