------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 13705 at kernel/locking/mutex.c:582 __mutex_lock_common+0x1a3e/0x2530 kernel/locking/mutex.c:582 Modules linked in: CPU: 0 PID: 13705 Comm: kworker/u4:1 Not tainted 6.4.0-rc2-syzkaller-00238-gcbd6ac3837cd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: writeback wb_workfn (flush-7:2) RIP: 0010:__mutex_lock_common+0x1a3e/0x2530 kernel/locking/mutex.c:582 Code: 04 28 84 c0 0f 85 82 08 00 00 83 3d 33 fd 9d 03 00 0f 85 00 e7 ff ff 48 c7 c7 60 78 ea 8a 48 c7 c6 00 79 ea 8a e8 d2 02 9b f6 <0f> 0b e9 e6 e6 ff ff e8 d6 98 48 f6 e9 59 fb ff ff 0f 0b e9 bd f0 RSP: 0018:ffffc9000a977220 EFLAGS: 00010246 RAX: 612f6f0aacf61300 RBX: 0000000000000000 RCX: ffff888028638000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000a9773a0 R08: ffffffff815301a2 R09: ffffed1017305163 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f554fba8000 CR3: 000000003f815000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 hfsplus_ext_write_extent+0x8e/0x1f0 fs/hfsplus/extents.c:149 hfsplus_write_inode+0x22/0x5e0 fs/hfsplus/super.c:154 write_inode fs/fs-writeback.c:1456 [inline] __writeback_single_inode+0x69b/0xfa0 fs/fs-writeback.c:1668 writeback_sb_inodes+0x8e3/0x11d0 fs/fs-writeback.c:1894 wb_writeback+0x458/0xc70 fs/fs-writeback.c:2068 wb_do_writeback fs/fs-writeback.c:2211 [inline] wb_workfn+0x400/0xff0 fs/fs-writeback.c:2251 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308