Bug 1032210 (CVE-2013-6368)

Summary: CVE-2013-6368 kvm: cross page vapic_addr access
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: agordeev, anton, aquini, areis, dhoward, ehabkost, fhrbata, imammedo, jkurik, kernel-mgr, knoel, lwang, mkenneth, mst, mtosatti, pbonzini, pfrields, pholasek, qzhang, rhod, security-response-team
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: 2014-02-12 19:02:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1032214, 1032215, 1032219, 1032220, 1042090, 1042092, 1053191    
Bug Blocks: 1030995    

Description Petr Matousek 2013-11-19 17:38:48 UTC
In kvm_lapic_sync_from_vapic and kvm_lapic_sync_to_vapic there is the potential to corrupt kernel memory if userspace provides vapic_addr address that is at the end of a page.

An unprivileged local user could use this flaw to crash the system or, potentially, escalate their privileges on the system.

Acknowledgements:

Red Hat would like to thank Andrew Honig of Google for reporting this issue

Comment 1 Petr Matousek 2013-11-19 17:44:29 UTC
Statement:

This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterprise MRG 2 as they did not provide support for the KVM subsystem.

Comment 5 errata-xmlrpc 2013-12-12 19:26:10 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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

Comment 7 Petr Matousek 2013-12-12 20:55:09 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1042090]

Comment 8 Fedora Update System 2013-12-21 02:14:28 UTC
kernel-3.12.5-200.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-12-21 02:24:15 UTC
kernel-3.12.5-302.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 errata-xmlrpc 2014-02-12 18:25:13 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2014:0163 https://rhn.redhat.com/errata/RHSA-2014-0163.html

Comment 12 errata-xmlrpc 2014-03-11 17:08:28 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.4 EUS - Server and Compute Node Only

Via RHSA-2014:0284 https://rhn.redhat.com/errata/RHSA-2014-0284.html