diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-26 11:32:28 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-26 11:32:36 +0200 |
| commit | adedf8771bc4de3113041ca21bd4d0d1c0014b6a (patch) | |
| tree | 1e8e456a6e4247061767e0d42740a62102ae1550 /results/classifier/semantic-bugs-usermode/test/1376 | |
| parent | ba2789bd7d81618a42dc7f69706a7acfa591630a (diff) | |
| download | qemu-analysis-adedf8771bc4de3113041ca21bd4d0d1c0014b6a.tar.gz qemu-analysis-adedf8771bc4de3113041ca21bd4d0d1c0014b6a.zip | |
filter for semantic-user-mode bugs
Diffstat (limited to 'results/classifier/semantic-bugs-usermode/test/1376')
| -rw-r--r-- | results/classifier/semantic-bugs-usermode/test/1376 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/results/classifier/semantic-bugs-usermode/test/1376 b/results/classifier/semantic-bugs-usermode/test/1376 new file mode 100644 index 000000000..3f75ca7c9 --- /dev/null +++ b/results/classifier/semantic-bugs-usermode/test/1376 @@ -0,0 +1,28 @@ +instruction: 0.954 +assembly: 0.897 +device: 0.854 +graphic: 0.701 +vnc: 0.674 +socket: 0.609 +network: 0.505 +boot: 0.489 +semantic: 0.444 +KVM: 0.243 +other: 0.223 +mistranslation: 0.191 + +x86 LSL and LAR fault +Description of problem: +From the description of LSL and LAR instructions in manual, `If the segment descriptor cannot be accessed or is an invalid type for the instruction, the ZF flag is cleared and no value is loaded in the destination operand.`. When it happens at the CPU, it seems they do nothing (nop). However, in QEMU, it crashes. +Steps to reproduce: +1. Compile this code +``` +void main() { + asm("mov rax, 0xa02e698e741f5a6a"); + asm("mov rbx, 0x20959ddd7a0aef"); + asm("lsl ax, bx"); +} +``` +2. Execute. QEMU crashes but CPU does not. This problem happens with LAR, too. +Additional information: +This bug is discovered by research conducted by KAIST SoftSec. |