CVE-2017-1000253
Linux Kernel PIE Stack Buffer Corruption Vulnerability
- Actively exploited
- Used by ransomware
- High · 7.8 of 10
- Exploited since
- 9 Sep 2024 added to the CISA list
- Chance of attacks
- 11% in the next 30 days (FIRST EPSS)
- Fix deadline
- 30 Sep 2024 for US federal agencies
- Published
- 5 Oct 2017 in the NVD
What this means
Linux kernel contains a position-independent executable (PIE) stack buffer corruption vulnerability in load_elf_ binary() that allows a local attacker to escalate privileges.
CISA
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.
NIST National Vulnerability Database
What to do
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- n/a n/a
- centos centos
- redhat enterprise_linux
- linux linux_kernel
Official sources
- nvd.nist.gov/vuln/detail/CVE-2017-1000253
- securityfocus.com/bid/101010
- securitytracker.com/id/1039434
- access.redhat.com/errata/RHSA-2017:2793
- access.redhat.com/errata/RHSA-2017:2794
- access.redhat.com/errata/RHSA-2017:2795
- access.redhat.com/errata/RHSA-2017:2796
- access.redhat.com/errata/RHSA-2017:2797
- access.redhat.com/errata/RHSA-2017:2798
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.