Bug 851202 (CVE-2012-3516)

Summary: CVE-2012-3516 kernel: xen: grant table entry swaps have inadequate bounds checking
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: bressers, drjones, imammedo, lersek, pbonzini, security-response-team, tburke
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-24 16:05:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 854595    
Bug Blocks: 851204    

Description Petr Matousek 2012-08-23 13:37:46 UTC
The grant table hypercall's GNTTABOP_swap_grant_ref sub-operation does not perform adequate checks on the input grant references.

A malicious guest kernel or administrator can crash the host.

It may be possible for an attacker to swap a valid grant reference, which they control, with an invalid one allowing them to write abitrary values to hypervisor memory. This could potentially lead to a
privilege escalation.

Acknowledgements:

Red Hat would like to thank the Xen project for reporting this issue.

Comment 3 Petr Matousek 2012-08-23 13:40:48 UTC
Statement:

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:56:37 UTC
Now public via:

http://seclists.org/oss-sec/2012/q3/382

Comment 5 Petr Matousek 2012-09-05 12:05:06 UTC
Created xen tracking bugs for this issue

Affects: fedora-all [bug 854595]