Bug 1192519 (CVE-2015-1593)

Summary: CVE-2015-1593 kernel: Linux stack ASLR implementation Integer overflow
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aquini, bhu, blc, ccoleman, dhoward, dmcphers, fhrbata, gansalmon, hkrzesin, iboverma, itamar, jforbes, jialiu, j_j_b_o_devel, jkacur, joelsmith, jokerman, jonathan, jross, jshort, jwboyer, kernel-maint, kernel-mgr, lgoncalv, lmeyer, madhu.chinakonda, matt, mchehab, mcressma, mlangsdo, mmccomas, mmilgram, nmurray, plougher, pmatouse, rt-maint, rvrbovsk, sreber, williams, wmealing
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20150213,reported=20150213,source=oss-security,cvss2=1.9/AV:L/AC:M/Au:N/C:P/I:N/A:N,cwe=CWE-190[auto],fedora-all/kernel=affected,rhel-5/kernel=affected,rhel-6/kernel=affected,rhel-7/kernel=affected,mrg-2/kernel=affected,rhel-7/kernel-rt=affected,rhel-alt-7/kernel-alt=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
An integer overflow flaw was found in the way the Linux kernel randomized the stack for processes on certain 64-bit architecture systems, such as x86-64, causing the stack entropy to be reduced by four.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1622237, 1632284, 1192520, 1195682, 1195683, 1195684, 1195685, 1195686, 1195687, 1195688    
Bug Blocks: 1192521    

Description Vasyl Kaigorodov 2015-02-13 15:42:47 UTC
It was reported [1] that stack address is not properly randomized on some 64 bit architectures due to an integer overflow.
The stack entropy of the processes is reduced by four.
The possible locations are significantly reduced from around one billion to two hundred millions. The problem seems to affect only to the x86_64 architecture.
Proposed patch:
https://lkml.org/lkml/2015/1/7/811

[1]: http://hmarco.org/bugs/linux-ASLR-integer-overflow.html

Comment 1 Vasyl Kaigorodov 2015-02-13 15:43:09 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1192520]

Comment 2 Petr Matousek 2015-02-20 13:49:10 UTC
Statement:

This issue does affect the Linux kernel versions as shipped with Red Hat Enterprise Linux 6, 7 and Red Hat Enterprise MRG 2. Future kernel updates in the respective releases may address this issue.

This issue does affect the Linux kernel versions as shipped with Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Low security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Comment 5 Fedora Update System 2015-03-09 08:17:24 UTC
kernel-3.18.8-201.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2015-03-14 09:15:34 UTC
kernel-3.18.9-100.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 João Jerónimo 2015-04-16 20:18:40 UTC
Sorry for being picky, but isn't the very existence of the /proc/<pid>/maps virtual files a security issue?

Comment 8 Wade Mealing 2015-05-15 06:11:13 UTC
Gday João,

In the interest of getting your questions answered correctly (I just came across this by chance) It might be best to lodge it directly against the kernel component of the product you're asking about (Probably RHEL 7 or Fedora 21).

Thanks,

Wade Mealing
Red Hat Product Security

Comment 10 errata-xmlrpc 2015-06-23 08:25:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:1139 https://rhn.redhat.com/errata/RHSA-2015-1139.html

Comment 11 errata-xmlrpc 2015-06-23 08:29:01 UTC
This issue has been addressed in the following products:

  MRG for RHEL-6 v.2

Via RHSA-2015:1138 https://rhn.redhat.com/errata/RHSA-2015-1138.html

Comment 12 errata-xmlrpc 2015-06-23 08:48:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:1137 https://rhn.redhat.com/errata/RHSA-2015-1137.html

Comment 14 errata-xmlrpc 2015-07-14 15:12:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2015:1221 https://rhn.redhat.com/errata/RHSA-2015-1221.html