CVE-2017-1000253
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.
How to fix
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA due date: Sep 30, 2024- linux linux_kernel3.2.70, 3.4.109, 3.10.77, 3.12.43, 3.14.41, 3.16.35, 3.18.14, 3.19.7, 4.0.2 or later
- access.redhat.com/errata/RHSA-2017:2798
- access.redhat.com/errata/RHSA-2017:2795
- access.redhat.com/errata/RHSA-2017:2801
- access.redhat.com/errata/RHSA-2017:2796
- access.redhat.com/errata/RHSA-2017:2799
- access.redhat.com/errata/RHSA-2017:2794
- access.redhat.com/errata/RHSA-2017:2793
- access.redhat.com/errata/RHSA-2017:2797
- access.redhat.com/errata/RHSA-2017:2802
- access.redhat.com/errata/RHSA-2017:2800
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 2.6.25 ≤ v < 3.2.70, 3.3 ≤ v < 3.4.109, 3.5 ≤ v < 3.10.77, 3.11 ≤ v < 3.12.43, 3.13 ≤ v < 3.14.41, 3.15 ≤ v < 3.16.35, 3.17 ≤ v < 3.18.14, 3.19 ≤ v < 3.19.7, 4.0 ≤ v < 4.0.2 | 3.2.70, 3.4.109, 3.10.77, 3.12.43, 3.14.41, 3.16.35, 3.18.14, 3.19.7, 4.0.2 |
| centos centos | 6.0, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 6.9, 7.1406, 7.1503, 7.1511, 7.1611 | — |
| redhat enterprise_linux | 6.0, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 6.9, 7.0, 7.1, 7.2, 7.3 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.