CVE-2017-7346: Input Validation

Published Mar 30, 2017
·
Updated

It was found that in the Linux kernel in vmwgbsurfacedefineioctl() function in 'drivers/gpu/drm/vmwgfx/vmwgfxsurface.c' file, a 'req->miplevels' is a user-controlled value which is later used as a loop count limit. This allows local unprivileged user to cause a denial of service by a kernel lockup via a crafted ioctl call for a '/dev/dri/renderD' device.

References:

http://seclists.org/oss-sec/2017/q1/696

Proposed patch:

https://lists.freedesktop.org/archives/dri-devel/2017-March/137429.html

http://marc.info/?l=linux-kernel&m=149086968410117&w=2

Upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ee9c4e681ec4f58e42a83cb0c22a0289ade1aacf

Other sources

The vmwgbsurfacedefineioctl function in drivers/gpu/drm/vmwgfx/vmwgfxsurface.c in the Linux kernel through 4.10.7 does not validate certain levels data, which allows local users to cause a denial of service (system hang) via a crafted ioctl call for a /dev/dri/renderD device.

Launchpad

Affected Software

2 affected componentsFixes available
Linux Linux kernel<=4.10.7
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1

Event History

Mar 30, 2017
Data Sourced
via Red Hat·10:15 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description
Data Sourced
via NVD·11:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:38 PM
Description
Dec 5, 2024
Data Sourced
via Ubuntu·02:05 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2017-7346?

CVE-2017-7346 is a vulnerability that allows local users to cause a denial of service (system hang) in the Linux kernel.

2

How severe is CVE-2017-7346?

CVE-2017-7346 has a low severity.

3

Which Linux kernel versions are affected by CVE-2017-7346?

Linux kernel versions through 4.10.7 are affected by CVE-2017-7346.

4

How can I fix the CVE-2017-7346 vulnerability?

To fix the CVE-2017-7346 vulnerability, update your Linux kernel to version 4.12 or higher.

5

Where can I find more information about CVE-2017-7346?

You can find more information about CVE-2017-7346 at the following references: [Link 1](https://bugzilla.redhat.com/show_bug.cgi?id=1437431), [Link 2](https://lists.freedesktop.org/archives/dri-devel/2017-March/137429.html), [Link 3](http://www.securityfocus.com/bid/97257).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203