kernel/bpf/verifier.c in the Linux kernel through 4.14.8 ignores unreachable code, even though it would still be processed by JIT compilers. This behavior, also considered an improper branch-pruning logic issue, could possibly be used by local users for denial of service.
https://www.spinics.net/lists/stable/msg206984.html
https://www.debian.org/security/2017/dsa-4073
https://usn.ubuntu.com/usn/usn-3523-2/
https://usn.ubuntu.com/3619-2/
https://usn.ubuntu.com/3619-1/
https://github.com/torvalds/linux/commit/c131187db2d3fa2f8bf32fdf4e9a4ef805168467
http://www.securitytracker.com/id/1040057