------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(!irqs_disabled()) WARNING: CPU: 0 PID: 9263 at kernel/locking/lockdep.c:150 lockdep_unlock+0x1e6/0x300 kernel/locking/lockdep.c:150 Modules linked in: CPU: 0 PID: 9263 Comm: syz-executor.4 Not tainted 6.8.0-syzkaller-05236-g443574b03387 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 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:ffffc9000758ed20 EFLAGS: 00010246 RAX: 678c95b5616d9300 RBX: 1ffff92000eb1da8 RCX: 0000000000040000 RDX: ffffc90011538000 RSI: 0000000000003280 RDI: 0000000000003281 RBP: ffffc9000758edb0 R08: ffffffff8157cc12 R09: 1ffff92000eb1cf8 R10: dffffc0000000000 R11: fffff52000eb1cf9 R12: 1ffff92000eb1da4 R13: ffff888061f44810 R14: dffffc0000000000 R15: ffffc9000758ed40 FS: 00007f7ee41156c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ee34da5dc CR3: 000000007b1d8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 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 prepare_to_wait_event+0x2b/0x400 kernel/sched/wait.c:275 synchronize_rcu_expedited+0x661/0x820 kernel/rcu/tree_exp.h:954 synchronize_rcu+0x136/0x3e0 kernel/rcu/tree.c:3611 rcu_sync_enter+0x1fa/0x350 kernel/rcu/sync.c:133 percpu_down_write+0x63/0x320 kernel/locking/percpu-rwsem.c:232 cgroup_attach_lock kernel/cgroup/cgroup.c:2415 [inline] cgroup_procs_write_start+0x1b5/0x660 kernel/cgroup/cgroup.c:2917 __cgroup1_procs_write+0xe2/0x430 kernel/cgroup/cgroup-v1.c:502 cgroup_file_write+0x2ce/0x6d0 kernel/cgroup/cgroup.c:4092 kernfs_fop_write_iter+0x3a4/0x500 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:2108 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa84/0xcb0 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f7ee347dea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7ee41150c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f7ee35abf80 RCX: 00007f7ee347dea9 RDX: 0000000000000012 RSI: 0000000020000380 RDI: 0000000000000007 RBP: 00007f7ee34ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7ee35abf80 R15: 00007ffe49397bc8