Bug 816151 - (CVE-2012-2137) CVE-2012-2137 kernel: kvm: buffer overflow in kvm_set_irq()
CVE-2012-2137 kernel: kvm: buffer overflow in kvm_set_irq()
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 816154 816155
Blocks: 816157
  Show dependency treegraph
Reported: 2012-04-25 07:07 EDT by Petr Matousek
Modified: 2015-02-16 10:50 EST (History)
15 users (show)

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

Attachments (Terms of Use)

  None (edit)
Description Petr Matousek 2012-04-25 07:07:14 EDT
kvm_set_irq() has an internal buffer of three irq routing entries, allowing connecting a GSI to three IRQ chips or on MSI.  However setup_routing_entry() does not properly enforce this, allowing three irqchip routes followed by an MSI route to overflow the buffer.

An unprivileged local user could use this flaw to crash the system or potentialy escalate their privileges.
Comment 7 Petr Matousek 2012-06-05 14:04:05 EDT

This issue did not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5 and Red Hat Enterprise MRG. This issue was addressed in Red Hat Enterprise Linux 6 via RHSA-2012:0743 https://rhn.redhat.com/errata/RHSA-2012-0743.html
Comment 8 errata-xmlrpc 2012-06-18 09:34:32 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:0743 https://rhn.redhat.com/errata/RHSA-2012-0743.html

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