CVEvulnerability

CVE-2017-1000253

7.8 HIGH Known exploited Published 2017-10-05 Modified 2026-06-17 Official page ↗

CISA Known Exploited Vulnerability

Linux Kernel PIE Stack Buffer Corruption Vulnerability — Linux Kernel

Linux kernel contains a position-independent executable (PIE) stack buffer corruption vulnerability in load_elf_ binary() that allows a local attacker to escalate privileges.

Added to KEV
2024-09-09
Remediation due
2024-09-30
Ransomware use
Known
Required action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Notes
This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more information, please see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a87938b2e246b81b4fb713edb371a9fa3c5c3c86; https://nvd.nist.gov/vuln/detail/CVE-2017-1000253
Status
Analyzed
Published
2017-10-05
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
Weaknesses
CWE-119

Description

Linux distributions that have not patched their long-term kernels with https://git.kernel.org/linus/a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (committed on April 14, 2015). This kernel vulnerability was fixed in April 2015 by commit a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (backported to Linux 3.10.77 in May 2015), but it was not recognized as a security threat. With CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE enabled, and a normal top-down address allocation strategy, load_elf_binary() will attempt to map a PIE binary into an address range immediately below mm->mmap_base. Unfortunately, load_elf_ binary() does not take account of the need to allocate sufficient space for the entire binary which means that, while the first PT_LOAD segment is mapped below mm->mmap_base, the subsequent PT_LOAD segment(s) end up being mapped above mm->mmap_base into the are that is supposed to be the "gap" between the stack and the binary.

Affected configurations

• centos centos 6.0 • centos centos 6.1 • centos centos 6.2 • centos centos 6.3 • centos centos 6.4 • centos centos 6.5 • centos centos 6.6 • centos centos 6.7 • centos centos 6.8 • centos centos 6.9 • centos centos 7.1406 • centos centos 7.1503 • centos centos 7.1511 • centos centos 7.1611 • redhat enterprise linux 6.0 • redhat enterprise linux 6.1 • redhat enterprise linux 6.2 • redhat enterprise linux 6.3 • redhat enterprise linux 6.4 • redhat enterprise linux 6.5 • redhat enterprise linux 6.6 • redhat enterprise linux 6.7 • redhat enterprise linux 6.8 • redhat enterprise linux 6.9 • redhat enterprise linux 7.0 • redhat enterprise linux 7.1 • redhat enterprise linux 7.2 • redhat enterprise linux 7.3 • linux linux kernel (>= 2.6.25 < 3.2.70) • linux linux kernel (>= 3.3 < 3.4.109) • linux linux kernel (>= 3.5 < 3.10.77) • linux linux kernel (>= 3.11 < 3.12.43) • linux linux kernel (>= 3.13 < 3.14.41) • linux linux kernel (>= 3.15 < 3.16.35) • linux linux kernel (>= 3.17 < 3.18.14) • linux linux kernel (>= 3.19 < 3.19.7) • linux linux kernel (>= 4.0 < 4.0.2)

Related

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References