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: 0 UID: 0 PID: 11922 Comm: syz.2.2585 Not tainted 6.13.0-rc3-syzkaller-gf44d154d6e3d-dirty #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 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:ffffc9000da1fb58 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801eba3c00 RSI: ffffffff815906c9 RDI: ffff88801eba53e0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1003d748b8 R10: ffff88801eba45c3 R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 1ffff11004d6a6a4 R15: ffff888026b53500 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f82322a56c0 CR3: 000000000db7e000 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 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:0x7f17db385d19 Code: Unable to access opcode bytes at 0x7f17db385cef. RSP: 002b:00007f17dc1140e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f17db575fa8 RCX: 00007f17db385d19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f17db575fa8 RBP: 00007f17db575fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17db575fac R13: 0000000000000000 R14: 00007fff23e10190 R15: 00007fff23e10278 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 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:ffffc9000da1fb58 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801eba3c00 RSI: ffffffff815906c9 RDI: ffff88801eba53e0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1003d748b8 R10: ffff88801eba45c3 R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 1ffff11004d6a6a4 R15: ffff888026b53500 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30c5ffff CR3: 000000003489a000 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 48 40 00 call 0x404832 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