https://github.com/bcoles/kernel-exploits/blob/master/CVE-2017-7308/poc.c
I'm maintaining an updated exploit in the cve-2017-7308 branch of my fork of xairy's exploit.
I've added new offsets, new KASLR bypasses, additional pre-exploitation checks, and networking support for post-exploitation.