Integer overflow in the vc4_get_bcl function in drivers/gpu/drm/vc4/vc4_gem.c in the VideoCore DRM driver in the Linux kernel before 4.9.7 allows local users to cause a denial of service or possibly have unspecified other impact via a crafted size value in a VC4_SUBMIT_CL ioctl call.
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.openwall.com/lists/oss-security/2017/01/21/7 | mailing list third party advisory patch |
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0f2ff82e11c86c05d051cae32b58226392d33bbf | issue tracking third party advisory patch |
https://bugzilla.redhat.com/show_bug.cgi?id=1416436 | issue tracking patch |
https://github.com/torvalds/linux/commit/0f2ff82e11c86c05d051cae32b58226392d33bbf | issue tracking third party advisory patch |
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.7 | release notes vendor advisory |
http://www.securityfocus.com/bid/95767 | vdb entry third party advisory |
https://lkml.org/lkml/2017/1/17/761 | mailing list third party advisory patch |