CVE-2016-4669
Imperfect exploit code, for learning purposes only :)
#1 Compilation method
Just run make
#2 Function
If successful, it can obtain root privileges. But the success rate is not high.
#3 General overview
- Relatively stable creation of a dangling port.
- Cannot stably reuse the port with root privileges; succeeds about 1 in 10 times :(, possibly lower.
- Not very stable, easily crashes the kernel. Only for understanding and analyzing the cause and exploitation principle of this vulnerability.
- Should not be further improved, but still hope an expert can point out a more stable triggering method.
#4 writeup
Here
#5 Successful run result
1