Bug 769721 - (CVE-2011-4622) CVE-2011-4622 kernel: kvm: pit timer with no irqchip crashes the system
CVE-2011-4622 kernel: kvm: pit timer with no irqchip crashes the system
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20111214,repor...
: Security
Depends On: 769550 769634 770100 770101 770102 770103 770104 771387
Blocks: 769699
  Show dependency treegraph
 
Reported: 2011-12-21 16:58 EST by Petr Matousek
Modified: 2015-07-31 11:05 EDT (History)
9 users (show)

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


Attachments (Terms of Use)

  None (edit)
Description Petr Matousek 2011-12-21 16:58:07 EST
User space may create the PIT and forgets about setting up the irqchips.
In that case, firing PIT IRQs will crash the host:

    BUG: unable to handle kernel NULL pointer dereference at 0000000000000128
    IP: [<ffffffffa10f6280>] kvm_set_irq+0x30/0x170 [kvm]
    ...
    Call Trace:
     [<ffffffffa11228c1>] pit_do_work+0x51/0xd0 [kvm]
     [<ffffffff81071431>] process_one_work+0x111/0x4d0
     [<ffffffff81071bb2>] worker_thread+0x152/0x340
     [<ffffffff81075c8e>] kthread+0x7e/0x90
     [<ffffffff815a4474>] kernel_thread_helper+0x4/0x10

Reference:
http://permalink.gmane.org/gmane.comp.emulators.kvm.devel/83564
Comment 2 Kurt Seifried 2011-12-21 17:24:56 EST
Added CVE-2011-4622 as per http://www.openwall.com/lists/oss-security/2011/12/21/7
Comment 5 Petr Matousek 2011-12-23 06:10:20 EST
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 770102]
Comment 6 Fedora Update System 2012-01-07 18:05:38 EST
kernel-3.1.7-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Fedora Update System 2012-01-15 14:59:06 EST
kernel-2.6.41.9-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 8 Petr Matousek 2012-01-18 16:03:13 EST
Statement:

This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 4 and Red Hat Enterprise MRG as they did not provide support for the KVM subsystem. It has been addressed in Red Hat Enterprise 5 and 6 via https://rhn.redhat.com/errata/RHSA-2012-0051.html and https://rhn.redhat.com/errata/RHSA-2012-0350.html.
Comment 9 errata-xmlrpc 2012-01-23 13:58:24 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:0051 https://rhn.redhat.com/errata/RHSA-2012-0051.html
Comment 10 errata-xmlrpc 2012-03-06 13:45:47 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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

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