TurtleARM/CVE-2023-0179-PoC

Could you please provide your kernel compliling config

NoneShell opened this issue · 1 comments

Hello, I'm trying to reproduce the CVE ,but failed. I've meet a lot of setbacks, such as some key config value...or qemu start args
image
So, could you kindly provide a kernel config and qemu start args, plz.
Thanks a lot

Hello, the .config file is now available in the repo.
As for qemu it just needs the loopback and eth0 interfaces:

qemu-system-x86_64 -kernel vmlinux -drive format=raw,file=rootfs.ext4,if=virtio -nographic -append "root=/dev/vda console=ttyS0" -net nic,model=e1000

Also make sure qemu starts with /bin/bash as the run.sh script requires it, otherwise you'll have to readapt it.