Linux PERF_EVENTS Local Root

Well, its true. But one can get the root access to the container, using this exploit. So there are some rumors, that if one is experienced enough, he or she can gain access to the PVE host root from the container.
I've tested it on amd64 container (connected to it using ssh):

Code:
test@test:~$ ./a.out
2.6.37-3.x x86_64
sd@fucksheep.org 2010
root@test:~# whoami
root
root@test:~# uname -a
Linux test 2.6.32-16-pve #1 SMP Mon Oct 22 08:38:13 CEST 2012 x86_64 GNU/Linux

Anyways, thank you for the fix.
 
Last edited:
great. works like a charm.

Code:
test@test:~$ whoami
test
test@test:~$ ./a.out
a.out: a.c:51: sheep: Assertion `!close(fd)' failed.
Aborted