SELinux would also block the process executing a setuid process to raise its capabilities.
Now this is a horrible exploit but as you can see SELinux would probably have protected a lot/most of your valuable data on your machine. It would buy you time for you to patch your system.