Live threats

All CVEs / Linux

CVE-2017-1000253Linux Kernel

Linux Kernel PIE Stack Buffer Corruption in load_elf_binary()

High 7.8 KEVRansomware High EPSS

Priority
63
CVSS 3.1
7.8
EPSS
10.7%
probability of exploitation in 30 days · percentile 97
Auth required
Yes
In KEV since
Sep 9, 2024
CISA deadline
Sep 30, 2024
Ransomware use
Confirmed
Published
Oct 5, 2017
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-119
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

The Linux kernel contains a buffer corruption vulnerability in the load_elf_binary() function affecting distributions with CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE enabled. An authenticated local attacker can escalate privileges by exploiting improper memory space allocation for position-independent executable (PIE) binaries. CISA confirmed this vulnerability as actively exploited.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

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

Action required by CISA: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 3.10.77

Update the Linux kernel to version 3.10.77 or later that includes commit a87938b2e246b81b4fb713edb371a9fa3c5c3c86, or apply security patches from your distribution vendor.

Vendor advisory · access.redhat.com ↗

  1. Apply the vendor's security update for Kernel.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was September 30, 2024.
  3. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
centoscentos6.0
centoscentos6.1
centoscentos6.2
centoscentos6.3
centoscentos6.4
centoscentos6.5
centoscentos6.6
centoscentos6.7
centoscentos6.8
centoscentos6.9
centoscentos7.1406
centoscentos7.1503
centoscentos7.1511
centoscentos7.1611
redhatenterprise_linux6.0
redhatenterprise_linux6.1
redhatenterprise_linux6.2
redhatenterprise_linux6.3
redhatenterprise_linux6.4
redhatenterprise_linux6.5
redhatenterprise_linux6.6
redhatenterprise_linux6.7
redhatenterprise_linux6.8
redhatenterprise_linux6.9
redhatenterprise_linux7.0
redhatenterprise_linux7.1
redhatenterprise_linux7.2
redhatenterprise_linux7.3
linuxlinux_kernel≥ 2.6.25 < 3.2.70
linuxlinux_kernel≥ 3.3 < 3.4.109
linuxlinux_kernel≥ 3.5 < 3.10.77
linuxlinux_kernel≥ 3.11 < 3.12.43
linuxlinux_kernel≥ 3.13 < 3.14.41
linuxlinux_kernel≥ 3.15 < 3.16.35
linuxlinux_kernel≥ 3.17 < 3.18.14
linuxlinux_kernel≥ 3.19 < 3.19.7
linuxlinux_kernel≥ 4.0 < 4.0.2

Official sources

References

Links published by the sources. Open them with care.