ERROR: (device loop0): xtSearch: XT_GETPAGE: xtree page corrupt ERROR: (device loop0): remounting filesystem as read-only ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 1 PID: 6181 at kernel/locking/lockdep.c:237 hlock_class kernel/locking/lockdep.c:237 [inline] WARNING: CPU: 1 PID: 6181 at kernel/locking/lockdep.c:237 check_wait_context kernel/locking/lockdep.c:4855 [inline] WARNING: CPU: 1 PID: 6181 at kernel/locking/lockdep.c:237 __lock_acquire+0x356/0xd80 kernel/locking/lockdep.c:5185 Modules linked in: CPU: 1 UID: 0 PID: 6181 Comm: syz.0.47 Not tainted 6.15.0-rc2-syzkaller-00037-g834a4a689699 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:hlock_class kernel/locking/lockdep.c:237 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4855 [inline] RIP: 0010:__lock_acquire+0x356/0xd80 kernel/locking/lockdep.c:5185 Code: 89 c3 90 e8 6c 9b 5a 03 85 c0 74 22 83 3d d5 03 c0 0e 00 75 19 90 48 c7 c7 4e a3 4e 8e 48 c7 c6 df b7 4e 8e e8 db 81 e3 ff 90 <0f> 0b 90 90 90 31 c0 48 8b 74 24 08 41 89 d8 0f b6 98 c4 00 00 00 RSP: 0018:ffffc9000b9a7200 EFLAGS: 00010046 RAX: 56b59ddad5ac3000 RBX: 0000000000000001 RCX: 0000000000080000 RDX: ffffc90004a69000 RSI: 000000000000764b RDI: 000000000000764c RBP: ffff888030f6da00 R08: ffffffff81826812 R09: 1ffff110170e47d2 R10: dffffc0000000000 R11: ffffed10170e47d3 R12: ffff888030f6e5b0 R13: ffff888030f6da00 R14: 0000000000000000 R15: ffff88805883a5a0 FS: 00007fb1937426c0(0000) GS:ffff8881250c9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000f000 CR3: 0000000034798000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x116/0x2f0 kernel/locking/lockdep.c:5866 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd8/0x130 kernel/locking/spinlock.c:162 __wake_up_common_lock+0x25/0x1e0 kernel/sched/wait.c:105 unlock_metapage fs/jfs/jfs_metapage.c:39 [inline] release_metapage+0x158/0xa90 fs/jfs/jfs_metapage.c:763 xtTruncate+0x1026/0x32a0 fs/jfs/jfs_xtree.c:-1 jfs_truncate_nolock+0x364/0x420 fs/jfs/inode.c:373 jfs_truncate fs/jfs/inode.c:412 [inline] jfs_write_failed+0x11a/0x190 fs/jfs/inode.c:289 jfs_write_begin+0x64/0x70 fs/jfs/inode.c:301 generic_perform_write+0x329/0xa10 mm/filemap.c:4102 generic_file_write_iter+0x10e/0x5e0 mm/filemap.c:4245 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x70f/0xd10 fs/read_write.c:684 ksys_write+0x19d/0x2d0 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb19298d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb193742038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb192ba5fa0 RCX: 00007fb19298d169 RDX: 0000000000000120 RSI: 0000200000000040 RDI: 0000000000000004 RBP: 00007fb192a0e990 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb192ba5fa0 R15: 00007ffc1680a6f8