Bug 1030986 (CVE-2013-4587)

Summary: CVE-2013-4587 kernel: kvm: rtc_status.dest_map out-of-bounds access
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: agordeev, anton, aquini, dhoward, fhrbata, gleb, kernel-mgr, lwang, npajkovs, pbonzini, pholasek, 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: 2013-11-15 12:55:44 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: 1042071, 1042074    
Bug Blocks: 1030995    

Description Petr Matousek 2013-11-15 12:54:26 UTC
In several functions vcpu_id is used as an offset into rtc_status.dest_map in order to set or clear bits in kernel memory, potentially leading to out-of-bound access when vcpu_id is larger than 255. 

An unprivileged local user could use this flaw to elevate 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-15 12:55:44 UTC
Statement:

Not vulnerable.

This issue did not affect the versions of kvm packages as shipped with Red Hat Enterprise Linux 5. This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterprise 6.

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 4 Petr Matousek 2013-12-12 20:50:53 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1042071]

Comment 5 Fedora Update System 2013-12-21 02:14:13 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 6 Fedora Update System 2013-12-21 02:24:02 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.