Bug 920499 (CVE-2013-0914)

Summary: CVE-2013-0914 Kernel: sa_restorer information leak
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, esammons, fhrbata, gansalmon, iboverma, itamar, jforbes, jkacur, jonathan, jshao, jwboyer, kernel-maint, kernel-mgr, lgoncalv, lwang, madhu.chinakonda, mcressma, plougher, prasad, rt-maint, rvrbovsk, sforsber, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20130311,reported=20130311,source=oss-security,cvss2=2.1/AV:L/AC:L/Au:N/C:P/I:N/A:N,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: 2014-06-10 00:47:35 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 920503, 920504, 920505, 920506, 920508, 920509, 920510    
Bug Blocks: 920455    

Description Prasad J Pandit 2013-03-12 05:29:18 EDT
Linux kernel is vulnerable to an information leakage flaw. This occurs when
a process calls routine - sigaction() - to access - sa_restorer - parameter.
This parameter points to an address that belongs to its parent process'
address space.

A user could use this flaw to infer address layout of a process.

Reference:
----------
 -> https://lkml.org/lkml/2013/3/11/498
 -> http://www.openwall.com/lists/oss-security/2013/03/11/8
Comment 1 Prasad J Pandit 2013-03-12 05:34:31 EDT
Upstream fix
------------
 -> http://www.spinics.net/lists/mm-commits/msg95304.html
Comment 2 Prasad J Pandit 2013-03-12 05:36:25 EDT
Statement:

This issue affects the version of Linux kernel as shipped with Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2. Future kernel updates for Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2 may address this issue.
Comment 5 Prasad J Pandit 2013-03-12 05:43:22 EDT
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 920510]
Comment 6 Josh Boyer 2013-03-12 09:30:01 EDT
(In reply to comment #1)
> Upstream fix
> ------------
>  -> http://www.spinics.net/lists/mm-commits/msg95304.html

That's the fix for 3.9.  It's worth pointing out that __ARCH_HAS_SA_RESTORER was added in 3.9, so using that patch as-is on older kernels without that change will build but won't do anything.  Using SA_RESTORER works for kernels older than 3.9-rcX.

https://lkml.org/lkml/2013/3/11/545
Comment 7 Fedora Update System 2013-03-16 21:07:26 EDT
kernel-3.8.3-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 8 Fedora Update System 2013-03-21 20:18:38 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 9 errata-xmlrpc 2013-05-20 12:50:59 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 11 errata-xmlrpc 2013-07-09 23:52:45 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2013:1034 https://rhn.redhat.com/errata/RHSA-2013-1034.html
Comment 12 errata-xmlrpc 2013-07-16 13:26:02 EDT
This issue has been addressed in following products:

  OpenStack 3 for RHEL 6

Via RHSA-2013:1080 https://rhn.redhat.com/errata/RHSA-2013-1080.html
Comment 13 errata-xmlrpc 2013-07-16 14:23:48 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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