Bug 1462147 (CVE-2017-1000365) - CVE-2017-1000365 kernel: RLIMIT_STACK/RLIMIT_INFINITY string size limitation bypass
Summary: CVE-2017-1000365 kernel: RLIMIT_STACK/RLIMIT_INFINITY string size limitation ...
Status: NEW
Alias: CVE-2017-1000365
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=low,public=20170619,reported=2...
Keywords: Security
Depends On: 1462827
Blocks: 1473651
TreeView+ depends on / blocked
 
Reported: 2017-06-16 10:31 UTC by Andrej Nemec
Modified: 2019-02-08 15:01 UTC (History)
38 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
The Linux Kernel imposes a size restriction on the arguments and environmental strings passed through RLIMIT_STACK/RLIMIT_INFINITY, but does not take the argument and environment pointers into account, which allows attackers to bypass this limitation.
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: ---


Attachments (Terms of Use)

Description Andrej Nemec 2017-06-16 10:31:25 UTC
The Linux Kernel imposes a size restriction on the arguments and environmental strings passed through RLIMIT_STACK/RLIMIT_INFINITY (1/4 of the size), but does not take the argument and environment pointers into account, which allows attackers to bypass this limitation.

This method in itself is not an exploit, but bypassing this mechanism is the flaw/issue being tracked.

Upstream patch:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=98da7d08850fb8bdeb395d6368ed15753304aa0c

Comment 1 Andrej Nemec 2017-06-16 10:32:50 UTC
Acknowledgments:

Name: Qualys Inc.

Comment 2 Andrej Nemec 2017-06-16 10:32:59 UTC
External References:

https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt

Comment 3 Petr Matousek 2017-06-19 16:08:25 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1462827]

Comment 4 Wade Mealing 2017-08-07 05:31:07 UTC
Statement:

This issue affects the Linux kernel packages as shipped with Red Hat
Enterprise Linux 5,6, 7 and MRG-2.

Future Linux kernel updates for the respective releases may address this issue.

Comment 6 Ravindra Patil 2017-09-14 17:27:18 UTC
Hello 

Any ETA for errata for this vulnerability. RHEL 5,6,7 are affected by this bug. No errata has been released, any possible ETA would help to pass on information to customer.


Note You need to log in before you can comment on or make changes to this bug.