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?
2 public exploits are published in Exploit-DB (verified) and the impact is high, while EPSS rates exploitation at 2.6%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.
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.58% probability · 85th percentile
- Public exploits
- 2 in Exploit-DB · verified · first 28 June 2017
- CISA KEV
- Not listed
- Affected
- linux/linux kernel
- Source
- cve@mitre.org
EPSS 2.6% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (2)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
| EDB-ID | Title | Type | Published | Verified |
|---|---|---|---|---|
| EDB-42276source ↗ | Linux Kernel (Debian 9/10 / Ubuntu 14.04.5/16.04.2/17.04 / Fedora 23/24/25) - 'ldso_dynamic Stack Clash' Local Privilege Escalationlinux_x86 · Qualys Corporation | local | 28 June 2017 | yes |
| EDB-42273source ↗ | Linux Kernel - 'offset2lib' Stack Clashlinux_x86 · Qualys Corporation | local | 28 June 2017 | yes |
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, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.