CVE-2017-1000253

Linux Kernel: PIE Stack Buffer Corruption

As of , CVE-2017-1000253 in Linux Kernel is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

Exploited
Yes: CISA listed it on 9 September 2024
US federal deadline
30 September 202421 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Known
EPSS score
0.11Higher than 95% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
EPSS when listed
0.00 on 9 September 2024EPSS on the day CISA listed it.
Public exploit
1 Exploit-DB entry
Fix
Vendor advice: git.kernel.orgLinks below, from CISA's entry.

What CISA says to do

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

CISA's required action

What the flaw is

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's 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.

The CVE record's description, from mitre

CVE published
4 October 2017
Assigned by
mitre
CVSS
7.8 High (CVSS 3.1, from CISA-ADP)
CWE-119
Improper Restriction of Operations within the Bounds of a Memory Buffer
CISA SSVC, exploitation
active
CISA SSVC, automatable
no
CISA SSVC, technical impact
total

Timeline

  1. Exploit-DB published an exploit (EDB-ID 42887).
  2. The CVE record was published.
  3. CISA added it to its list of exploited vulnerabilities.
  4. The US federal deadline to fix it.

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Kernel: other exploited entries

VulnerabilityProductOur groupListedDeadlineEPSS
CVE-2025-39682Improper Check for Unusual or Exceptional ConditionsLinux KernelPatch nowForensic triage required by CISA0.03
CVE-2025-39964Race ConditionLinux KernelPatch nowForensic triage required by CISA0.01
CVE-2026-53266Out-of-Bounds WriteLinux KernelPatch nowForensic triage required by CISA0.01
CVE-2026-53362UnspecifiedLinux KernelPatch nowForensic triage required by CISA0.01
CVE-2021-22555Heap Out-of-Bounds WriteLinux KernelPatch this weekMetasploit module; EPSS 0.79; verified Exploit-DB entry0.79
CVE-2013-6282Improper Input ValidationLinux KernelPatch this weekMetasploit module; verified Exploit-DB entry0.40
CVE-2019-13272Improper Privilege ManagementLinux KernelPatch this weekMetasploit module; EPSS 0.52; verified Exploit-DB entry0.52
CVE-2010-3904Improper Input ValidationLinux KernelPatch this weekMetasploit module; verified Exploit-DB entry0.16
CVE-2022-0847Privilege EscalationLinux KernelPatch this weekMetasploit module; EPSS 0.930.93
CVE-2021-3493Privilege EscalationLinux KernelPatch this weekMetasploit module0.49

All 31 entries for Kernel

Read further