ERROR: (device loop0): xtSearch: XT_GETPAGE: xtree page corrupt ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 0 PID: 5329 at kernel/locking/lockdep.c:237 hlock_class kernel/locking/lockdep.c:237 [inline] WARNING: CPU: 0 PID: 5329 at kernel/locking/lockdep.c:237 check_wait_context kernel/locking/lockdep.c:4855 [inline] WARNING: CPU: 0 PID: 5329 at kernel/locking/lockdep.c:237 __lock_acquire+0x356/0xd80 kernel/locking/lockdep.c:5185 Modules linked in: CPU: 0 UID: 0 PID: 5329 Comm: syz.0.0 Not tainted 6.15.0-rc3-syzkaller-00001-g9d7a0577c9db #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: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 bc 19 62 03 85 c0 74 22 83 3d 85 a6 c1 0e 00 75 19 90 48 c7 c7 04 51 63 8e 48 c7 c6 fc b6 55 8e e8 3b a8 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:ffffc9000d566fa0 EFLAGS: 00010046 RAX: b0020048efcb7f00 RBX: 0000000000000001 RCX: 0000000000100000 RDX: ffffc9000eab3000 RSI: 0000000000001e15 RDI: 0000000000001e16 RBP: ffff88800063a440 R08: ffffffff818218d2 R09: 1ffff11003f847d2 R10: dffffc0000000000 R11: ffffed1003f847d3 R12: ffff88800063afa0 R13: ffff88800063a440 R14: 0000000000000000 R15: ffff888012264148 FS: 00007f0db6f1d6c0(0000) GS:ffff88808c59a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0db6ef4000 CR3: 0000000039196000 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:4103 generic_file_write_iter+0x10e/0x5e0 mm/filemap.c:4246 aio_write+0x56d/0x7d0 fs/aio.c:1633 __io_submit_one fs/aio.c:-1 [inline] io_submit_one+0x8a9/0x18b0 fs/aio.c:2052 __do_sys_io_submit fs/aio.c:2111 [inline] __se_sys_io_submit+0x17a/0x2e0 fs/aio.c:2081 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0db618e169 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:00007f0db6f1d038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007f0db63b6080 RCX: 00007f0db618e169 RDX: 0000200000000540 RSI: 0000000000000001 RDI: 00007f0db6ef4000 RBP: 00007f0db6210a68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0db63b6080 R15: 00007ffc40a98b18