diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:19:28 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:19:28 +0200 |
| commit | 05ed9b00104b3da2e9cb0d541b5c5bbceb027fde (patch) | |
| tree | d47bd9721b78db6131d56780e7230cf69412eaa6 /classification/semantic_issues/gitlab_semantic_blsmsk | |
| parent | cddf7dfa5a6e92a9057e7f6afae5d9b970585e6f (diff) | |
| download | qemu-analysis-05ed9b00104b3da2e9cb0d541b5c5bbceb027fde.tar.gz qemu-analysis-05ed9b00104b3da2e9cb0d541b5c5bbceb027fde.zip | |
adjust classifier
Diffstat (limited to 'classification/semantic_issues/gitlab_semantic_blsmsk')
| -rw-r--r-- | classification/semantic_issues/gitlab_semantic_blsmsk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/classification/semantic_issues/gitlab_semantic_blsmsk b/classification/semantic_issues/gitlab_semantic_blsmsk new file mode 100644 index 000000000..b950faa21 --- /dev/null +++ b/classification/semantic_issues/gitlab_semantic_blsmsk @@ -0,0 +1,27 @@ +x86 BLSMSK semantic bug +Description of problem +The result of instruction BLSMSK is different with from the CPU. The value of CF is different. + +Steps to reproduce + +Compile this code + +void main() { + asm("mov rax, 0x65b2e276ad27c67"); + asm("mov rbx, 0x62f34955226b2b5d"); + asm("blsmsk eax, ebx"); +} + +Execute and compare the result with the CPU. + +CPU + +CF = 0 + + +QEMU + +CF = 1 + +Additional information +This bug is discovered by research conducted by KAIST SoftSec. |