CVE-2017-1000371 json
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…
published 2017-06-19 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-1530
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 2
- Exploit-DB
Summary
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.
Patch / fix
- linux linux_kernel 4.1.43, 4.4.78, 4.9.39, 4.11.12, 4.12.3
- linux Debian 14, Debian 13, Debian 12 4.11.11-1
debian advisories DEBIAN-CVE-2017-1000371
- linux Ubuntu 16.04 LTS 4.4.0-93.116
- linux-aws Ubuntu 16.04 LTS 4.4.0-1032.41
- linux-gcp Ubuntu 16.04 LTS 4.13.0-1002.5
- linux-gke Ubuntu 16.04 LTS 4.4.0-1028.28
- linux-hwe Ubuntu 16.04 LTS 4.13.0-32.35~16.04.1
- linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1071.79
- linux-lts-xenial Ubuntu 14.04 LTS 4.4.0-93.116~14.04.1
- linux-snapdragon Ubuntu 16.04 LTS 4.4.0-1073.78
ubuntu advisories UBUNTU-CVE-2017-1000371
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 6 2.6.32-754.29.1.el6
- perf RHEL 6 2.6.32-754.29.1.el6
- python-perf RHEL 6 2.6.32-754.29.1.el6
- kernel-kdump RHEL 6 2.6.32-754.29.1.el6
- kernel-firmware RHEL 6 2.6.32-754.29.1.el6
- kernel-bootwrapper RHEL 6 2.6.32-754.29.1.el6
- kernel-abi-whitelists RHEL 6 2.6.32-754.29.1.el6
- kernel-debuginfo-common-i686 RHEL 6 2.6.32-754.29.1.el6
red hat advisories RHSA-2020:1524
- linux-lts Arch Linux 4.9.39-1
arch linux advisories AVG-312
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-1000371 updated cvss 2.9
kernel: offset2lib allows for the stack guard page to be jumped over
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 7 kernel-rt, kernel-rt-kvm, kernel-rt-trace, kernel-rt-debug-kvm, kernel-rt-trace-kvmaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-754.29.1.el6, kernel 2.6.32-754.29.1.el6, kernel-firmware 2.6.32-754.29.1.el6, kernel-abi-whitelists 2.6.32-754.29.1.el6, kernel-debuginfo-common-i686 2.6.32-754.29.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.29.1.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf 2.6.32-754.29.1.el6, kernel-debuginfo-common-i686 2.6.32-754.29.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.29.1.el6 Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-754.29.1.el6, kernel 2.6.32-754.29.1.el6, kernel-firmware 2.6.32-754.29.1.el6, kernel-abi-whitelists 2.6.32-754.29.1.el6, kernel-debuginfo-common-i686 2.6.32-754.29.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.29.1.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf 2.6.32-754.29.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.29.1.el6 Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-754.29.1.el6, kernel 2.6.32-754.29.1.el6, kernel-kdump 2.6.32-754.29.1.el6, kernel-firmware 2.6.32-754.29.1.el6, kernel-bootwrapper 2.6.32-754.29.1.el6, kernel-abi-whitelists 2.6.32-754.29.1.el6, +4 more Red Hat Enterprise Linux Server Optional (v. 6) python-perf 2.6.32-754.29.1.el6, kernel-debuginfo-common-i686 2.6.32-754.29.1.el6, kernel-debuginfo-common-ppc64 2.6.32-754.29.1.el6, kernel-debuginfo-common-s390x 2.6.32-754.29.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.29.1.el6fixed: vendor fix RHSA-2020:1524
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-754.29.1.el6, kernel 2.6.32-754.29.1.el6, kernel-firmware 2.6.32-754.29.1.el6, kernel-abi-whitelists 2.6.32-754.29.1.el6, kernel-debuginfo-common-i686 2.6.32-754.29.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.29.1.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf 2.6.32-754.29.1.el6, kernel-debuginfo-common-i686 2.6.32-754.29.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.29.1.el6 -
Red Hat Enterprise Linux 7 perf, kernel, bpftool, python-perf, kernel-kdump, kernel-tools, +3 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (EDB-42276)
Exploit prediction
2.58% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Technology feeds
References
-
exploit-db.com
/exploits/42276/
exploit, third-party-advisory, vdb-entry
-
exploit-db.com
/exploits/42273/
exploit, third-party-advisory, vdb-entry
-
debian.org
/security/2017/dsa-3981
vendor-advisory, third-party-advisory
-
qualys.com
/2017/06/19/stack-clash/stack-clash.txt
third-party-advisory
-
securityfocus.com
/bid/99131
vdb-entry, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2017-1000371
third-party-advisory, vdb-entry
Sources
- CVE List CVE-2017-1000371
- NVD CVE-2017-1000371
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.