Bug 851165 (CVE-2012-3495) - CVE-2012-3495 kernel: xen: hypercall physdev_get_free_pirq vulnerability
Summary: CVE-2012-3495 kernel: xen: hypercall physdev_get_free_pirq vulnerability
Alias: CVE-2012-3495
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 854589
Blocks: 851204
TreeView+ depends on / blocked
Reported: 2012-08-23 11:55 UTC by Petr Matousek
Modified: 2023-05-11 20:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2019-06-10 10:59:09 UTC

Attachments (Terms of Use)

Description Petr Matousek 2012-08-23 11:55:46 UTC
PHYSDEVOP_get_free_pirq does not check that its call to get_free_pirq succeeded, and if it fails will use the error code as an array index.

A malicious guest might be able to cause the host to crash, leading to a DoS, depending on the exact memory layout.  Privilege escalation is a theoretical possibility which cannot be ruled out, but is considered unlikely


Red Hat would like to thank the Xen project for reporting this issue. Upstream acknowledges Matthew Daley as the original reporter.

Comment 3 Petr Matousek 2012-08-23 11:57:31 UTC

Not vulnerable.

This issue did not affect the versions of the kernel-xen package as shipped with Red Hat Enterprise Linux 5.

This issue did not affect Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG as we did not have support for Xen hypervisor.

Comment 4 Petr Matousek 2012-09-05 11:43:07 UTC
Now public via:


Comment 5 Petr Matousek 2012-09-05 11:44:35 UTC
Created xen tracking bugs for this issue

Affects: fedora-all [bug 854589]

Comment 6 Fedora Update System 2012-09-17 17:59:57 UTC
xen-4.1.3-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

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