hfsplus: b-tree write err: -5, ino 4 ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 3720 at kernel/locking/mutex.c:582 __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 Modules linked in: CPU: 0 PID: 3720 Comm: kworker/u4:13 Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: writeback wb_workfn (flush-7:4) pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 lr : __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 sp : ffff800015d1b800 x29: ffff800015d1b870 x28: ffff80000eec8000 x27: ffff0000f5938de0 x26: 0000000000000000 x25: 0000000000000007 x24: 0000000000000002 x23: ffff8000088ea804 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000f5938cd0 x18: 0000000000000009 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000012 x12: ffff80000d93b690 x11: ff808000081c4d64 x10: 0000000000000000 x9 : b1c67653135eba00 x8 : b1c67653135eba00 x7 : 4e5241575f534b43 x6 : ffff80000c091ebc x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000028 Call trace: __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 hfsplus_ext_write_extent+0x3c/0xf8 fs/hfsplus/extents.c:149 hfsplus_write_inode+0x20/0x9c fs/hfsplus/super.c:154 write_inode fs/fs-writeback.c:1440 [inline] __writeback_single_inode+0x240/0x2e4 fs/fs-writeback.c:1652 writeback_sb_inodes+0x3e4/0x85c fs/fs-writeback.c:1878 __writeback_inodes_wb+0x78/0x1c0 fs/fs-writeback.c:1949 wb_writeback+0x1c8/0x328 fs/fs-writeback.c:2054 wb_check_start_all+0x128/0x1a0 fs/fs-writeback.c:2176 wb_do_writeback+0x1b8/0x384 fs/fs-writeback.c:2202 wb_workfn+0x70/0x15c fs/fs-writeback.c:2235 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 4935991 hardirqs last enabled at (4935991): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1366 [inline] hardirqs last enabled at (4935991): [] finish_lock_switch+0x94/0xe8 kernel/sched/core.c:4968 hardirqs last disabled at (4935990): [] __schedule+0x84/0x594 kernel/sched/core.c:6420 softirqs last enabled at (4935360): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (4935360): [] ieee80211_ibss_work+0x184/0x9f0 net/mac80211/ibss.c:1701 softirqs last disabled at (4935358): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (4935358): [] ieee80211_ibss_work+0x68/0x9f0 net/mac80211/ibss.c:1690 ---[ end trace 0000000000000000 ]--- hfsplus: b-tree write err: -5, ino 4 hfsplus: b-tree write err: -5, ino 4