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: 1070 Comm: kworker/1:1H Not tainted 6.13.0-rc4-syzkaller-00012-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:ffffc900040b7d70 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888026fb5a00 RSI: ffffffff815906c9 RDI: ffff888026fb71e0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1004df6c78 R10: ffff888026fb63c3 R11: 0000000000000b8f R12: dffffc0000000000 R13: dffffc0000000000 R14: 1ffff11004db80f4 R15: ffff888026dc0780 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000996de000 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 kthread_exit+0x57/0x70 kernel/kthread.c:316 kthread+0x27c/0x3a0 kernel/kthread.c:391 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 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:ffffc900040b7d70 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888026fb5a00 RSI: ffffffff815906c9 RDI: ffff888026fb71e0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1004df6c78 R10: ffff888026fb63c3 R11: 0000000000000b8f R12: dffffc0000000000 R13: dffffc0000000000 R14: 1ffff11004db80f4 R15: ffff888026dc0780 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000996de000 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