Bug 915592 (CVE-2013-1767)

Summary: CVE-2013-1767 Kernel: tmpfs: fix use-after-free of mempolicy object
Product: [Other] Security Response Reporter: Prasad J Pandit <prasad>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
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, npajkovs, plougher, pmatouse, rt-maint, rvrbovsk, sforsber, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20130224,reported=20130225,source=oss-security,cvss2=6/AV:L/AC:H/Au:S/C:C/I:C/A:C,rhel-5/kernel=notaffected,rhel-6/kernel=affected,mrg-2/realtime-kernel=affected,fedora-all/kernel=affected,rhel-6.3.z/kernel=affected,rhel-6.2.z/kernel=affected,cwe=CWE-416[auto]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-30 10:38:18 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 915714, 915715, 915716, 915720, 915724, 958696, 958698    
Bug Blocks: 916133    

Description Prasad J Pandit 2013-02-26 02:55:30 EST
Linux kernel built with support to `tmpfs' is vulnerable to a use-after-free flaw, which happens while remounting tmpfs, which was mounted with mpol=M option initially, but the same is missing in the remount request.

A privileged local user could use this flaw to crash the system or, potentially, further escalate their privileges.

Upstream fix:
-------------
 -> https://git.kernel.org/linus/5f00110f7273f9ff04ac69a5f85bb535a4fd0987

References:
-----------
1] http://www.openwall.com/lists/oss-security/2013/02/25/14
Comment 1 Prasad J Pandit 2013-02-26 04:57:55 EST
Statement:

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

This issue affects the version of Linux kernel as shipped with Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG 2.
Comment 3 Prasad J Pandit 2013-02-26 06:22:09 EST
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 915716]
Comment 5 Fedora Update System 2013-03-21 20:20:21 EDT
kernel-3.8.3-103.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 6 errata-xmlrpc 2013-04-23 14:27:00 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:0744 https://rhn.redhat.com/errata/RHSA-2013-0744.html
Comment 8 errata-xmlrpc 2013-05-20 13:01:13 EDT
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2013:0829 https://rhn.redhat.com/errata/RHSA-2013-0829.html
Comment 9 errata-xmlrpc 2013-05-30 14:32:14 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.2 EUS - Server Only

Via RHSA-2013:0882 https://rhn.redhat.com/errata/RHSA-2013-0882.html
Comment 10 errata-xmlrpc 2013-06-11 13:39:46 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.3 EUS - Server Only

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