The raw_sendmsg() function in net/ipv4/raw.c in the Linux kernel through 4.14.6 has a race condition in inet->hdrincl that leads to uninitialized stack pointer usage; this allows a local user to execute code and gain privileges.
https://www.debian.org/security/2017/dsa-4073
https://usn.ubuntu.com/3582-2/
https://usn.ubuntu.com/3582-1/
https://usn.ubuntu.com/3581-3/
https://usn.ubuntu.com/3581-2/
https://usn.ubuntu.com/3581-1/
https://source.android.com/security/bulletin/pixel/2018-04-01
https://github.com/torvalds/linux/commit/8f659a03a0ba9289b9aeb9b4470e6fb263d6f483