RBP: 00007f6584a030a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f6583d45fa0 R15: 00007ffe2a3fbe58 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 UID: 0 PID: 6627 Comm: syz.0.16 Not tainted 6.13.0-rc3-syzkaller-00063-g8eef6ac4d70e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:do_perf_trace_cgroup_rstat include/trace/events/cgroup.h:207 [inline] RIP: 0010:perf_trace_cgroup_rstat+0x2b2/0x580 include/trace/events/cgroup.h:207 Code: 8d 98 58 04 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 3c 7a 70 00 48 8b 1b 48 83 c3 0c 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 d5 01 00 00 44 8b 2b 49 8d 5f 08 48 89 RSP: 0018:ffffc900035cfa80 EFLAGS: 00010003 RAX: 0000000000000001 RBX: 000000000000000c RCX: ffff8880323fda00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880b8637768 RBP: ffffc900035cfb70 R08: ffffffff81a9106b R09: 1ffffffff2032f4e R10: dffffc0000000000 R11: fffffbfff2032f4f R12: ffff8880b86376e0 R13: 1ffff920006b9f5c R14: dffffc0000000000 R15: ffffe8ffffc38000 FS: 00007f6584a036c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9846eb15e8 CR3: 0000000021ab4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_cgroup_rstat_locked include/trace/events/cgroup.h:242 [inline] __cgroup_rstat_lock+0x3e1/0x590 kernel/cgroup/rstat.c:292 cgroup_rstat_flush+0x30/0x50 kernel/cgroup/rstat.c:353 cgroup_rstat_exit+0x27/0x1e0 kernel/cgroup/rstat.c:411 cgroup_create kernel/cgroup/cgroup.c:5782 [inline] cgroup_mkdir+0x53a/0xd60 kernel/cgroup/cgroup.c:5831 kernfs_iop_mkdir+0x253/0x3f0 fs/kernfs/dir.c:1246 vfs_mkdir+0x2f9/0x4f0 fs/namei.c:4311 do_mkdirat+0x264/0x3a0 fs/namei.c:4334 __do_sys_mkdir fs/namei.c:4354 [inline] __se_sys_mkdir fs/namei.c:4352 [inline] __x64_sys_mkdir+0x6c/0x80 fs/namei.c:4352 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6583b7ff19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6584a03058 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f6583d45fa0 RCX: 00007f6583b7ff19 RDX: 0000000000000000 RSI: d0939199c36b4d28 RDI: 0000000020000000 RBP: 00007f6584a030a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f6583d45fa0 R15: 00007ffe2a3fbe58 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:do_perf_trace_cgroup_rstat include/trace/events/cgroup.h:207 [inline] RIP: 0010:perf_trace_cgroup_rstat+0x2b2/0x580 include/trace/events/cgroup.h:207 Code: 8d 98 58 04 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 3c 7a 70 00 48 8b 1b 48 83 c3 0c 48 89 d8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 d5 01 00 00 44 8b 2b 49 8d 5f 08 48 89 RSP: 0018:ffffc900035cfa80 EFLAGS: 00010003 RAX: 0000000000000001 RBX: 000000000000000c RCX: ffff8880323fda00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880b8637768 RBP: ffffc900035cfb70 R08: ffffffff81a9106b R09: 1ffffffff2032f4e R10: dffffc0000000000 R11: fffffbfff2032f4f R12: ffff8880b86376e0 R13: 1ffff920006b9f5c R14: dffffc0000000000 R15: ffffe8ffffc38000 FS: 00007f6584a036c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9846eb15e8 CR3: 0000000021ab4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8d 98 58 04 00 00 lea 0x458(%rax),%ebx 6: 48 89 d8 mov %rbx,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) 12: 74 08 je 0x1c 14: 48 89 df mov %rbx,%rdi 17: e8 3c 7a 70 00 call 0x707a58 1c: 48 8b 1b mov (%rbx),%rbx 1f: 48 83 c3 0c add $0xc,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 d5 01 00 00 jne 0x20c 37: 44 8b 2b mov (%rbx),%r13d 3a: 49 8d 5f 08 lea 0x8(%r15),%rbx 3e: 48 rex.W 3f: 89 .byte 0x89