I checked my Ubuntu PC for dirtycow vulnerability, by using following code I downloaded from here. I compiled and run this code and run.When i execute this code using cc .
$ gcc cowroot.c -o cowroot -pthread $./cowroot
It's got root access, but after few sec it freeze my Ubuntu. According this vulnerability, it only give root access, not freeze the system.
But it freeze my system. This is why i posted this question here