ERROR: (device loop3): remounting filesystem as read-only ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 1 PID: 6463 at kernel/locking/lockdep.c:238 hlock_class kernel/locking/lockdep.c:238 [inline] WARNING: CPU: 1 PID: 6463 at kernel/locking/lockdep.c:238 check_wait_context kernel/locking/lockdep.c:4857 [inline] WARNING: CPU: 1 PID: 6463 at kernel/locking/lockdep.c:238 __lock_acquire+0x379/0xd20 kernel/locking/lockdep.c:5190 Modules linked in: CPU: 1 UID: 0 PID: 6463 Comm: syz.3.104 Not tainted 6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:hlock_class kernel/locking/lockdep.c:238 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4857 [inline] RIP: 0010:__lock_acquire+0x379/0xd20 kernel/locking/lockdep.c:5190 Code: eb 33 90 e8 79 79 1e 03 85 c0 74 22 83 3d a2 d5 02 0e 00 75 19 90 48 c7 c7 16 c7 b5 8d 48 c7 c6 ee 40 a5 8d e8 78 d1 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:ffffc90003d0f010 EFLAGS: 00010046 RAX: 8902ae13d6a46300 RBX: ffff888053b109f8 RCX: 0000000000080000 RDX: ffffc9000c67a000 RSI: 000000000000bb50 RDI: 000000000000bb51 RBP: 0000000000001daa R08: ffff8880b8724293 R09: 1ffff110170e4852 R10: dffffc0000000000 R11: ffffed10170e4853 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88803053e540 R15: ffff88803053e4f0 FS: 00007f57a17bc6c0(0000) GS:ffff888125d5f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa1a23ed000 CR3: 00000000326c1000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871 __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:105 unlock_metapage fs/jfs/jfs_metapage.c:40 [inline] release_metapage+0x13c/0xac0 fs/jfs/jfs_metapage.c:869 xtTruncate+0xe71/0x2dd0 fs/jfs/jfs_xtree.c:-1 jfs_truncate_nolock+0x2a7/0x340 fs/jfs/inode.c:373 jfs_truncate fs/jfs/inode.c:412 [inline] jfs_write_failed+0x119/0x190 fs/jfs/inode.c:289 jfs_write_begin+0x6f/0x80 fs/jfs/inode.c:301 generic_perform_write+0x2c7/0x910 mm/filemap.c:4103 generic_file_write_iter+0x10f/0x540 mm/filemap.c:4246 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:0x7f57a098e969 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:00007f57a17bc038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007f57a0bb5fa0 RCX: 00007f57a098e969 RDX: 0000200000000540 RSI: 0000000000000001 RDI: 00007f57a1793000 RBP: 00007f57a0a10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f57a0bb5fa0 R15: 00007fff3d5da618