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 does not set an errno value upon certain overflow detections, which allows local users to cause a denial of service (incorrect pointer dereference and OOPS) via inconsistent size values in a VC4_SUBMIT_CL ioctl call.
This category represents one of the phyla in the Seven Pernicious Kingdoms vulnerability classification. It includes weaknesses that occur when an application does not properly handle errors that occur during processing. According to the authors of the Seven Pernicious Kingdoms, "Errors and error handling represent a class of API. Errors related to error handling are so common that they deserve a special kingdom of their own. As with 'API Abuse,' there are two ways to introduce an error-related security vulnerability: the most common one is handling errors poorly (or not at all). The second is producing errors that either give out too much information (to possible attackers) or are difficult to handle."
Link | Tags |
---|---|
http://www.openwall.com/lists/oss-security/2017/01/21/7 | mailing list third party advisory patch |
http://www.securityfocus.com/bid/95765 | vdb entry third party advisory |
https://github.com/torvalds/linux/commit/6b8ac63847bc2f958dd93c09edc941a0118992d9 | issue tracking third party advisory patch |
https://lkml.org/lkml/2017/1/17/759 | mailing list third party advisory patch |
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.7 | release notes vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1416437 | issue tracking patch |
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6b8ac63847bc2f958dd93c09edc941a0118992d9 | issue tracking third party advisory patch |