Integer overflow in the vrend_create_shader function in vrend_renderer.c in virglrenderer before 0.6.0 allows local guest OS users to cause a denial of service (process crash) via crafted pkt_length and offlen values, which trigger an out-of-bounds access.
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.securityfocus.com/bid/96460 | vdb entry third party advisory |
https://security.gentoo.org/glsa/201707-06 | vendor advisory |
https://lists.freedesktop.org/archives/virglrenderer-devel/2017-February/000145.html | mailing list patch vendor advisory |
http://www.openwall.com/lists/oss-security/2017/02/27/3 | mailing list third party advisory patch |
https://cgit.freedesktop.org/virglrenderer/commit/?id=93761787b29f37fa627dea9082cdfc1a1ec608d6 | third party advisory patch vendor advisory |