ERROR: (device loop2): remounting filesystem as read-only jfs_dirty_inode called on read-only volume Is remount racy? jfs_dirty_inode called on read-only volume Is remount racy? 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: 4932 Comm: syz.2.116 Not tainted 6.1.138-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x6c/0xb4 kernel/locking/spinlock.c:162 __wake_up_common_lock kernel/sched/wait.c:137 [inline] __wake_up+0xe4/0x174 kernel/sched/wait.c:160 txEnd+0x98/0x4f0 fs/jfs/jfs_txnmgr.c:504 jfs_truncate_nolock+0x1ac/0x27c fs/jfs/inode.c:405 jfs_truncate+0xcc/0x144 fs/jfs/inode.c:417 jfs_setattr+0x50c/0x728 fs/jfs/file.c:119 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 Unable to handle kernel paging request at virtual address dfff800000000000 KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] 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 [dfff800000000000] address between user and kernel address ranges Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 4932 Comm: syz.2.116 Not tainted 6.1.138-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 004000c5 (nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __wake_up_common+0x1c8/0x3b0 kernel/sched/wait.c:100 lr : __wake_up_common_lock kernel/sched/wait.c:138 [inline] lr : __wake_up+0x104/0x174 kernel/sched/wait.c:160 sp : ffff800020fb7740 x29: ffff800020fb7760 x28: dfff800000000000 x27: ffff80001fd04070 x26: 0000000000000000 x25: ffff80001fd04030 x24: 0000000000000000 x23: 0000000000000003 x22: 1ffff000041f6efc x21: 0000000000000000 x20: ffff800020fb77e0 x19: 0000000000000000 x18: ffff800011a7bd00 x17: 0000000000000000 x16: ffff8000082e6770 x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: ffff7000041f6edc x11: 1ffff000041f6edc x10: 0000000000000004 x9 : 0000000000000007 x8 : 0000000000000000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800020fb77e0 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000003 x0 : ffff80001fd04030 Call trace: __wake_up_common+0x1c8/0x3b0 kernel/sched/wait.c:100 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up+0x104/0x174 kernel/sched/wait.c:160 txEnd+0x98/0x4f0 fs/jfs/jfs_txnmgr.c:504 jfs_truncate_nolock+0x1ac/0x27c fs/jfs/inode.c:405 jfs_truncate+0xcc/0x144 fs/jfs/inode.c:417 jfs_setattr+0x50c/0x728 fs/jfs/file.c:119 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 Code: eb1b031f 54000ae0 d343ff08 aa1803fa (387c6908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: eb1b031f cmp x24, x27 4: 54000ae0 b.eq 0x160 // b.none 8: d343ff08 lsr x8, x24, #3 c: aa1803fa mov x26, x24 * 10: 387c6908 ldrb w8, [x8, x28] <-- trapping instruction