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

fail to launch qemu #2

Open
baiburoot opened this issue Sep 16, 2022 · 1 comment
Open

fail to launch qemu #2

baiburoot opened this issue Sep 16, 2022 · 1 comment

Comments

@baiburoot
Copy link

root@31bf148a1d04:/kheap/grader# python vuln_tester.py -c CVE-2010-2959 -n 5000 -r ./results -C 2 -m 2 -nl
[VULNTester][INFO]09-16 11:00 start testing poc_cfh_multi_spray_idle...
0%| | 0/5000 [00:00<?, ?it/s]qemu outputqemu output b''b''

[EXPRunner-0][ERROR]09-16 11:00 fail to launch qemu
[EXPRunner-1][ERROR]09-16 11:00 fail to launch qemu
Traceback (most recent call last):
Traceback (most recent call last):
File "/kheap/grader/qemu_runner.py", line 62, in update
File "/kheap/grader/qemu_runner.py", line 62, in update
output = self.kernel.recvuntil(b" login: ", timeout=self.timeout)
output = self.kernel.recvuntil(b" login: ", timeout=self.timeout)
File "/usr/local/lib/python3.6/dist-packages/pwnlib/tubes/tube.py", line 333, in recvuntil
File "/usr/local/lib/python3.6/dist-packages/pwnlib/tubes/tube.py", line 333, in recvuntil
res = self.recv(timeout=self.timeout)
res = self.recv(timeout=self.timeout)
File "/usr/local/lib/python3.6/dist-packages/pwnlib/tubes/tube.py", line 105, in recv
File "/usr/local/lib/python3.6/dist-packages/pwnlib/tubes/tube.py", line 105, in recv
return self._recv(numb, timeout) or b''
return self._recv(numb, timeout) or b''
File "/usr/local/lib/python3.6/dist-packages/pwnlib/tubes/tube.py", line 183, in _recv
File "/usr/local/lib/python3.6/dist-packages/pwnlib/tubes/tube.py", line 183, in _recv
if not self.buffer and not self._fillbuffer(timeout):
if not self.buffer and not self._fillbuffer(timeout):
File "/usr/local/lib/python3.6/dist-packages/pwnlib/tubes/tube.py", line 154, in _fillbuffer
data = self.recv_raw(self.buffer.get_fill_size())
File "/usr/local/lib/python3.6/dist-packages/pwnlib/tubes/tube.py", line 154, in _fillbuffer
data = self.recv_raw(self.buffer.get_fill_size())
File "/usr/local/lib/python3.6/dist-packages/pwnlib/tubes/process.py", line 686, in recv_raw
File "/usr/local/lib/python3.6/dist-packages/pwnlib/tubes/process.py", line 686, in recv_raw
raise EOFError
EOFError
raise EOFError

EOFError

During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
Traceback (most recent call last):
File "/kheap/grader/exp_runner.py", line 164, in setup
File "/kheap/grader/exp_runner.py", line 164, in setup
self.qemu.wait_ready()
self.qemu.wait_ready()
File "/kheap/grader/qemu_runner.py", line 103, in wait_ready
File "/kheap/grader/qemu_runner.py", line 103, in wait_ready
self.update()
self.update()
File "/kheap/grader/qemu_runner.py", line 68, in update
File "/kheap/grader/qemu_runner.py", line 68, in update
raise RuntimeError("fail to launch qemu")
raise RuntimeError("fail to launch qemu")
RuntimeError: fail to launch qemuRuntimeError: fail to launch qemu

@Kyle-Kyle
Copy link
Collaborator

current error log suggests there is some issue with the qemu setup. Did you launch the container with --privileged flag? we need it to speed up qemu.
and aslo can you plz go to /kheap/exploit_env/CVEs/CVE-2010-2959/, run ./startvm there, and post the result, which will provide more detailed error output.

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