!!!! css_release enqueue(ffff88810ad06c00) list_add corruption. prev->next should be next (ffff8881f735c060), but was ffff88810ad06c70. (prev=ffff88810ad06c70). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 416 Comm: syz-executor.3 Tainted: G W 5.10.110-syzkaller-00174-gcb15f4b83ce7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_add_valid+0xc6/0xd0 lib/list_debug.c:26 Code: 48 c7 c7 00 df 43 85 4c 89 e6 4c 89 f1 31 c0 e8 8d 10 40 02 0f 0b 48 c7 c7 c0 df 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: 819961c67de77700 RDX: 0000000000000102 RSI: 0000000000000102 RDI: 0000000000000000 RBP: ffffc90000160a28 R08: ffffffff8153b2f8 R09: ffffed103ee64e83 R10: ffffed103ee64e83 R11: 1ffff1103ee64e82 R12: ffff88810ad06c70 R13: dffffc0000000000 R14: ffff8881f735c060 R15: ffff88810ad06c70 FS: 000055555565c400(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555566fcb78 CR3: 000000010d51c000 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:5153 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 f7 06 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 cc 06 19 00 e9 d5 fe ff ff 89 f9 80 e1 07 80 c1 RSP: 0018:ffffc90000f37720 EFLAGS: 00000246 RAX: 0000000000000246 RBX: 0000000000000001 RCX: ffff8881067d93c0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc90000f379b0 R08: ffffffff8153ae3b R09: 0000000000000003 R10: fffff520001e6ed5 R11: 1ffff920001e6ed4 R12: ffffc90000f37920 R13: 1ffffffff0c3adc1 R14: ffffc90000f37880 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 cgroup_sk_free+0xee/0x2c0 kernel/cgroup/cgroup.c:6617 sk_prot_free net/core/sock.c:1723 [inline] __sk_destruct+0x459/0x540 net/core/sock.c:1815 sk_destruct net/core/sock.c:1830 [inline] __sk_free+0x364/0x470 net/core/sock.c:1841 sk_free+0x51/0x90 net/core/sock.c:1852 sock_put include/net/sock.h:1802 [inline] tcp_close+0xe30/0x1150 net/ipv4/tcp.c:2661 inet_release+0x197/0x200 net/ipv4/af_inet.c:431 __sock_release net/socket.c:597 [inline] sock_close+0xdb/0x250 net/socket.c:1267 __fput+0x348/0x7c0 fs/file_table.c:281 ____fput+0x15/0x20 fs/file_table.c:314 task_work_run+0x147/0x1b0 kernel/task_work.c:154 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop+0xc8/0xe0 kernel/entry/common.c:164 exit_to_user_mode_prepare kernel/entry/common.c:191 [inline] syscall_exit_to_user_mode+0x77/0xa0 kernel/entry/common.c:266 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7ffbfafeed03 Code: c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 RSP: 002b:00007ffc00434ca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007ffc00434d30 RCX: 00007ffbfafeed03 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 00007ffc00434b40 R10: 0000000000000000 R11: 0000000000000246 R12: 000055555565db00 R13: 000055555565db5b R14: 0000000000000006 R15: 00007ffc00434d70 Modules linked in: ---[ end trace 89236a6ca612e531 ]--- RIP: 0010:__list_add_valid+0xc6/0xd0 lib/list_debug.c:26 Code: 48 c7 c7 00 df 43 85 4c 89 e6 4c 89 f1 31 c0 e8 8d 10 40 02 0f 0b 48 c7 c7 c0 df 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: 819961c67de77700 RDX: 0000000000000102 RSI: 0000000000000102 RDI: 0000000000000000 RBP: ffffc90000160a28 R08: ffffffff8153b2f8 R09: ffffed103ee64e83 R10: ffffed103ee64e83 R11: 1ffff1103ee64e82 R12: ffff88810ad06c70 R13: dffffc0000000000 R14: ffff8881f735c060 R15: ffff88810ad06c70 FS: 000055555565c400(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555566fcb78 CR3: 000000010d51c000 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 f7 06 19 00 callq 0x190700 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 cc 06 19 00 callq 0x190700 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