x86_64: panic: fix incorrect kernel stack traversal

This commit is contained in:
2026-03-18 20:54:49 +00:00
parent 88405233a8
commit c0e212ac98

View File

@@ -175,7 +175,7 @@ static bool read_stack_frame(
struct stack_frame *out)
{
if (bp >= VM_PAGEMAP_BASE) {
*out = *(struct stack_frame *)out;
*out = *(struct stack_frame *)bp;
return true;
}