general protection fault, probably for non-canonical address 0xdffffc0000000012: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000090-0x0000000000000097] CPU: 0 PID: 17010 Comm: syz-executor.2 Not tainted 6.0.0-syzkaller-06205-gffb39098bf87 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:kernfs_ino include/linux/kernfs.h:358 [inline] RIP: 0010:kernfs_get_inode+0x2e/0x520 fs/kernfs/inode.c:254 Code: 41 56 41 55 41 54 49 89 fc 53 48 89 f3 e8 1a 04 7e ff 48 8d bb 90 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 3a 04 00 00 48 8b b3 90 00 00 00 4c 89 e7 e8 79 RSP: 0018:ffffc9001557fa10 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000728a000 RDX: 0000000000000012 RSI: ffffffff81fd1196 RDI: 0000000000000090 RBP: ffffc9001557fa30 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888021980000 R13: ffff888021146800 R14: ffff888044920000 R15: ffff8880590b6000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0063) knlGS:00000000f7f02b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020000200 CR3: 00000000790e1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cgroup_may_write+0x86/0x120 kernel/cgroup/cgroup.c:4937 cgroup_css_set_fork kernel/cgroup/cgroup.c:6237 [inline] cgroup_can_fork+0x961/0xec0 kernel/cgroup/cgroup.c:6331 copy_process+0x43ed/0x7090 kernel/fork.c:2358 kernel_clone+0xe7/0xab0 kernel/fork.c:2671 __do_sys_clone3+0x1cd/0x2e0 kernel/fork.c:2963 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f07549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7f0249c EFLAGS: 00000286 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00000000f7f024d0 RCX: 0000000000000058 RDX: 0000000000000000 RSI: 0000000004001000 RDI: 0000000000000002 RBP: 0000000020000200 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:kernfs_ino include/linux/kernfs.h:358 [inline] RIP: 0010:kernfs_get_inode+0x2e/0x520 fs/kernfs/inode.c:254 Code: 41 56 41 55 41 54 49 89 fc 53 48 89 f3 e8 1a 04 7e ff 48 8d bb 90 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 3a 04 00 00 48 8b b3 90 00 00 00 4c 89 e7 e8 79 RSP: 0018:ffffc9001557fa10 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000728a000 RDX: 0000000000000012 RSI: ffffffff81fd1196 RDI: 0000000000000090 RBP: ffffc9001557fa30 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888021980000 R13: ffff888021146800 R14: ffff888044920000 R15: ffff8880590b6000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0063) knlGS:00000000f7f02b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f6f7afbc CR3: 00000000790e1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 41 56 push %r14 2: 41 55 push %r13 4: 41 54 push %r12 6: 49 89 fc mov %rdi,%r12 9: 53 push %rbx a: 48 89 f3 mov %rsi,%rbx d: e8 1a 04 7e ff callq 0xff7e042c 12: 48 8d bb 90 00 00 00 lea 0x90(%rbx),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 3a 04 00 00 jne 0x46e 34: 48 8b b3 90 00 00 00 mov 0x90(%rbx),%rsi 3b: 4c 89 e7 mov %r12,%rdi 3e: e8 .byte 0xe8 3f: 79 .byte 0x79