------------[ cut here ]------------ workqueue: WQ_MEM_RECLAIM dio/loop0:dio_aio_complete_work is flushing !WQ_MEM_RECLAIM events_long:flush_mdb WARNING: CPU: 0 PID: 1797 at kernel/workqueue.c:3721 check_flush_dependency+0x290/0x344 kernel/workqueue.c:3717 Modules linked in: CPU: 0 UID: 0 PID: 1797 Comm: kworker/0:2 Not tainted 6.15.0-rc2-syzkaller-gc72692105976 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: dio/loop0 dio_aio_complete_work pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : check_flush_dependency+0x290/0x344 kernel/workqueue.c:3717 lr : check_flush_dependency+0x290/0x344 kernel/workqueue.c:3717 sp : ffff80009f9376d0 x29: ffff80009f9376d0 x28: 0000000000000000 x27: 1fffe0001b9b6c2b x26: 0000000000000000 x25: ffff80009340b000 x24: ffff0000c8d1a400 x23: dfff800000000000 x22: ffff0000c8a6dc18 x21: ffff80008133b0d4 x20: ffff0000c8d1a578 x19: ffff0000c0029400 x18: 0000000000000008 x17: 00000000fffffffa x16: ffff80008333712c x15: 0000000000000001 x14: 1fffe000366ddf22 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000003 x10: 0000000000ff0100 x9 : 7ac4ea271b3f6c00 x8 : 7ac4ea271b3f6c00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009f936e58 x4 : ffff8000900254e0 x3 : ffff800080751da0 x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000000 Call trace: check_flush_dependency+0x290/0x344 kernel/workqueue.c:3717 (P) start_flush_work kernel/workqueue.c:4171 [inline] __flush_work+0x220/0x958 kernel/workqueue.c:4208 flush_work kernel/workqueue.c:4265 [inline] flush_delayed_work+0xcc/0xf8 kernel/workqueue.c:4287 hfs_file_fsync+0xec/0x148 fs/hfs/inode.c:680 vfs_fsync_range+0x160/0x19c fs/sync.c:187 generic_write_sync include/linux/fs.h:2976 [inline] dio_complete+0x510/0x6bc fs/direct-io.c:313 dio_aio_complete_work+0x28/0x38 fs/direct-io.c:325 process_one_work+0x810/0x1638 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x97c/0xf08 kernel/workqueue.c:3400 kthread+0x674/0x7dc kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 irq event stamp: 203694 hardirqs last enabled at (203693): [] flush_delayed_work+0xac/0xf8 kernel/workqueue.c:4286 hardirqs last disabled at (203694): [] __raw_spin_lock_irq include/linux/spinlock_api_smp.h:117 [inline] hardirqs last disabled at (203694): [] _raw_spin_lock_irq+0x28/0x70 kernel/locking/spinlock.c:170 softirqs last enabled at (203680): [] local_bh_enable+0xc/0x2c include/linux/bottom_half.h:32 softirqs last disabled at (203676): [] local_bh_disable+0xc/0x2c include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---