-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kvm-nyx-6.0: ERROR: vmx_set_fdl_addr #6
Comments
According to the output of the
However, it appears that there is no region registered for that in the So I guess, the easiest way to fix that, would be to simply get rid of the old Great work, by the way! As soon as the problem is fixed, it would be awesome if we could get a PR to merge your 6.0 changes in our repo, too :) |
cc @pa1gupta |
hey, @schumilo did you find some time to have a look at this ? Thanks ! |
With the following two patches, the old FDL code has been removed, and QEMU-Nyx now supports both FDL and dirty page ring as an in-kernel page tracker in PT mode to maintain some level of backward compatibility (before that, FDL was always required when KVM-Nyx is used). The changes are expected to be compatible with older versions that still rely on FDL, as well as with vanilla kernels, but it is probably still a good idea to perform some additional tests. I have not done any performance measurements yet, but I expect that there will be a minor difference in performance depending on the number of dirty pages. In some cases, FDL performance may be better, while in others, the dirty ring backend may perform faster. Your feedback on the patches would be highly appreciated. If everything works as expected, I guess we can soon merge the changes into the main branches. |
Hi @schumilo ! Thank you for posting the patches 😃 ! I pushed a fix on my branch: Debian Package is available: I should be able to test them soon. |
@schumilo I tested the patches, and kAFL works as expected, nothing to report in dmesg. I guess we can get them merged upstream in QEMU-Nyx, and I will pull your latest changes in BTW I still have 2 commits there that you might be interested to integrate: These modifications were required to get a full static build of QEMU for the kAFL Docker image to be as clean and lightweight as possible: |
ping @schumilo 🙂 |
Merged 👍 : nyx-fuzz/QEMU-Nyx#49 |
Awesome ! 💯 |
When testing the new
kvm-nyx-6.0
branch with kAFL, we realized that dmesg was spammed with this error message:Originated from
arch/x86/kvm/vmx/vmx_fdl.c
The debian package can be found as a build artefact here:
https://github.com/IntelLabs/kafl.linux/actions/runs/3948787949
cc @schumilo, if you have any ideas regarding that code section and why this error message is being triggered, feel free !
The text was updated successfully, but these errors were encountered: