!!!! css_release enqueue(ffff888115956800) list_add corruption. prev->next should be next (ffff8881f735c060), but was ffff888115956870. (prev=ffff888115956870). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 372 Comm: kworker/1:2 Tainted: G W 5.10.110-syzkaller-00174-gcacce4479cc9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: cgroup_destroy css_release_work_fn RIP: 0010:__list_add_valid+0xc6/0xd0 lib/list_debug.c:26 Code: 48 c7 c7 80 e1 43 85 4c 89 e6 4c 89 f1 31 c0 e8 8d 10 40 02 0f 0b 48 c7 c7 40 e2 43 85 4c 89 f6 4c 89 e1 31 c0 e8 77 10 40 02 <0f> 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 54 53 49 RSP: 0018:ffffc90000160a00 EFLAGS: 00010046 RAX: 0000000000000075 RBX: ffff8881f735c068 RCX: 483bfcc27e200c00 RDX: 0000000000000102 RSI: 0000000000000102 RDI: 0000000000000000 RBP: ffffc90000160a28 R08: ffffffff8153b2f8 R09: ffffed103ee64e83 R10: ffffed103ee64e83 R11: 1ffff1103ee64e82 R12: ffff888115956870 R13: dffffc0000000000 R14: ffff8881f735c060 R15: ffff888115956870 FS: 0000000000000000(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff6cf6c8718 CR3: 00000001196f5000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add include/linux/list.h:67 [inline] list_add_tail include/linux/list.h:100 [inline] insert_work+0x107/0x330 kernel/workqueue.c:1352 __queue_work+0x971/0xd30 kernel/workqueue.c:1514 queue_work_on+0xf2/0x150 kernel/workqueue.c:1541 queue_work include/linux/workqueue.h:513 [inline] css_release+0xc0/0xd0 kernel/cgroup/cgroup.c:5159 percpu_ref_put_many include/linux/percpu-refcount.h:322 [inline] percpu_ref_put include/linux/percpu-refcount.h:338 [inline] percpu_ref_call_confirm_rcu lib/percpu-refcount.c:162 [inline] percpu_ref_switch_to_atomic_rcu+0x5a2/0x5b0 lib/percpu-refcount.c:199 rcu_do_batch+0x4f8/0xbc0 kernel/rcu/tree.c:2485 rcu_core+0x59b/0xe30 kernel/rcu/tree.c:2722 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2735 __do_softirq+0x27e/0x596 kernel/softirq.c:305 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:402 [inline] __irq_exit_rcu+0x128/0x150 kernel/softirq.c:432 irq_exit_rcu+0x9/0x10 kernel/softirq.c:444 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:native_restore_fl arch/x86/include/asm/irqflags.h:41 [inline] RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:84 [inline] RIP: 0010:console_unlock+0xeea/0xf20 kernel/printk/printk.c:2551 Code: 19 00 eb 85 e8 e7 07 19 00 c6 05 d0 cb 31 05 00 e8 bb 6a 00 00 48 8b 44 24 30 48 89 84 24 98 00 00 00 ff b4 24 98 00 00 00 9d 5a ff ff ff e8 bc 07 19 00 e9 d5 fe ff ff 89 f9 80 e1 07 80 c1 RSP: 0018:ffffc90000b477e0 EFLAGS: 00000246 RAX: 0000000000000246 RBX: 0000000000000001 RCX: ffff888107784f00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc90000b47a70 R08: ffffffff8153ae3b R09: 0000000000000003 R10: fffff52000168eed R11: 1ffff92000168eec R12: ffffc90000b479e0 R13: 1ffffffff0c3adf1 R14: ffffc90000b47940 R15: dffffc0000000000 vprintk_emit+0x44b/0x640 kernel/printk/printk.c:2063 vprintk_default+0x26/0x30 kernel/printk/printk.c:2080 vprintk_func+0x19d/0x1e0 kernel/printk/printk_safe.c:401 printk+0xcf/0x10f kernel/printk/printk.c:2111 css_release_work_fn+0x432/0x650 kernel/cgroup/cgroup.c:5147 process_one_work+0x726/0xc10 kernel/workqueue.c:2296 worker_thread+0xb27/0x1550 kernel/workqueue.c:2442 kthread+0x349/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Modules linked in: ---[ end trace ade9ed68a2334729 ]--- RIP: 0010:__list_add_valid+0xc6/0xd0 lib/list_debug.c:26 Code: 48 c7 c7 80 e1 43 85 4c 89 e6 4c 89 f1 31 c0 e8 8d 10 40 02 0f 0b 48 c7 c7 40 e2 43 85 4c 89 f6 4c 89 e1 31 c0 e8 77 10 40 02 <0f> 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 54 53 49 RSP: 0018:ffffc90000160a00 EFLAGS: 00010046 RAX: 0000000000000075 RBX: ffff8881f735c068 RCX: 483bfcc27e200c00 RDX: 0000000000000102 RSI: 0000000000000102 RDI: 0000000000000000 RBP: ffffc90000160a28 R08: ffffffff8153b2f8 R09: ffffed103ee64e83 R10: ffffed103ee64e83 R11: 1ffff1103ee64e82 R12: ffff888115956870 R13: dffffc0000000000 R14: ffff8881f735c060 R15: ffff888115956870 FS: 0000000000000000(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff6cf6c8718 CR3: 00000001196f5000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 19 00 sbb %eax,(%rax) 2: eb 85 jmp 0xffffff89 4: e8 e7 07 19 00 callq 0x1907f0 9: c6 05 d0 cb 31 05 00 movb $0x0,0x531cbd0(%rip) # 0x531cbe0 10: e8 bb 6a 00 00 callq 0x6ad0 15: 48 8b 44 24 30 mov 0x30(%rsp),%rax 1a: 48 89 84 24 98 00 00 mov %rax,0x98(%rsp) 21: 00 22: ff b4 24 98 00 00 00 pushq 0x98(%rsp) 29: 9d popfq * 2a: e9 5a ff ff ff jmpq 0xffffff89 <-- trapping instruction 2f: e8 bc 07 19 00 callq 0x1907f0 34: e9 d5 fe ff ff jmpq 0xffffff0e 39: 89 f9 mov %edi,%ecx 3b: 80 e1 07 and $0x7,%cl 3e: 80 .byte 0x80 3f: c1 .byte 0xc1