Bug 908693 (CVE-2013-0268)

Summary: CVE-2013-0268 kernel: x86/msr: /dev/cpu/*/msr local privilege escalation
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, bhu, davej, dhoward, fhrbata, gansalmon, iboverma, itamar, jforbes, jkacur, jneedle, jonathan, jwboyer, kernel-maint, kernel-mgr, lgoncalv, lwang, madhu.chinakonda, mcressma, plougher, rt-maint, rvrbovsk, sforsber, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=important,public=20130124,reported=20130204,source=internet,cvss2=6/AV:L/AC:H/Au:S/C:C/I:C/A:C,rhel-5/kernel=affected,rhel-6/kernel=affected,mrg-2/realtime-kernel=affected,fedora-all/kernel=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-27 08:45:55 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 908696, 908697, 908698, 908699, 908702, 908703, 908706    
Bug Blocks: 907435    

Description Petr Matousek 2013-02-07 05:53:05 EST
Access to /dev/cpu/*/msr was protected only using filesystem checks. A local uid 0 (root) user with all capabilities dropped could use this flaw to execute arbitrary code in kernel mode.

Upstream commit:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=c903f0456bc69176912dee6dd25c6a66ee1aed00

References:
http://grsecurity.net/~spender/msr32.c
Comment 3 Petr Matousek 2013-02-07 06:02:26 EST
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 908706]
Comment 4 Fedora Update System 2013-02-08 11:56:30 EST
kernel-3.7.6-201.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 5 Petr Matousek 2013-02-11 14:16:48 EST
Statement:

This issue did affect the version of Linux kernel as shipped with Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2.
Comment 6 errata-xmlrpc 2013-03-11 14:39:51 EDT
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2013:0622 https://rhn.redhat.com/errata/RHSA-2013-0622.html
Comment 7 errata-xmlrpc 2013-03-11 15:39:14 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2013:0621 https://rhn.redhat.com/errata/RHSA-2013-0621.html
Comment 8 errata-xmlrpc 2013-03-12 14:59:46 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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