Skip to content
Fencer Intel
high 7.8

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 9y ago modified 4mo 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

Is CVE-2017-1000371 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-kvm
    affected: 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.el6
    +2 more products
    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
    fixed: vendor fix RHSA-2020:1524
  • 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-firmware
    not 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

  1. Published
  2. 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-09).

Exploits and checks

  • EDB-42276 Linux Kernel (Debian 9/10 / Ubuntu 14.04.5/16.04.2/17.04 / Fedora 23/24/25) - 'ldso_dynamic Stack Clash' Local Privilege Escalation local, 2017-06-28
  • EDB-42273 Linux Kernel - 'offset2lib' Stack Clash local, 2017-06-28

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

Sources

Fencer Intel 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.