Determine kernel
uname -a or uname -r
anything before 2016 most likely vulnerable
The vulnerability has been patched in Linux kernel versions 4.8.3, 4.7.9, 4.4.26 and newer
| Earliest kernel version fixed | Linux distribution that uses this |
|---|---|
| 3.2.0-113.155 | Ubuntu 12.04 LTS |
| 3.13.0-100.147 | Ubuntu 14.04 LTS (Linux Mint 17.1) |
| 3.16.36-1+deb8u2 | Debian 8 |
| 4.4.0-45.66 | Ubuntu 16.04 LTS |
| 4.7.8-1 | Debian unstable |
| 4.8.0-26.28 | Ubuntu 16.1 |
Works on Linux Kernel 2.6.22 < 3.9
Try 40839 or 40616 first
can also try the following if above doesn't work & searchsploit doesnt work
https://gist.github.com/rverton/e9d4ff65d703a9084e85fa9df083c679