cve.bz

CVE-2017-1000371 (Stack Clash) linux linux kernel

7.8 highExploitEPSS 2.6%

Known as Stack Clash

High (7.8) in linux linux kernel. EPSS 2.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.6% (unchanged from 2.6% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-1000371 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-1000371?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-1000371?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-1000371 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 4.1 before 4.1.43
linux:linux_kernelfrom 4.2 before 4.4.78
linux:linux_kernelfrom 4.5 before 4.9.39
linux:linux_kernelfrom 4.10 before 4.11.12
linux:linux_kernelfrom 4.12 before 4.12.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux3.16.43-2+deb8u5DSA-3981-1
Debian9linux4.9.30-2+deb9u5DSA-3981-1
Debian12, 13, 14linux4.11.11-1DEBIAN-CVE-2017-1000371
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-93.116~14.04.1UBUNTU-CVE-2017-1000371
Ubuntu16.04:LTSlinux4.4.0-93.116UBUNTU-CVE-2017-1000371
Ubuntu16.04:LTSlinux-aws4.4.0-1032.41UBUNTU-CVE-2017-1000371
Ubuntu16.04:LTSlinux-gcp4.13.0-1002.5UBUNTU-CVE-2017-1000371
Ubuntu16.04:LTSlinux-gke4.4.0-1028.28UBUNTU-CVE-2017-1000371
Ubuntu16.04:LTSlinux-hwe4.13.0-32.35~16.04.1UBUNTU-CVE-2017-1000371
Ubuntu16.04:LTSlinux-raspi24.4.0-1071.79UBUNTU-CVE-2017-1000371
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1073.78UBUNTU-CVE-2017-1000371
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 2 moreno fix listedUBUNTU-CVE-2017-1000371
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 1 moreno fix listedUBUNTU-CVE-2017-1000371
Ubuntu22.04:LTSlinux-riscv, linux-realtime, linux-intel-iot-realtimeno fix listedUBUNTU-CVE-2017-1000371
Ubuntu24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2017-1000371
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::workstationperf, kernel, kernel-doc and 12 more0:2.6.32-754.29.1.el6RHSA-2020:1524
Red Hatenterprise_linux:6::serverperf, kernel, kernel-doc and 18 more0:2.6.32-754.29.1.el6RHSA-2020:1524

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue does not affect the Linux kernel packages as shipped with Red Hat

Enterprise Linux 7, MRG-2 and realtime kernels.

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 and 6.

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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernel-0:2.6.32-754.29.1.el6Fixed 2020-04-22RHSA-2020:1524
Red Hat Enterprise Linux 5kernelWill not fix
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-altWill not fix
Red Hat Enterprise Linux 7kernel-rtWill not fix
Red Hat Enterprise MRG 2realtime-kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-1000371.

Public exploits

References

Check your stackJSON