The BPF_S_ANC_NLATTR_NEST extension implementation in the sk_run_filter function in net/core/filter.c in the Linux kernel through 3.14.3 uses the reverse order in a certain subtraction, which allows local users to cause a denial of service (over-read and system crash) via crafted BPF instructions. NOTE: the affected code was moved to the __skb_get_nlattr_nest function before the vulnerability was announced.
git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=05ab8f2647e4221cbdb3856dd7d32bd5407316b3
linux.oracle.com/errata/ELSA-2014-3052.html
secunia.com/advisories/58990
secunia.com/advisories/59311
secunia.com/advisories/59597
secunia.com/advisories/60613
www.debian.org/security/2014/dsa-2949
www.openwall.com/lists/oss-security/2014/05/09/6
www.securityfocus.com/bid/67321
www.securitytracker.com/id/1038201
www.ubuntu.com/usn/USN-2251-1
www.ubuntu.com/usn/USN-2252-1
www.ubuntu.com/usn/USN-2259-1
www.ubuntu.com/usn/USN-2261-1
www.ubuntu.com/usn/USN-2262-1
www.ubuntu.com/usn/USN-2263-1
www.ubuntu.com/usn/USN-2264-1
github.com/torvalds/linux/commit/05ab8f2647e4221cbdb3856dd7d32bd5407316b3
source.android.com/security/bulletin/2017-04-01