Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 UID: 0 PID: 6295 Comm: syz.0.323 Not tainted 6.13.0-rc2-syzkaller-00362-g2d8308bf5b67 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:account_kernel_stack+0xe6/0x2e0 kernel/fork.c:546 Code: fb 08 0f 84 a1 01 00 00 e8 27 37 40 00 48 8b 44 24 08 80 38 00 0f 85 bf 01 00 00 49 8b 47 20 48 8d 2c d8 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 be 01 00 00 48 8b 6d 00 48 8d 7d 08 48 89 f8 RSP: 0018:ffffc900059a7d78 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888026125a00 RSI: ffffffff815906c9 RDI: ffff8880261271e0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1004c24c78 R10: ffff8880261263c3 R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 1ffff1102867b164 R15: ffff8881433d8b00 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555acfc808 CR3: 000000003431c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: exit_task_stack_account+0x23/0xf0 kernel/fork.c:559 do_exit+0x1c8a/0x2d70 kernel/exit.c:979 do_group_exit+0xd3/0x2a0 kernel/exit.c:1087 __do_sys_exit_group kernel/exit.c:1098 [inline] __se_sys_exit_group kernel/exit.c:1096 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1096 x64_sys_call+0x151f/0x1720 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f23b2b85d19 Code: Unable to access opcode bytes at 0x7f23b2b85cef. RSP: 002b:00007fffcc03a528 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f23b2b85d19 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fffcc03a57c R08: 00007fffcc03a60f R09: 000000000004774c R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000032 R13: 000000000004774c R14: 00007fffcc03a5d0 R15: 00007fffcc03a5d0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:account_kernel_stack+0xe6/0x2e0 kernel/fork.c:546 Code: fb 08 0f 84 a1 01 00 00 e8 27 37 40 00 48 8b 44 24 08 80 38 00 0f 85 bf 01 00 00 49 8b 47 20 48 8d 2c d8 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 be 01 00 00 48 8b 6d 00 48 8d 7d 08 48 89 f8 RSP: 0018:ffffc900059a7d78 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888026125a00 RSI: ffffffff815906c9 RDI: ffff8880261271e0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1004c24c78 R10: ffff8880261263c3 R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 1ffff1102867b164 R15: ffff8881433d8b00 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f23b38a56c0 CR3: 0000000078f5a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 0f 84 a1 01 00 00 je 0x1a7 6: e8 27 37 40 00 call 0x403732 b: 48 8b 44 24 08 mov 0x8(%rsp),%rax 10: 80 38 00 cmpb $0x0,(%rax) 13: 0f 85 bf 01 00 00 jne 0x1d8 19: 49 8b 47 20 mov 0x20(%r15),%rax 1d: 48 8d 2c d8 lea (%rax,%rbx,8),%rbp 21: 48 89 e8 mov %rbp,%rax 24: 48 c1 e8 03 shr $0x3,%rax * 28: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2d: 0f 85 be 01 00 00 jne 0x1f1 33: 48 8b 6d 00 mov 0x0(%rbp),%rbp 37: 48 8d 7d 08 lea 0x8(%rbp),%rdi 3b: 48 89 f8 mov %rdi,%rax