Opened 7 years ago
Closed 6 years ago
#13930 closed bug (fixed)
vm_page_fault: unhandled page fault in kernel space when executing "iret"
Reported by: | i80and | Owned by: | mmlr |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
While fuzzing Haiku hrev51728 x86-64, I found that the iret
instruction sometimes triggers a kernel panic:
echo 'int main(void) { asm("iret;"); }' > panic.c gcc panic.c -o panic while true; do ./panic; done
Within a few executions, I get kicked into the KDL:
PANIC: vm_page_fault: unhandled page fault in kernel space at 0x200, ip 0x48694000
I observe this both in VirtualBox as well as on an actual x86-64 machine.
Attachments (2)
Change History (6)
by , 7 years ago
Attachment: | Screen Shot 2018-01-02 at 11.13.20 AM.png added |
---|
by , 7 years ago
comment:1 by , 7 years ago
Component: | System → System/Kernel |
---|
comment:2 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → in-progress |
I have investigated this and found the reason for the panic as well as a possible fix. But I don't yet fully understand why exactly it happens and need to investigate some more to be sure that the fix is proper.
Note:
See TracTickets
for help on using tickets.
Backtrace