-
Notifications
You must be signed in to change notification settings - Fork 9
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
Regression: libxdc decode error when fuzzing with 6.0 Nyx kernel #10
Comments
Sorry, I haven't had the time to long into this earlier.
Am I missing something important here? |
Hey @schumilo Just tried to build the Docker container my machine, the I don't understand how you got that output ? |
Yeah, it seemed to be a network issue. Modifying the Dockerfile and running |
Quick update: I don't believe it has anything to do with using the dirty ring implementation in kernel 6.0. In fact, there is a hidden option in QEMU-Nyx to debug both FDL and dirty ring by men-comparing every guest page (and restoring ones that we might have missed by using either FDL or dirty ring), and even with this mode enabled and having the certainty that the guest memory is properly restored, the issue is still there. Something seems to be off with kernel 6.0 and its vmx-pt patches... |
Hey @Wenzel! nyx-fuzz/QEMU-Nyx@5a25709 In addition, I also updated libxdc to add a sanity check to prevent empty filter configurations from being accepted, as this was what caused the bug in first place. |
Hi @schumilo ! 😃 Thank you for the feedback this morning, and investigating the issue !! I already merged your commits into kAFL's repository, rolled out new released for QEMU and libxdc, and I'm preparing a new kAFL release: 🚀 |
We've spotted a regression starting from the 6.0 Nyx kernel where libxdc would continously throw
libxdc_decode
errors as soon as fuzzing starts for certain targets:A complete repro is available for the Zephyr target, in development:
On the previous 5.10.73 kernel, these errors doesn't appear.
ping @schumilo, since you worked on the 6.0 patches, do you have any idea what could be the cause ? (the main changes with 6.0 is that we remove custom FDL code)
The text was updated successfully, but these errors were encountered: