Opened 16 years ago
Closed 16 years ago
#2617 closed defect (fixed)
int 1 in ring-3 in guest OS crashes VirtualBox on host -> fixed in SVN
Reported by: | Pieter de Boer | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 2.0.4 |
Keywords: | DoS crash | Cc: | |
Guest type: | Windows | Host type: | Linux |
Description
Using the int 1 instruction \xf1 crashes virtual box.
Example code: int main () {
unsigned char buf = '\xf1'; void (*f)() = (void (*)(void))&buf; f();
}
Using the 'normal' way of calling an interrupt, '\xcd\x01' does not result in a crash.
Attachments (2)
Change History (8)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Sorry, friday-afternoon brain lag..
VirtualBox itself does not crash, only the guest OS gets into a 'stuck' state and a VB pop-up gives the option to debug the guest OS or stop it.
by , 16 years ago
comment:4 by , 16 years ago
It still crashes 2.0.6. I've attached the Windows executable I'm using.
The problem only seems to exist when 'VT-x/AMD-V' is turned on for this VM. The host system has a Core2Duo (T8300) processor.
comment:5 by , 16 years ago
Summary: | int 1 in ring-3 in guest OS crashes VirtualBox on host → int 1 in ring-3 in guest OS crashes VirtualBox on host -> fixed in SVN |
---|
The problem is no longer present in the current source tree. I was able to reproduce it with 2.0.6 too.
Please attach your VBox.log.