Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 717399 - (CVE-2011-2512) CVE-2011-2512 qemu-kvm: OOB memory access caused by negative vq notifies
CVE-2011-2512 qemu-kvm: OOB memory access caused by negative vq notifies
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
public=20110508,reported=20110627,sou...
: Security
Depends On: 707094 717403
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-28 14:29 EDT by Petr Matousek
Modified: 2013-05-08 14:32 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-05-08 14:32:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0919 normal SHIPPED_LIVE Important: qemu-kvm security and bug fix update 2011-07-05 14:07:54 EDT

  None (edit)
Description Petr Matousek 2011-06-28 14:29:14 EDT
The virtio_queue_notify() function checks that the virtqueue number is less than the maximum number of virtqueues.  A signed comparison is used but the virtqueue number could be negative if a buggy or malicious guest is run.  This results in memory accesses outside of the virtqueue array. 

To trigger this issue the attacker needs to issue 32bit write to Queue Notify field of Virtio Header in the virtio pci config space even though the field is 16bit only by specs. Qemu-kvm allows that for the moment and provides whole 32bit value to the underlying functions.

Unprivileged guest user could use this flaw to crash the guest (denial of service) or, possibly, escalate their privileges on the host.

Upstream patch:
http://patchwork.ozlabs.org/patch/94604/
Comment 3 Petr Matousek 2011-06-28 14:44:01 EDT
Statement:

This issue only affects Red Hat Enterprise Linux 6. The version of the qemu/kvm
as shipped with Red Hat Enterprise Linux 5 is not affected.
Comment 5 errata-xmlrpc 2011-07-05 14:08:04 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:0919 https://rhn.redhat.com/errata/RHSA-2011-0919.html

Note You need to log in before you can comment on or make changes to this bug.