CVE-2017-5937: Null Pointer Dereference

Published Feb 8, 2017
·
Updated

The utilformatispureuint function in vrendrenderer.c in Virgil 3d project (aka virglrenderer) 0.6.0 and earlier allows local guest OS users to cause a denial of service (NULL pointer dereference) via a crafted VIRGLCCMDCLEAR command.

Other sources

Virgil 3d project, used by Quick Emulator(Qemu) to implement 3D GPU support for the virtio GPU, is vulnerable to a null pointer dereference issue. It could occur when a guest invokes a virgl 'VIRGLCCMDCLEAR' command.

A guest user/process could use this flaw to crash Qemu process resulting in DoS.

Upstream patch: --------------- -> https://cgit.freedesktop.org/virglrenderer/commit/?id=48f67f60967f963b698ec8df57ec6912a43d6282

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2017/02/08/5

Red Hat

Affected Software

1 affected component
Virglrenderer Project Virglrenderer<=0.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade virglrenderer (Virgil 3D project) / Qemu virtio GPU 3D support to a version that resolves this vulnerability.

    Fixed in 0.6.0Patch 48f67f60967f963b698ec8df57ec6912a43d6282
  2. Compensating control

    Mitigate the DoS risk by restricting or isolating guest access so that untrusted local guest OS users/processes cannot invoke the virgl 'VIRGL_CCMD_CLEAR' command that targets the vulnerable virtio GPU 3D support.

Event History

Feb 8, 2017
Data Sourced
via Red Hat·09:46 AM
DescriptionSeverityAffected Software
Mar 15, 2017
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·07:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-5937?

CVE-2017-5937 is classified as a denial of service vulnerability due to a NULL pointer dereference.

2

How do I fix CVE-2017-5937?

To fix CVE-2017-5937, upgrade to virglrenderer version 0.6.0 or later.

3

What causes CVE-2017-5937?

CVE-2017-5937 is caused by a crafted VIRGL_CCMD_CLEAR command that triggers a NULL pointer dereference in the vrend_renderer.c code.

4

Who is affected by CVE-2017-5937?

CVE-2017-5937 affects local guest OS users of virglrenderer version 0.5.0 and earlier.

5

What software is involved in CVE-2017-5937?

CVE-2017-5937 involves the Virgil 3D project, specifically the virglrenderer component used by QEMU.

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