summary refs log tree commit diff stats
path: root/results/classifier/011/semantic/gitlab_semantic_bzhi
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-06 09:15:28 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-06-06 09:15:28 +0000
commitd0af66c2d76056b173294fc81cdfc47305e4e2a7 (patch)
tree04414c325574a99bc3cd3f1f354786f1b24f06de /results/classifier/011/semantic/gitlab_semantic_bzhi
parent140a79ffee69434ba0fbfde4cefb9fe5e82d93b4 (diff)
downloadqemu-analysis-d0af66c2d76056b173294fc81cdfc47305e4e2a7.tar.gz
qemu-analysis-d0af66c2d76056b173294fc81cdfc47305e4e2a7.zip
add new results
Diffstat (limited to 'results/classifier/011/semantic/gitlab_semantic_bzhi')
-rw-r--r--results/classifier/011/semantic/gitlab_semantic_bzhi67
1 files changed, 67 insertions, 0 deletions
diff --git a/results/classifier/011/semantic/gitlab_semantic_bzhi b/results/classifier/011/semantic/gitlab_semantic_bzhi
new file mode 100644
index 000000000..24419a0f4
--- /dev/null
+++ b/results/classifier/011/semantic/gitlab_semantic_bzhi
@@ -0,0 +1,67 @@
+semantic: 0.534
+device: 0.090
+graphic: 0.089
+debug: 0.048
+other: 0.042
+vnc: 0.033
+permissions: 0.026
+performance: 0.026
+boot: 0.023
+PID: 0.021
+socket: 0.020
+network: 0.020
+files: 0.020
+KVM: 0.009
+semantic: 0.852
+debug: 0.057
+other: 0.017
+files: 0.014
+performance: 0.013
+PID: 0.008
+device: 0.008
+network: 0.005
+KVM: 0.005
+socket: 0.005
+permissions: 0.005
+boot: 0.004
+graphic: 0.004
+vnc: 0.003
+
+x86 BZHI semantic bug
+Description of problem
+The result of instruction BZHI is different from the CPU. The value of destination register and SF of EFLAGS are different.
+
+Steps to reproduce
+
+Compile this code
+
+
+void main() {
+    asm("mov rax, 0xb1aa9da2fe33fe3");
+    asm("mov rbx, 0x80000000ffffffff");
+    asm("mov rcx, 0xf3fce8829b99a5c6");
+    asm("bzhi rax, rbx, rcx");
+}
+
+
+
+Execute and compare the result with the CPU.
+
+CPU
+
+RAX = 0x0x80000000ffffffff
+SF = 1
+
+
+QEMU
+
+RAX = 0xffffffff
+SF = 0
+
+
+
+
+
+
+Additional information
+This bug is discovered by research conducted by KAIST SoftSec.