Skip to content
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] Error: IP Payloads are LIP! #11

Open
Kristinaa78 opened this issue Nov 14, 2023 · 4 comments
Open

[KVM-NYX] Error: IP Payloads are LIP! #11

Kristinaa78 opened this issue Nov 14, 2023 · 4 comments

Comments

@Kristinaa78
Copy link

While trying to follow the installation process, kafl fuzz fails with

Intel PT is not supported on this CPU!

error. Permissions to /dev/kvm should be set correctly. In my dmesg output there is BOOT_IMAGE=/boot/vmlinuz-6.0.0-nyx+ but also [KVM-NYX] Error: IP Payloads are LIP! error. I use a fairly new CPU - i5-1335U and Intel PT should be, in fact, supported. Is there any way how can I resolve this?

@Wenzel
Copy link
Contributor

Wenzel commented Nov 14, 2023

Hi,

can you give me the output of this command line ?
image

echo -n "Intel PT support: "; if $(grep -q "intel_pt" /proc/cpuinfo); then echo "✅"; else echo "❌"; fi

The error you are seeing is located here:
https://github.com/IntelLabs/kafl.linux/blob/kvm-nyx-6.0/arch/x86/kvm/vmx/vmx_pt.c#L1119

@schumilo can you shed some lights on this LIP Intel PT feature ?
What does it refer to ?
I found some reference to Linear Instruction Pointer, but not a PT expert.

@Kristinaa78
Copy link
Author

Yes, sure. It says it's enabled:
image
I have also traced the error message down to the very line you posted but have no idea how to proceed.

@Kristinaa78
Copy link
Author

Kristinaa78 commented Nov 15, 2023

Update: I have tried to disable E-cores in BIOS and no error occurs. dmesg reports that CPU is supported! and kafl fuzz does not fail anymore. However, performance decrease might make it unusable.

@Wenzel
Copy link
Contributor

Wenzel commented Nov 16, 2023

Thanks for sharing that result here, I'll keep a note 🗒️ !
Happy fuzzing !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants