general protection fault, probably for non-canonical address 0xdffffc000000006f: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000378-0x000000000000037f] CPU: 1 PID: 26802 Comm: kworker/1:6 Not tainted 5.15.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: cgroup_destroy css_release_work_fn RIP: 0010:cgroup_rstat_cpu kernel/cgroup/rstat.c:13 [inline] RIP: 0010:cgroup_rstat_cpu_pop_updated kernel/cgroup/rstat.c:106 [inline] RIP: 0010:cgroup_rstat_flush_locked+0x17f/0xdc0 kernel/cgroup/rstat.c:161 Code: 01 e8 48 85 f6 49 89 f7 48 89 44 24 08 75 08 e9 73 06 00 00 4d 89 e7 e8 cf fd 05 00 4d 8d b7 78 03 00 00 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 0f 85 87 08 00 00 49 8b 9f 78 03 00 00 48 83 3c 24 RSP: 0018:ffffc90002d2fc20 EFLAGS: 00010006 RAX: 000000000000006f RBX: ffffe8ffffc55b70 RCX: 0000000000000000 RDX: ffff888048283900 RSI: ffffffff8170e521 RDI: ffffe8ffffc55ba0 RBP: ffff8880b9c00000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff520005a5f76 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000378 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd1c5d383a4 CR3: 000000001d0cf000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cgroup_rstat_flush+0x3a/0x50 kernel/cgroup/rstat.c:203 css_release_work_fn+0x440/0x920 kernel/cgroup/cgroup.c:5120 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace a018da172d520724 ]--- RIP: 0010:cgroup_rstat_cpu kernel/cgroup/rstat.c:13 [inline] RIP: 0010:cgroup_rstat_cpu_pop_updated kernel/cgroup/rstat.c:106 [inline] RIP: 0010:cgroup_rstat_flush_locked+0x17f/0xdc0 kernel/cgroup/rstat.c:161 Code: 01 e8 48 85 f6 49 89 f7 48 89 44 24 08 75 08 e9 73 06 00 00 4d 89 e7 e8 cf fd 05 00 4d 8d b7 78 03 00 00 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 0f 85 87 08 00 00 49 8b 9f 78 03 00 00 48 83 3c 24 RSP: 0018:ffffc90002d2fc20 EFLAGS: 00010006 RAX: 000000000000006f RBX: ffffe8ffffc55b70 RCX: 0000000000000000 RDX: ffff888048283900 RSI: ffffffff8170e521 RDI: ffffe8ffffc55ba0 RBP: ffff8880b9c00000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff520005a5f76 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000378 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd1c5d383a4 CR3: 000000001d0cf000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 01 e8 add %ebp,%eax 2: 48 85 f6 test %rsi,%rsi 5: 49 89 f7 mov %rsi,%r15 8: 48 89 44 24 08 mov %rax,0x8(%rsp) d: 75 08 jne 0x17 f: e9 73 06 00 00 jmpq 0x687 14: 4d 89 e7 mov %r12,%r15 17: e8 cf fd 05 00 callq 0x5fdeb 1c: 4d 8d b7 78 03 00 00 lea 0x378(%r15),%r14 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 0f 85 87 08 00 00 jne 0x8bc 35: 49 8b 9f 78 03 00 00 mov 0x378(%r15),%rbx 3c: 48 rex.W 3d: 83 .byte 0x83 3e: 3c 24 cmp $0x24,%al