kernel: drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()
Published Mar 29, 2017
7.8
HIGHCVSS 3.1
EPSS 0.38%
Description
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.
Affected products
No data.
- ≥ 3.2 · < 3.2.89
- ≥ 3.3 · < 3.10.107
- ≥ 3.11 · < 3.12.74
- ≥ 3.13 · < 3.16.44
- ≥ 3.17 · < 3.18.50
- ≥ 3.19 · < 4.1.40
- ≥ 4.2 · < 4.4.61
- ≥ 4.5 · < 4.9.22
- ≥ 4.10 · < 4.10.10
No data.
Red Hat Enterprise Linux 7
kernel-0:3.10.0-862.el7
Fixed · RHSA-2018:1062
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-862.rt56.804.el7
Fixed · RHSA-2018:0676
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Affected
Red Hat Enterprise MRG 2
realtime-kernel
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-862.el7 | Fixed | RHSA-2018:1062 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-862.rt56.804.el7 | Fixed | RHSA-2018:0676 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Affected | n/a |
| Red Hat Enterprise MRG 2 | realtime-kernel | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 as the code where the flaw was found is not present in this product. This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 6, 7 and MRG-2. Future Linux kernel updates for the respective releases might address this issue.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.38% (0.00380) | 29.60th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.38% (0.00380) | 31.91th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.04% (0.00042) | 5.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00950) | 32.28th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00950) | 13.46th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.83% (0.00829) | 22.25th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.83% (0.00829) | 0.00th | v1 |
References (8)
- http://www.securityfocus.com/bid/97177 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:0676 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1062 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-7294 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1436798 x_refsource_MISCIssue TrackingPatch
- https://lists.freedesktop.org/archives/dri-devel/2017-March/137094.html x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-7294
- https://www.cve.org/CVERecord?id=CVE-2017-7294
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/97177 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2018:0676 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/errata/RHSA-2018:1062 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2017-7294 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1436798 | x_refsource_MISCIssue TrackingPatch | |
| https://lists.freedesktop.org/archives/dri-devel/2017-March/137094.html | x_refsource_MISCPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-7294 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-7294 |
Change history (0)
No recorded changes yet.