Bug 917017 - (CVE-2013-1798) CVE-2013-1798 kernel: kvm: out-of-bounds access in ioapic indirect register reads
CVE-2013-1798 kernel: kvm: out-of-bounds access in ioapic indirect register r...
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
impact=important,public=20130320,repo...
: Security
Depends On: 917028 917029 917030 917032 923968 964434 964435
Blocks: 917037
  Show dependency treegraph
 
Reported: 2013-03-01 08:28 EST by Petr Matousek
Modified: 2015-02-16 10:49 EST (History)
18 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-04-23 17:13:58 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)

  None (edit)
Description Petr Matousek 2013-03-01 08:28:59 EST
Description of the problem:
If the guest specifies a IOAPIC_REG_SELECT with an invalid value and follows
that with a read of the IOAPIC_REG_WINDOW KVM does not properly validate
that request.  ioapic_read_indirect contains an
ASSERT(redir_index < IOAPIC_NUM_PINS), but the ASSERT has no effect in
non-debug builds.  In recent kernels this allows a guest to cause a kernel
oops by reading invalid memory.  In older kernels (pre-3.3) this allows a
guest to read from large ranges of host memory.


Acknowledgements:

Red Hat would like to thank Andrew Honig of Google for reporting this issue.
Comment 1 Petr Matousek 2013-03-01 08:30:14 EST
Statement:

This issue did not affect the versions of Linux kernel as shipped with Red Hat
Enterprise Linux 5 and Red Hat Enterprise MRG as they did not provide support
for the KVM subsystem.
Comment 7 Petr Matousek 2013-03-20 15:49:06 EDT
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 923968]
Comment 8 Fedora Update System 2013-03-23 19:57:53 EDT
kernel-3.8.4-202.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 9 errata-xmlrpc 2013-04-09 14:15:22 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2013:0727 https://rhn.redhat.com/errata/RHSA-2013-0727.html
Comment 10 errata-xmlrpc 2013-04-23 14:28:21 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:0744 https://rhn.redhat.com/errata/RHSA-2013-0744.html
Comment 11 errata-xmlrpc 2013-04-23 14:56:45 EDT
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

Via RHSA-2013:0746 https://rhn.redhat.com/errata/RHSA-2013-0746.html
Comment 13 errata-xmlrpc 2013-06-11 13:40:48 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.3 EUS - Server Only

Via RHSA-2013:0928 https://rhn.redhat.com/errata/RHSA-2013-0928.html
Comment 14 errata-xmlrpc 2013-07-09 11:06:40 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.2 EUS - Server Only

Via RHSA-2013:1026 https://rhn.redhat.com/errata/RHSA-2013-1026.html

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