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: 16267 Comm: syz.4.2346 Not tainted 6.13.0-rc2-syzkaller-00292-ga446e965a188 #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:ffffc9000c177b88 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88802f510000 RSI: ffffffff815906c9 RDI: ffff88802f5117e0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005ea2138 R10: ffff88802f5109c3 R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 1ffff11004c1f194 R15: ffff8880260f8c80 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9ab634c560 CR3: 000000007e3d8000 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] irqentry_exit_to_user_mode+0x13f/0x280 kernel/entry/common.c:231 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x401000 Code: Unable to access opcode bytes at 0x400fd6. RSP: 002b:000000000000000b EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00007fbdb6376080 RCX: 00007fbdb6185d19 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000001 RBP: 00007fbdb6201a20 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbdb6376080 R15: 00007ffd688180c8 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:ffffc9000c177b88 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88802f510000 RSI: ffffffff815906c9 RDI: ffff88802f5117e0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005ea2138 R10: ffff88802f5109c3 R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 1ffff11004c1f194 R15: ffff8880260f8c80 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fe09ff8 CR3: 000000002fe1a000 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