NixOS / security

MIT License
30 stars 12 forks source link

Roundup: [oss-security] CVE-2017-6210 Virglrenderer: null pointer dereference in vrend_decode_reset #27

Closed grahamc closed 7 years ago

grahamc commented 7 years ago

Here is a vulnerability from the oss-security mailing list for Vulnerability Roundup 26.

Instructions:

Identification

Identify if we have the software, in 16.09, 17.03, and unstable. Then determine if we are vulnerable, and make a comment with your findings. It can also be helpful to specify if you think there is a patch, or if it can be fixed via a general update.

Example:

unstable: we are not vulnerable (link to the package)
17.03: we are vulnerable (link to the package)
16.09: we don't have it packaged

IMPORTANT: If you believe there are possibly related issues, bring them up on the parent issue!

Patching

Start by commenting on this issue saying you're working on a patch. This way, we don't duplicate work.

If you open a pull request, tag this issue and the master issue for the roundup.

If you commit the patch directly to a branch, please leave a comment on this issue with the branch and the commit hash, example:

fixed:

release-16.09: abc123

Upon Completion ...

Info

Triage Indicator:

-needs-triage +roundup26 thread:0000000000003de7 # [oss-security] CVE-2017-6210 Virglrenderer: null pointer dereference in vrend_decode_reset

Fri, 24 Feb 2017 00:17:08 +0530 (IST) P J P , alpine.LFD.2.20.1702240015030.19005@wniryva
   Hello,

Virgil 3d project, used by Quick Emulator(Qemu) to implement 3D GPU support 
for the virtio GPU, is vulnerable to a null pointer dereference flaw. It could 
occur when destroying renderer context zero(0) in 'vrend_decode_reset'.

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

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

Reference:
----------
   -> https://bugzilla.redhat.com/show_bug.cgi?id=1426170

This issue was reported by Li Qiang of 360.cn Inc.

'CVE-2017-6210' assigned via -> http://cveform.mitre.org/

Thank you.
--
Prasad J Pandit / Red Hat Product Security Team
47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F

ndowens commented 7 years ago

@grahamc Neither of those led to me finding any reference to pkg/file

7c6f434c commented 7 years ago

Tried to look for an alternative name just in case, but grep -i virgil -r pkgs finds nothing,

grahamc commented 7 years ago

Closing with https://github.com/NixOS/security/issues/24, thank you!