------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 1 PID: 22855 at kernel/locking/mutex.c:582 __mutex_lock_common+0x504/0xf64 kernel/locking/mutex.c:582 Modules linked in: CPU: 1 PID: 22855 Comm: kworker/u4:6 Not tainted 6.2.0-rc7-syzkaller-17891-geaed33698e35 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: writeback wb_workfn (flush-7:4) pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __mutex_lock_common+0x504/0xf64 kernel/locking/mutex.c:582 lr : __mutex_lock_common+0x504/0xf64 kernel/locking/mutex.c:582 sp : ffff800013b0b890 x29: ffff800013b0b900 x28: ffff80000eea4000 x27: ffff0001034a0890 x26: 0000000000000000 x25: 0000000000000007 x24: 0000000000000002 x23: ffff8000088b4950 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0001034a06a8 x18: 000000000000ff4f x17: ffff80000dd84158 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000012 x12: ffff00010b758000 x11: ff808000081bbb4c x10: 0000000000000000 x9 : 448ca2cd8d224e00 x8 : 448ca2cd8d224e00 x7 : 4e5241575f534b43 x6 : ffff80000bf62f94 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000028 Call trace: __mutex_lock_common+0x504/0xf64 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+0x28/0x290 fs/hfsplus/super.c:154 write_inode fs/fs-writeback.c:1451 [inline] __writeback_single_inode+0x530/0xeb8 fs/fs-writeback.c:1663 writeback_sb_inodes+0x410/0x8bc fs/fs-writeback.c:1889 wb_writeback+0x260/0xa10 fs/fs-writeback.c:2063 wb_do_writeback fs/fs-writeback.c:2206 [inline] wb_workfn+0x200/0x85c fs/fs-writeback.c:2246 process_one_work+0x3ac/0x9d0 kernel/workqueue.c:2289 worker_thread+0x340/0x608 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 2889941 hardirqs last enabled at (2889941): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (2889941): [] _raw_spin_unlock_irqrestore+0x44/0x84 kernel/locking/spinlock.c:194 hardirqs last disabled at (2889940): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (2889940): [] _raw_spin_lock_irqsave+0x2c/0x88 kernel/locking/spinlock.c:162 softirqs last enabled at (2889810): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (2889810): [] ieee80211_ibss_work+0x170/0x9d8 net/mac80211/ibss.c:1701 softirqs last disabled at (2889808): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (2889808): [] ieee80211_ibss_work+0x68/0x9d8 net/mac80211/ibss.c:1690 ---[ end trace 0000000000000000 ]---