kernel/bpf/verifier.c in the Linux kernel 4.9.x through 4.9.71 does not check the relationship between pointer values and the BPF stack, which allows local users to cause a denial of service (integer overflow or invalid memory access) or possibly have unspecified other impact.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
http://www.securitytracker.com/id/1040058 | vdb entry third party advisory |
https://usn.ubuntu.com/3523-3/ | vendor advisory |
https://www.spinics.net/lists/stable/msg206985.html | issue tracking patch |
http://www.securityfocus.com/bid/102321 | vdb entry third party advisory |
https://www.debian.org/security/2017/dsa-4073 | third party advisory vendor advisory |
https://usn.ubuntu.com/usn/usn-3523-2/ | vendor advisory |
https://anonscm.debian.org/cgit/kernel/linux.git/tree/debian/patches/bugfix/all/bpf-reject-out-of-bounds-stack-pointer-calculation.patch?h=stretch-security | patch |