============================= [ BUG: Invalid wait context ] 6.12.0-rc3-syzkaller-00183-g6efbea77b390 #0 Not tainted ----------------------------- kworker/u8:20/5665 is trying to lock: ffff8880b863ea98 (&fs_info->commit_root_sem){++++}-{3:3}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:601 other info that might help us debug this: context-{4:4} 2 locks held by kworker/u8:20/5665: #0: ffff88801ac98018 (&pool->lock){-.-.}-{2:2}, at: worker_thread+0xa38/0xd30 kernel/workqueue.c:3344 #1: ffff888026eec618 (&p->pi_lock){-.-.}-{2:2}, at: class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:551 [inline] #1: ffff888026eec618 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xbe/0x14b0 kernel/sched/core.c:4160 stack backtrace: CPU: 0 UID: 0 PID: 5665 Comm: kworker/u8:20 Not tainted 6.12.0-rc3-syzkaller-00183-g6efbea77b390 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_lock_invalid_wait_context kernel/locking/lockdep.c:4802 [inline] check_wait_context kernel/locking/lockdep.c:4874 [inline] __lock_acquire+0x154a/0x2050 kernel/locking/lockdep.c:5152 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:601 raw_spin_rq_lock kernel/sched/sched.h:1505 [inline] rq_lock kernel/sched/sched.h:1804 [inline] ttwu_queue kernel/sched/core.c:3946 [inline] try_to_wake_up+0x81e/0x14b0 kernel/sched/core.c:4276 kick_pool+0x45c/0x620 kernel/workqueue.c:1279 process_one_work kernel/workqueue.c:3187 [inline] process_scheduled_works+0x756/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244