Integer Overflow or Wraparound Affecting torvalds/linux package, versions [,4.10.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3004945
  • published26 Jan 2022
  • disclosed29 Mar 2017
  • creditUnknown

Introduced: 29 Mar 2017

CVE-2017-7294  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 4.10.7 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. The vmw_surface_define_ioctl function in drivers/gpu/drm/vmwgfx/vmwgfx_surface.c in the Linux kernel through 4.10.6 does not validate addition of certain levels data, which allows local users to trigger an integer overflow and out-of-bounds write, and cause a denial of service (system hang or crash) or possibly gain privileges, via a crafted ioctl call for a /dev/dri/renderD* device.

CVSS Base Scores

version 3.1