loop0: detected capacity change from 0 to 32768 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: 0 PID: 5335 at kernel/locking/lockdep.c:238 hlock_class kernel/locking/lockdep.c:238 [inline] WARNING: CPU: 0 PID: 5335 at kernel/locking/lockdep.c:238 check_wait_context kernel/locking/lockdep.c:4854 [inline] WARNING: CPU: 0 PID: 5335 at kernel/locking/lockdep.c:238 __lock_acquire+0x379/0xd20 kernel/locking/lockdep.c:5187 Modules linked in: CPU: 0 UID: 0 PID: 5335 Comm: syz.0.0 Not tainted 6.16.0-syzkaller-09014-gd6084bb815c4 #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:238 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4854 [inline] RIP: 0010:__lock_acquire+0x379/0xd20 kernel/locking/lockdep.c:5187 Code: eb 33 90 e8 39 ee 25 03 85 c0 74 22 83 3d 52 94 03 0e 00 75 19 90 48 c7 c7 76 c5 b6 8d 48 c7 c6 d3 30 a6 8d e8 98 e9 e5 ff 90 <0f> 0b 90 90 90 31 c0 48 8b 3c 24 0f b6 98 c4 00 00 00 41 8b 46 20 RSP: 0018:ffffc9000d45f010 EFLAGS: 00010046 RAX: a6bf9b7dd2f52100 RBX: ffff88804421c148 RCX: 0000000000100000 RDX: ffffc9000dd32000 RSI: 0000000000002d0d RDI: 0000000000002d0e RBP: 00000000000015aa R08: ffff88801fc24253 R09: 1ffff11003f8484a R10: dffffc0000000000 R11: ffffed1003f8484b R12: 0000000000000000 R13: 0000000000000000 R14: ffff888000fc8b40 R15: ffff888000fc8af0 FS: 00007f6fe85f16c0(0000) GS:ffff88808d26b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f60775909c0 CR3: 00000000430d1000 CR4: 0000000000352ef0 Call Trace: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162 __wake_up_common_lock+0x2f/0x1f0 kernel/sched/wait.c:124 unlock_metapage fs/jfs/jfs_metapage.c:40 [inline] release_metapage+0x13c/0xac0 fs/jfs/jfs_metapage.c:871 xtTruncate+0xe84/0x2e70 fs/jfs/jfs_xtree.c:-1 jfs_truncate_nolock+0x2a7/0x340 fs/jfs/inode.c:375 jfs_truncate fs/jfs/inode.c:414 [inline] jfs_write_failed+0x119/0x190 fs/jfs/inode.c:289 jfs_write_begin+0x6f/0x80 fs/jfs/inode.c:302 generic_perform_write+0x2c5/0x900 mm/filemap.c:4141 generic_file_write_iter+0x10f/0x540 mm/filemap.c:4284 aio_write+0x535/0x7a0 fs/aio.c:1634 __io_submit_one fs/aio.c:-1 [inline] io_submit_one+0x78b/0x1310 fs/aio.c:2053 __do_sys_io_submit fs/aio.c:2112 [inline] __se_sys_io_submit+0x185/0x2f0 fs/aio.c:2082 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6fe778eb69 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:00007f6fe85f1038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007f6fe79b5fa0 RCX: 00007f6fe778eb69 RDX: 0000200000000540 RSI: 0000000000000001 RDI: 00007f6fe85a7000 RBP: 00007f6fe7811df1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6fe79b5fa0 R15: 00007fff3cba6448