Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-1000370 EUVD-2017-1529GHSA-wgvc-2mqw-6w3w

The offset2lib patch as used in the Linux Kernel contains a vulnerability that allows a PIE binary to be execve()'ed with 1GB of arguments …

Published Jun 19, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

The offset2lib patch as used in the Linux Kernel contains a vulnerability that allows a PIE binary to be execve()'ed with 1GB of arguments or environmental strings then the stack occupies the address 0x80000000 and the PIE binary is mapped above 0x40000000 nullifying the protection of the offset2lib patch. This affects Linux Kernel version 4.11.5 and earlier. This is a different issue than CVE-2017-1000371. This issue appears to be limited to i386 based systems.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.11.11-1 —
Debian 13 linux 4.11.11-1 —
Debian 12 linux 4.11.11-1 —
Debian 9 linux 4.9.30-2+deb9u5 DSA-3981-1
Debian 8 linux 3.16.43-2+deb8u5 DSA-3981-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-riscv +2 No fix yet —
Ubuntu 20.04 LTS linux-gke +3 No fix yet —
Ubuntu 18.04 LTS linux-gcp +4 No fix yet —
Ubuntu 16.04 LTS linux 4.4.0-93.116 —
Ubuntu 16.04 LTS linux-aws 4.4.0-1032.41 —
Ubuntu 16.04 LTS linux-gcp 4.13.0-1002.5 —
Ubuntu 16.04 LTS linux-gke 4.4.0-1028.28 —
Ubuntu 16.04 LTS linux-hwe 4.13.0-32.35~16.04.1 —
Ubuntu 16.04 LTS linux-raspi2 4.4.0-1071.79 —
Ubuntu 16.04 LTS linux-snapdragon 4.4.0-1073.78 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS linux-lts-xenial 4.4.0-93.116~14.04.1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 kernel-uek +5 4.1.12-124.39.5.el7uek ELSA-2020-5708

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References