loop5: detected capacity change from 0 to 8536 ntfs3: loop5: Different NTFS' sector size (1024) and media sector size (512) BUG: spinlock bad magic on CPU#1, syz-executor.5/22548 Unable to handle kernel NULL pointer dereference at virtual address 0000000000000470 Mem abort info: ESR = 0x0000000096000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: ISV = 0, ISS = 0x00000006 CM = 0, WnR = 0 user pgtable: 4k pages, 48-bit VAs, pgdp=0000000154b1c000 [0000000000000470] pgd=080000017fc67003, p4d=080000017fc67003, pud=0800000151c08003, pmd=0000000000000000 Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 22548 Comm: syz-executor.5 Not tainted 6.1.0-rc4-syzkaller-31872-g1621b6eaebf7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: a0400005 (NzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : task_pid_nr include/linux/sched.h:1568 [inline] pc : spin_dump kernel/locking/spinlock_debug.c:63 [inline] pc : spin_bug+0x88/0xec kernel/locking/spinlock_debug.c:77 lr : spin_dump kernel/locking/spinlock_debug.c:60 [inline] lr : spin_bug+0x68/0xec kernel/locking/spinlock_debug.c:77 sp : ffff800012e83940 x29: ffff800012e83940 x28: ffffffffffffffff x27: 0000000000000140 x26: 0000000000000002 x25: 0000000000000000 x24: 0000000000000001 x23: ffff800012e83a60 x22: 0000000000000000 x21: ffffffffffffff00 x20: ffff80000cb4a08d x19: ffff000113cf55b7 x18: 0000000000000292 x17: 0000000000000000 x16: 0000000000000002 x15: 0000000000000000 x14: 0000000000000000 x13: 205d383435323254 x12: 0000000000040000 x11: 0000000000025521 x10: ffff800012e9d000 x9 : 92b25bb9d97bc900 x8 : ffffffffffffff01 x7 : 545b5d3539303438 x6 : ffff80000c01775c x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 00000000ad4ead00 x1 : 0000000100000001 x0 : 0000000000000036 Call trace: spin_bug+0x88/0xec kernel/locking/spinlock_debug.c:77 debug_spin_lock_before kernel/locking/spinlock_debug.c:85 [inline] do_raw_spin_lock+0xb0/0x110 kernel/locking/spinlock_debug.c:114 __raw_spin_lock include/linux/spinlock_api_smp.h:134 [inline] _raw_spin_lock+0x5c/0x6c kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:350 [inline] writeback_single_inode+0x44/0x54c fs/fs-writeback.c:1676 write_inode_now+0xb0/0xdc fs/fs-writeback.c:2736 iput_final fs/inode.c:1734 [inline] iput+0x1e4/0x324 fs/inode.c:1773 ntfs_fill_super+0x1254/0x14a4 fs/ntfs3/super.c:1190 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1324 ntfs_fs_get_tree+0x28/0x38 fs/ntfs3/super.c:1358 vfs_get_tree+0x40/0x140 fs/super.c:1531 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3040 path_mount+0x358/0x890 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Code: b0025463 12800004 91238c63 14000003 (b94572a4) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: b0025463 adrp x3, 0x4a8d000 4: 12800004 mov w4, #0xffffffff // #-1 8: 91238c63 add x3, x3, #0x8e3 c: 14000003 b 0x18 * 10: b94572a4 ldr w4, [x21, #1392] <-- trapping instruction