------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 5333 at kernel/locking/mutex.c:582 __mutex_lock_common+0x1a3e/0x2530 kernel/locking/mutex.c:582 Modules linked in: CPU: 0 PID: 5333 Comm: kworker/u4:7 Not tainted 6.4.0-rc3-syzkaller-00017-g9d646009f65d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023 Workqueue: writeback wb_workfn (flush-7:0) 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 f3 ee 9d 03 00 0f 85 00 e7 ff ff 48 c7 c7 60 79 ea 8a 48 c7 c6 00 7a ea 8a e8 d2 f2 9a f6 <0f> 0b e9 e6 e6 ff ff e8 d6 88 48 f6 e9 59 fb ff ff 0f 0b e9 bd f0 RSP: 0018:ffffc90005abf220 EFLAGS: 00010246 RAX: a477772d28eac500 RBX: 0000000000000000 RCX: ffff88807ebabb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90005abf3a0 R08: ffffffff815301a2 R09: fffff52000b57dbd 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: 0000000020000c10 CR3: 000000004276c000 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