======================================================= ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512) ntfs3: loop0: Failed to load $Extend. ntfs3: loop0: failed to convert "076c" to iso8859-1 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: 4504 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 assign_lock_key+0x224/0x258 kernel/locking/lockdep.c:974 register_lock_class+0x1ac/0x694 kernel/locking/lockdep.c:1287 __lock_acquire+0x150/0x6544 kernel/locking/lockdep.c:4928 lock_acquire+0x20c/0x644 kernel/locking/lockdep.c:5662 down_write+0x5c/0x88 kernel/locking/rwsem.c:1573 ntfs_set_size+0x130/0x200 fs/ntfs3/inode.c:845 ntfs_extend+0x130/0x444 fs/ntfs3/file.c:353 ntfs3_setattr+0x248/0x924 fs/ntfs3/file.c:712 notify_change+0xb0c/0xdcc fs/attr.c:499 do_truncate+0x178/0x1f0 fs/open.c:65 vfs_truncate+0x23c/0x2b0 fs/open.c:111 do_sys_truncate+0xe8/0x1b0 fs/open.c:134 __do_sys_truncate fs/open.c:146 [inline] __se_sys_truncate fs/open.c:144 [inline] __arm64_sys_truncate+0x5c/0x70 fs/open.c:144 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 ntfs3: loop0: ino=19, "file1" attr_set_size ------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON(sem->magic != sem): count = 0x1, magic = 0x0, owner = 0xffff0000e0630000, curr 0xffff0000e0630000, list not empty WARNING: CPU: 0 PID: 4504 at kernel/locking/rwsem.c:1366 __up_write kernel/locking/rwsem.c:1366 [inline] WARNING: CPU: 0 PID: 4504 at kernel/locking/rwsem.c:1366 up_write+0x3b8/0x5c0 kernel/locking/rwsem.c:1626 Modules linked in: CPU: 0 PID: 4504 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : __up_write kernel/locking/rwsem.c:1366 [inline] pc : up_write+0x3b8/0x5c0 kernel/locking/rwsem.c:1626 lr : __up_write kernel/locking/rwsem.c:1366 [inline] lr : up_write+0x3b8/0x5c0 kernel/locking/rwsem.c:1626 sp : ffff800020d27830 x29: ffff800020d27840 x28: 1fffe0001d4e8d3c x27: dfff800000000000 x26: dfff800000000000 x25: 0000000000000001 x24: ffff0000e0630000 x23: ffff0000e0630000 x22: 0000000000000000 x21: ffff0000ea7468d8 x20: ffff0000ea7468e8 x19: ffff0000ea746880 x18: ffff800011a5bd40 x17: 1fffe00033ee7b7e x16: ffff800008042d90 x15: 0000000040000000 x14: 0000000000000002 x13: 0000000000ff0100 x12: 0000000000ff0100 x11: ff0080000804801c x10: 0000000040000000 x9 : b681517948aec900 x8 : b681517948aec900 x7 : 0000000000000004 x6 : ffff8000082532dc x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff800020d273c0 x1 : 0000000000000000 x0 : ffff800008253370 Call trace: __up_write kernel/locking/rwsem.c:1366 [inline] up_write+0x3b8/0x5c0 kernel/locking/rwsem.c:1626 ntfs_set_size+0x164/0x200 fs/ntfs3/inode.c:850 ntfs_extend+0x130/0x444 fs/ntfs3/file.c:353 ntfs3_setattr+0x248/0x924 fs/ntfs3/file.c:712 notify_change+0xb0c/0xdcc fs/attr.c:499 do_truncate+0x178/0x1f0 fs/open.c:65 vfs_truncate+0x23c/0x2b0 fs/open.c:111 do_sys_truncate+0xe8/0x1b0 fs/open.c:134 __do_sys_truncate fs/open.c:146 [inline] __se_sys_truncate fs/open.c:144 [inline] __arm64_sys_truncate+0x5c/0x70 fs/open.c:144 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 17161 hardirqs last enabled at (17161): [] seqcount_lockdep_reader_access include/linux/seqlock.h:104 [inline] hardirqs last enabled at (17161): [] ktime_get_coarse_real_ts64+0x114/0x244 kernel/time/timekeeping.c:2261 hardirqs last disabled at (17160): [] seqcount_lockdep_reader_access include/linux/seqlock.h:101 [inline] hardirqs last disabled at (17160): [] ktime_get_coarse_real_ts64+0x9c/0x244 kernel/time/timekeeping.c:2261 softirqs last enabled at (17046): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (17044): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---