CVE-2017-1000253
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.
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2024-09-09). If you run an affected version, patch or mitigate now.
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-hwe | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-oem | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | linux-raspi2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-euclid | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-flo | Fix pending | ||
| Ubuntu 16.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-goldfish | Fix pending | ||
| Ubuntu 16.04 | linux-hwe | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-hwe-edge | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-kvm | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-mako | Fix pending | ||
| Ubuntu 16.04 | linux-oem | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-raspi2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-snapdragon | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | linux | Fixed | 3.13.0-57.95 | UBUNTU-CVE-2017-1000253 |
| Ubuntu 14.04 | linux-flo | Fix pending | ||
| Ubuntu 14.04 | linux-goldfish | Fix pending | ||
| Ubuntu 14.04 | linux-grouper | Fix pending | ||
| Ubuntu 14.04 | linux-lts-utopic | Fix pending | ||
| Ubuntu 14.04 | linux-lts-vivid | Fix pending | ||
| Ubuntu 14.04 | linux-lts-wily | Fix pending | ||
| Ubuntu 14.04 | linux-maguro | Fix pending | ||
| Ubuntu 14.04 | linux-mako | Fix pending | ||
| Ubuntu 14.04 | linux-manta | Fix pending | ||
| Debian 14 | linux | Fixed | 4.0.2-1 | DEBIAN-CVE-2017-1000253 |
| Debian 13 | linux | Fixed | 4.0.2-1 | DEBIAN-CVE-2017-1000253 |
| Debian 12 | linux | Fixed | 4.0.2-1 | DEBIAN-CVE-2017-1000253 |
| Red Hat Enterprise Linux 7 | kernel | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-abi-whitelists | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-bootwrapper | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-debug | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-debug-devel | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-ppc64 | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-ppc64le | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-s390x | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-x86_64 | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-devel | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-doc | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-headers | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-kdump | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-kdump-devel | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-debug | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-debug-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-trace | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-trace-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-trace-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-tools | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-tools-libs | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-tools-libs-devel | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | perf | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | python-perf | Fixed | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux 6 | kernel | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-abi-whitelists | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-bootwrapper | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-debug | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-debug-devel | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-i686 | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-ppc64 | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-s390x | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-x86_64 | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-devel | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-doc | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-firmware | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-headers | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-kdump | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | kernel-kdump-devel | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | perf | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
| Red Hat Enterprise Linux 6 | python-perf | Fixed | 0:2.6.32-696.10.3.el6 | RHSA-2017:2795 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2017:2798 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2795 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2801 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2796 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2799 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2794 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2017:2798
- https://access.redhat.com/errata/RHSA-2017:2795
- http://www.securitytracker.com/id/1039434
- https://access.redhat.com/errata/RHSA-2017:2801
- https://access.redhat.com/errata/RHSA-2017:2796
- http://www.securityfocus.com/bid/101010
- https://access.redhat.com/errata/RHSA-2017:2799
- https://access.redhat.com/errata/RHSA-2017:2794
- https://access.redhat.com/errata/RHSA-2017:2793
- https://access.redhat.com/errata/RHSA-2017:2797
- https://access.redhat.com/errata/RHSA-2017:2802
- https://www.qualys.com/2017/09/26/cve-2017-1000253/cve-2017-1000253.txt
- https://access.redhat.com/errata/RHSA-2017:2800
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.