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: 7962 Comm: syz.2.650 Not tainted 6.13.0-rc4-syzkaller-g9b2ffa6148b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:account_kernel_stack+0xe6/0x2e0 kernel/fork.c:546 Code: fb 08 0f 84 a1 01 00 00 e8 87 48 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:ffffc90002f17b58 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88802cb41e00 RSI: ffffffff815906c9 RDI: ffff88802cb435e0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed10059684f8 R10: ffff88802cb427c3 R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 1ffff11004d44944 R15: ffff888026a24a00 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f88ac377bac CR3: 000000003249c000 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+0x1c85/0x2d70 kernel/exit.c:979 do_group_exit+0xd3/0x2a0 kernel/exit.c:1087 get_signal+0x2576/0x2610 kernel/signal.c:3017 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1a41985d19 Code: Unable to access opcode bytes at 0x7f1a41985cef. RSP: 002b:00007f1a426dc0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f1a41b75fa8 RCX: 00007f1a41985d19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f1a41b75fa8 RBP: 00007f1a41b75fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1a41b75fac R13: 0000000000000000 R14: 00007ffd0d6df050 R15: 00007ffd0d6df138 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 87 48 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:ffffc90002f17b58 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88802cb41e00 RSI: ffffffff815906c9 RDI: ffff88802cb435e0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed10059684f8 R10: ffff88802cb427c3 R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 1ffff11004d44944 R15: ffff888026a24a00 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555583c2c588 CR3: 0000000033c8a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: fb sti 1: 08 0f or %cl,(%rdi) 3: 84 a1 01 00 00 e8 test %ah,-0x17ffffff(%rcx) 9: 87 48 40 xchg %ecx,0x40(%rax) c: 00 48 8b add %cl,-0x75(%rax) f: 44 24 08 rex.R and $0x8,%al 12: 80 38 00 cmpb $0x0,(%rax) 15: 0f 85 bf 01 00 00 jne 0x1da 1b: 49 8b 47 20 mov 0x20(%r15),%rax 1f: 48 8d 2c d8 lea (%rax,%rbx,8),%rbp 23: 48 89 e8 mov %rbp,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 0f 85 be 01 00 00 jne 0x1f3 35: 48 8b 6d 00 mov 0x0(%rbp),%rbp 39: 48 8d 7d 08 lea 0x8(%rbp),%rdi 3d: 48 89 f8 mov %rdi,%rax