First published: Tue Mar 28 2017(Updated: )
In was found that in the Linux kernel in vmw_surface_define_ioctl() function in 'drivers/gpu/drm/vmwgfx/vmwgfx_surface.c' file, a 'req->mip_levels[i]' are user-controlled values which are not checked for the upper limit and are used to calculate 'num_sizes' parameter. Both the 'num_sizes' and the array are 'uint32_t' so it is possible to make 'num_sizes' overflow. Later 'mip_levels[i]' are used as the loop count. This can lead an oob-write and/or kernel lock up. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although we believe it is unlikely. References: <a href="http://seclists.org/oss-sec/2017/q1/688">http://seclists.org/oss-sec/2017/q1/688</a> Proposed patch: <a href="https://lists.freedesktop.org/archives/dri-devel/2017-March/137094.html">https://lists.freedesktop.org/archives/dri-devel/2017-March/137094.html</a>
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Linux kernel | >=3.2<3.2.89 | |
Linux Linux kernel | >=3.3<3.10.107 | |
Linux Linux kernel | >=3.11<3.12.74 | |
Linux Linux kernel | >=3.13<3.16.44 | |
Linux Linux kernel | >=3.17<3.18.50 | |
Linux Linux kernel | >=3.19<4.1.40 | |
Linux Linux kernel | >=4.2<4.4.61 | |
Linux Linux kernel | >=4.5<4.9.22 | |
Linux Linux kernel | >=4.10<4.10.10 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.115-1 6.1.119-1 6.11.10-1 6.12.5-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-7294 is a vulnerability in the Linux kernel that allows local users to trigger an integer overflow and out-of-bounds write, causing a denial of service (system hang or crash).
CVE-2017-7294 has a severity level of medium.
The affected software versions include Ubuntu Linux (4.11~), Linux Trusty (3.13.0-123.172), Linux Xenial (4.4.0-78.99), Linux Yakkety (4.8.0-58.63), and Linux Zesty (4.10.0-21.23).
To fix CVE-2017-7294, users should update to the appropriate patched versions of the Linux kernel.
More information about CVE-2017-7294 can be found at the following references: http://seclists.org/oss-sec/2017/q1/688, https://lists.freedesktop.org/archives/dri-devel/2017-March/137094.html, https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1436802.