ERROR: (device loop0): xtSearch: XT_GETPAGE: xtree page corrupt ERROR: (device loop0): remounting filesystem as read-only ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use)) WARNING: CPU: 0 PID: 5328 at kernel/locking/lockdep.c:5205 __lock_acquire+0xc6e/0xd80 kernel/locking/lockdep.c:5205 Modules linked in: CPU: 0 UID: 0 PID: 5328 Comm: syz.0.0 Not tainted 6.14.0-syzkaller-13524-gf4d2ef48250a #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__lock_acquire+0xc6e/0xd80 kernel/locking/lockdep.c:5205 Code: ff ff 90 e8 64 6a 62 03 85 c0 74 22 83 3d 4d 10 c1 0e 00 75 19 90 48 c7 c7 fe cd 4f 8e 48 c7 c6 e5 dd 4f 8e e8 53 79 e3 ff 90 <0f> 0b 90 90 90 45 31 ed e9 9c fe ff ff 90 0f 0b 90 e9 3f fe ff ff RSP: 0018:ffffc9000d30f200 EFLAGS: 00010046 RAX: 659ffa310a38ea00 RBX: 0000000000000004 RCX: ffff888000700000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000ffffffff R08: ffffffff81827a12 R09: 1ffff11003f847d2 R10: dffffc0000000000 R11: ffffed1003f847d3 R12: ffff888000700bb0 R13: 0000000000000000 R14: ffff888000700b90 R15: 0000000000000004 FS: 00007f1c79eff6c0(0000) GS:ffff88808c596000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003000 CR3: 0000000043f02000 CR4: 0000000000352ef0 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:0x7f1c7918d169 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:00007f1c79eff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f1c793a6080 RCX: 00007f1c7918d169 RDX: 0000000000001006 RSI: 0000200000002100 RDI: 0000000000000004 RBP: 00007f1c7920e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1c793a6080 R15: 00007ffccb534ce8