CVE-2017-1000371
The offset2lib patch as used by the Linux Kernel contains a vulnerability, if RLIMIT_STACK is set to RLIM_INFINITY and 1 Gigabyte of memory is allocated (the maximum under the 1/4 restriction) then the stack will be grown down to 0x80000000, and as the…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.73%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
The offset2lib patch as used by the Linux Kernel contains a vulnerability, if RLIMIT_STACK is set to RLIM_INFINITY and 1 Gigabyte of memory is allocated (the maximum under the 1/4 restriction) then the stack will be grown down to 0x80000000, and as the PIE binary is mapped above 0x80000000 the minimum distance between the end of the PIE binary's read-write segment and the start of the stack becomes small enough that the stack guard page can be jumped over by an attacker. This affects Linux Kernel version 4.11.5. This is a different issue than CVE-2017-1000370 and CVE-2017-1000365. This issue appears to be limited to i386 based systems.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.73% probability · 85th percentile
- CISA KEV
- Not listed
- Affected
- linux/linux kernel
- Source
- cve@mitre.org
References
- http://www.debian.org/security/2017/dsa-3981Third Party Advisory
- http://www.securityfocus.com/bid/99131Third Party Advisory, VDB Entry
- https://access.redhat.com/security/cve/CVE-2017-1000371Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/42273/Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/42276/Third Party Advisory, VDB Entry
- https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txtThird Party Advisory
- http://www.debian.org/security/2017/dsa-3981Third Party Advisory
- http://www.securityfocus.com/bid/99131Third Party Advisory, VDB Entry
- https://access.redhat.com/security/cve/CVE-2017-1000371Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/42273/Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/42276/Third Party Advisory, VDB Entry
- https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txtThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.