------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(!irqs_disabled()) WARNING: CPU: 1 PID: 10 at kernel/locking/lockdep.c:150 lockdep_unlock+0x1e6/0x300 kernel/locking/lockdep.c:150 Modules linked in: CPU: 1 PID: 10 Comm: kworker/u8:0 Not tainted 6.8.0-syzkaller-05236-g443574b03387 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:lockdep_unlock+0x1e6/0x300 kernel/locking/lockdep.c:150 Code: 0f b6 04 30 84 c0 0f 85 e4 00 00 00 83 3d 61 90 15 0e 00 75 19 90 48 c7 c7 c0 c0 aa 8b 48 c7 c6 00 c1 aa 8b e8 2b 78 e6 ff 90 <0f> 0b 90 90 90 e9 d2 fe ff ff 90 e8 8a a5 2f 03 85 c0 74 3a 48 c7 RSP: 0018:ffffc900000f6bc0 EFLAGS: 00010246 RAX: 493510d8662e3600 RBX: 1ffff9200001ed7c RCX: ffff888016ea9e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900000f6c50 R08: ffffffff8157cc12 R09: 1ffff110172a51a2 R10: dffffc0000000000 R11: ffffed10172a51a3 R12: 1ffff9200001ed78 R13: ffff888016eaaa38 R14: dffffc0000000000 R15: ffffc900000f6be0 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056386399e7f0 CR3: 000000000df32000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: graph_unlock kernel/locking/lockdep.c:186 [inline] validate_chain+0x15a2/0x58e0 kernel/locking/lockdep.c:3873 __lock_acquire+0x1346/0x1fd0 kernel/locking/lockdep.c:5137 lock_acquire+0x1e4/0x530 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 remove_entity_load_avg kernel/sched/fair.c:4801 [inline] migrate_task_rq_fair+0xbf/0x7a0 kernel/sched/fair.c:8224 set_task_cpu+0xe4/0x5b0 kernel/sched/core.c:3394 try_to_wake_up+0x75b/0x1470 kernel/sched/core.c:4372 swake_up_locked kernel/sched/swait.c:29 [inline] swake_up_one+0x70/0x160 kernel/sched/swait.c:52 rcu_report_exp_rdp kernel/rcu/tree_exp.h:260 [inline] rcu_preempt_deferred_qs_irqrestore+0x22e/0xc70 kernel/rcu/tree_plugin.h:506 rcu_read_unlock_special+0x470/0x550 kernel/rcu/tree_plugin.h:681 __rcu_read_unlock+0xa1/0x110 kernel/rcu/tree_plugin.h:426 rcu_read_unlock include/linux/rcupdate.h:782 [inline] pte_unmap include/linux/pgtable.h:113 [inline] __text_poke+0xaf1/0xd30 arch/x86/kernel/alternative.c:1961 text_poke arch/x86/kernel/alternative.c:1985 [inline] text_poke_bp_batch+0x59c/0xb30 arch/x86/kernel/alternative.c:2318 text_poke_flush arch/x86/kernel/alternative.c:2487 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2494 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa00/0x1770 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243