security-research icon indicating copy to clipboard operation
security-research copied to clipboard

Unable to Test the "kvm_vma" | Linux: KVM VM_IO|VM_PFNMAP vma mishandling;-CVE-2021-22543

Open Github-By-G opened this issue 1 year ago • 2 comments

Since there's no direct context or Readme.md about the repo testing environment;

Based on the limited information on git and the internet findings;

I set my testing environment to;

host machine( ubuntu20 with kernel 5.8.0-41-generic) >> Installed VMM >> created Centos 8.58

The 5.8.041-generic was found from https://github.com/google/security-research/blob/master/pocs/linux/kvm_vma/kernel_code.asm

Why centOS 8.5 is found on https://cve.tuxcare.com/els/cve/CVE-2021-22543

image

kernel version:

image

how ever getting error: attempt to define a local label before any non-local labels

image


Don't understand where am wrong!!! especially about my testing environment

Github-By-G avatar Apr 20 '24 05:04 Github-By-G

@fluxchief

sirdarckcat avatar Feb 06 '25 05:02 sirdarckcat

Maybe your nasm version is out of date?

root@1d4f316ade80:/tmp# nasm guest_code.asm -o guest_code
root@1d4f316ade80:/tmp# nasm -v
NASM version 2.16.01

fluxchief avatar Feb 07 '25 16:02 fluxchief