------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 1 PID: 11644 at kernel/locking/mutex.c:582 __mutex_lock_common+0x1a2a/0x2520 kernel/locking/mutex.c:582
Modules linked in:
CPU: 1 PID: 11644 Comm: kworker/u4:29 Not tainted 6.1.26-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: writeback wb_workfn (flush-7:5)
RIP: 0010:__mutex_lock_common+0x1a2a/0x2520 kernel/locking/mutex.c:582
Code: 04 28 84 c0 0f 85 82 08 00 00 83 3d 77 e2 c8 03 00 0f 85 10 e7 ff ff 48 c7 c7 c0 ba eb 8a 48 c7 c6 60 bb eb 8a e8 66 0b c8 f6 <0f> 0b e9 f6 e6 ff ff e8 ba 4d 76 f6 e9 59 fb ff ff 0f 0b e9 cd f0
RSP: 0000:ffffc900034ff200 EFLAGS: 00010246
RAX: a75e9dbaeafe1700 RBX: 0000000000000000 RCX: ffff88801fb457c0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900034ff380 R08: ffffffff81524d7e R09: ffffed1017324f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f991764b000 CR3: 000000016e363000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799
hfsplus_ext_write_extent+0x8a/0x1f0 fs/hfsplus/extents.c:149
hfsplus_write_inode+0x1e/0x5c0 fs/hfsplus/super.c:154
write_inode fs/fs-writeback.c:1443 [inline]
__writeback_single_inode+0x67d/0x11e0 fs/fs-writeback.c:1655
writeback_sb_inodes+0xc21/0x1ac0 fs/fs-writeback.c:1881
wb_writeback+0x49d/0xe10 fs/fs-writeback.c:2055
wb_do_writeback fs/fs-writeback.c:2198 [inline]
wb_workfn+0x427/0x1020 fs/fs-writeback.c:2238
process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289
worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436
kthread+0x26e/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
</TASK>