Cloudanix VulnDB

CVE-2017-1000365

High · 7.8

CVSS

7.8

EPSS

0.9%

Published

Jun 19, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A core part of the Linux operating system lets local users send more data than a safety limit allows, which can let them take full control of the computer.

Chainable
Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Full Compromise
Component
OS kernel
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

The Linux kernel fails to account for argument and environment pointers when enforcing the RLIMIT_STACK/RLIM_INFINITY size limit (1/4 of stack size), allowing bypass of the restriction on argv/envp data passed via execve in versions 4.11.5 and earlier.

Why it matters to the business

Systems running affected kernels remain exposed to local attacks that can lead to full compromise, increasing operational risk and potential downtime even years after disclosure, with broad impact across Linux deployments due to high ecosystem prevalence.

How an attack unfolds

A local attacker invokes processes using execve with carefully sized argv and envp arrays that exceed the documented limit by omitting pointer overhead, bypassing the kernel check to deliver oversized payloads that may enable further exploitation such as privilege escalation.

How to fix it

Upgrade all affected Linux kernels to versions after 4.11.5; rebuild and reboot systems with the patched kernel; verify no custom builds retain the flawed stack-limit logic.

How to confirm the fix worked

Run uname -r to confirm kernel > 4.11.5; execute test programs that attempt oversized argv/envp under RLIMIT_STACK and confirm the kernel now enforces the limit including pointers.

Typical attack path

  1. Confirm target runs Linux kernel 4.11.5 or earlier
  2. Craft execve call with argv/envp exceeding the 1/4 RLIMIT_STACK limit via pointer omission
  3. Trigger process execution to bypass size enforcement
  4. Leverage oversized data to facilitate local privilege escalation or kernel memory corruption

How to detect it

Review audit logs and process creation events for execve calls carrying unusually large argv or envp arrays; correlate with kernel version checks in system inventory; examine any post-exploitation artifacts from local escalation attempts.

What your security team should do

  • Immediately inventory and upgrade all Linux systems to patched kernels
  • Enforce least-privilege execution and restrict local user capabilities pending patches
  • Add kernel version checks to vulnerability scanning and asset management processes

The record

The Linux Kernel imposes a size restriction on the arguments and environmental strings passed through RLIMIT_STACK/RLIM_INFINITY (1/4 of the size), but does not take the argument and environment pointers into account, which allows attackers to bypass this limitation. This affects Linux Kernel versions 4.11.5 and earlier. It appears that this feature was introduced in the Linux Kernel version 2.6.23.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 4.11.11-1
Debian:12 linux 0 4.11.11-1
Debian:13 linux 0 4.11.11-1
Debian:7 linux 0 3.2.93-1
Debian:8 linux 0 3.16.43-2+deb8u3
Debian:9 linux 0 4.9.30-2+deb9u3
Mageia:5 kernel 0 4.4.74-1.mga5
Mageia:5 kernel-linus 0 4.4.74-1.mga5
Mageia:5 kernel-tmb 0 4.4.74-1.mga5
Mageia:5 kernel-userspace-headers 0 4.4.74-1.mga5
Mageia:5 kmod-vboxadditions 0 5.1.22-7.mga5
Mageia:5 kmod-virtualbox 0 5.1.22-7.mga5
Mageia:5 kmod-xtables-addons 0 2.10-43.mga5
SUSE:Linux Enterprise Desktop 12 SP2 kernel-default 0 4.4.74-92.29.1
SUSE:Linux Enterprise Desktop 12 SP2 kernel-source 0 4.4.74-92.29.1
SUSE:Linux Enterprise Desktop 12 SP2 kernel-syms 0 4.4.74-92.29.1
SUSE:Linux Enterprise High Availability Extension 11 SP4 cluster-network 0 1.4-2.32.2.14
SUSE:Linux Enterprise High Availability Extension 11 SP4 drbd 0 8.4.4-0.27.2.1
SUSE:Linux Enterprise High Availability Extension 11 SP4 drbd-kmp 0 8.4.4-0.27.2.13
SUSE:Linux Enterprise High Availability Extension 11 SP4 gfs2 0 2-0.24.2.14
SUSE:Linux Enterprise High Availability Extension 11 SP4 ocfs2 0 1.6-0.28.3.4
SUSE:Linux Enterprise High Availability Extension 12 SP2 kernel-default 0 4.4.74-92.29.1
SUSE:Linux Enterprise Live Patching 12 kgraft-patch-SLE12-SP2_Update_10 0 1-4.1
SUSE:Linux Enterprise Module for Public Cloud 12 kernel-ec2 0 3.12.74-60.64.63.1
SUSE:Linux Enterprise Module for Public Cloud 12 kernel-ec2 0 3.12.61-52.101.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-default 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-ec2 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-pae 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-source 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-syms 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-trace 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-xen 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Real Time 11 SP4 cluster-network 0 1.4-2.32.2.14
SUSE:Linux Enterprise Real Time 11 SP4 drbd-kmp 0 8.4.4-0.27.2.13
SUSE:Linux Enterprise Real Time 11 SP4 gfs2 0 2-0.24.2.14
SUSE:Linux Enterprise Real Time 11 SP4 kernel-rt 0 3.0.101.rt130-69.5.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-rt_trace 0 3.0.101.rt130-69.5.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-source-rt 0 3.0.101.rt130-69.5.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-syms-rt 0 3.0.101.rt130-69.5.1
SUSE:Linux Enterprise Real Time 11 SP4 ocfs2 0 1.6-0.28.3.4
SUSE:Linux Enterprise Real Time 12 SP2 kernel-rt 0 4.4.88-18.1
SUSE:Linux Enterprise Real Time 12 SP2 kernel-rt 0 4.4.74-7.10.1
SUSE:Linux Enterprise Real Time 12 SP2 kernel-rt_debug 0 4.4.88-18.1
SUSE:Linux Enterprise Real Time 12 SP2 kernel-rt_debug 0 4.4.74-7.10.1
SUSE:Linux Enterprise Real Time 12 SP2 kernel-source-rt 0 4.4.88-18.1
SUSE:Linux Enterprise Real Time 12 SP2 kernel-source-rt 0 4.4.74-7.10.1
SUSE:Linux Enterprise Real Time 12 SP2 kernel-syms-rt 0 4.4.88-18.1
SUSE:Linux Enterprise Real Time 12 SP2 kernel-syms-rt 0 4.4.74-7.10.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-bigsmp 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-default 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-ec2 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-pae 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-source 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-syms 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-trace 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-xen 0 3.0.101-0.47.106.5.1
SUSE:Linux Enterprise Server 11 SP4 kernel-bigmem 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server 11 SP4 kernel-default 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server 11 SP4 kernel-ec2 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server 11 SP4 kernel-pae 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server 11 SP4 kernel-ppc64 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server 11 SP4 kernel-source 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server 11 SP4 kernel-syms 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server 11 SP4 kernel-trace 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server 11 SP4 kernel-xen 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kernel-default 0 3.12.74-60.64.63.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kernel-source 0 3.12.74-60.64.63.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kernel-syms 0 3.12.74-60.64.63.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kernel-xen 0 3.12.74-60.64.63.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kgraft-patch-SLE12-SP1_Update_22 0 1-2.1
SUSE:Linux Enterprise Server 12 SP2 kernel-default 0 4.4.74-92.29.1
SUSE:Linux Enterprise Server 12 SP2 kernel-source 0 4.4.74-92.29.1
SUSE:Linux Enterprise Server 12 SP2 kernel-syms 0 4.4.74-92.29.1
SUSE:Linux Enterprise Server 12-LTSS kernel-default 0 3.12.61-52.101.1
SUSE:Linux Enterprise Server 12-LTSS kernel-source 0 3.12.61-52.101.1
SUSE:Linux Enterprise Server 12-LTSS kernel-syms 0 3.12.61-52.101.1
SUSE:Linux Enterprise Server 12-LTSS kernel-xen 0 3.12.61-52.101.1
SUSE:Linux Enterprise Server 12-LTSS kgraft-patch-SLE12_Update_28 0 1-8.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 kernel-default 0 4.4.74-92.29.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 kernel-source 0 4.4.74-92.29.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 kernel-syms 0 4.4.74-92.29.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-bigmem 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-default 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-ec2 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-pae 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-ppc64 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-source 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-syms 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-trace 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-xen 0 3.0.101-108.7.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-default 0 3.12.74-60.64.63.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-source 0 3.12.74-60.64.63.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-syms 0 3.12.74-60.64.63.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-xen 0 3.12.74-60.64.63.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kgraft-patch-SLE12-SP1_Update_22 0 1-2.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kernel-default 0 4.4.74-92.29.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kernel-source 0 4.4.74-92.29.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kernel-syms 0 4.4.74-92.29.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 kernel-docs 0 3.0.101-108.7.2
SUSE:Linux Enterprise Software Development Kit 12 SP2 kernel-docs 0 4.4.74-92.29.3
SUSE:Linux Enterprise Software Development Kit 12 SP2 kernel-obs-build 0 4.4.74-92.29.1
SUSE:Linux Enterprise Workstation Extension 12 SP2 kernel-default 0 4.4.74-92.29.1
SUSE:OpenStack Cloud 6 kernel-default 0 3.12.74-60.64.63.1
SUSE:OpenStack Cloud 6 kernel-source 0 3.12.74-60.64.63.1
SUSE:OpenStack Cloud 6 kernel-syms 0 3.12.74-60.64.63.1
SUSE:OpenStack Cloud 6 kernel-xen 0 3.12.74-60.64.63.1
SUSE:OpenStack Cloud 6 kgraft-patch-SLE12-SP1_Update_22 0 1-2.1
Ubuntu:14.04:LTS linux 0 3.13.0-126.175
Ubuntu:14.04:LTS linux-aws 0 4.4.0-1002.2
Ubuntu:14.04:LTS linux-azure 0 4.15.0-1023.24~14.04.1
Ubuntu:14.04:LTS linux-lts-xenial 0 4.4.0-89.112~14.04.1
Ubuntu:16.04:LTS linux 0 4.4.0-89.112
Ubuntu:16.04:LTS linux-aws 0 4.4.0-1028.37
Ubuntu:16.04:LTS linux-aws-hwe 0 4.15.0-1030.31~16.04.1
Ubuntu:16.04:LTS linux-azure 0 4.11.0-1009.9
Ubuntu:16.04:LTS linux-gcp 0 4.10.0-1004.4
Ubuntu:16.04:LTS linux-gke 0 4.4.0-1024.24
Ubuntu:16.04:LTS linux-hwe 0 4.10.0-30.34~16.04.1
Ubuntu:16.04:LTS linux-hwe 0 4.10.0-32.36~16.04.1
Ubuntu:16.04:LTS linux-kvm 0 4.4.0-1004.9
Ubuntu:16.04:LTS linux-oem 0 4.13.0-1008.9
Ubuntu:16.04:LTS linux-oracle 0 4.15.0-1007.9~16.04.1
Ubuntu:16.04:LTS linux-raspi2 0 4.4.0-1067.75
Ubuntu:16.04:LTS linux-snapdragon 0 4.4.0-1069.74
Ubuntu:18.04:LTS linux 0 4.13.0-16.19
Ubuntu:18.04:LTS linux-aws 0 4.15.0-1001.1
Ubuntu:18.04:LTS linux-aws-5.4 0 5.4.0-1018.18~18.04.1
Ubuntu:18.04:LTS linux-azure 0 4.15.0-1002.2
Ubuntu:18.04:LTS linux-azure-4.15 0 4.15.0-1082.92
Ubuntu:18.04:LTS linux-azure-5.4 0 5.4.0-1020.20~18.04.1
Ubuntu:18.04:LTS linux-gcp 0 4.15.0-1001.1
Ubuntu:18.04:LTS linux-gcp-4.15 0 4.15.0-1071.81
Ubuntu:18.04:LTS linux-gcp-5.4 0 5.4.0-1019.19~18.04.2
Ubuntu:18.04:LTS linux-hwe-5.4 0 5.4.0-37.41~18.04.1
Ubuntu:18.04:LTS linux-hwe-edge 0 5.0.0-15.16~18.04.1
Ubuntu:18.04:LTS linux-ibm-5.4 0 5.4.0-1010.11~18.04.2
Ubuntu:18.04:LTS linux-kvm 0 4.15.0-1002.2
Ubuntu:18.04:LTS linux-oem 0 4.15.0-1002.3
Ubuntu:18.04:LTS linux-oracle 0 4.15.0-1007.9
Ubuntu:18.04:LTS linux-oracle-5.4 0 5.4.0-1019.19~18.04.1
Ubuntu:18.04:LTS linux-raspi-5.4 0 5.4.0-1013.13~18.04.1
Ubuntu:18.04:LTS linux-raspi2 0 4.13.0-1005.5
Ubuntu:20.04:LTS linux 0 5.4.0-9.12
Ubuntu:20.04:LTS linux-aws 0 5.4.0-1005.5
Ubuntu:20.04:LTS linux-aws-5.15 0 5.15.0-1014.18~20.04.1
Ubuntu:20.04:LTS linux-azure 0 5.4.0-1006.6
Ubuntu:20.04:LTS linux-azure-5.15 0 5.15.0-1007.8~20.04.1
Ubuntu:20.04:LTS linux-azure-fde 0 No fix
Ubuntu:20.04:LTS linux-azure-fde-5.15 0 5.15.0-1019.24~20.04.1.1
Ubuntu:20.04:LTS linux-bluefield 0 5.4.0-1007.10
Ubuntu:20.04:LTS linux-gcp 0 5.4.0-1005.5
Ubuntu:20.04:LTS linux-gcp-5.15 0 5.15.0-1006.9~20.04.1
Ubuntu:20.04:LTS linux-gke 0 No fix
Ubuntu:20.04:LTS linux-gkeop 0 5.4.0-1008.9
Ubuntu:20.04:LTS linux-gkeop-5.15 0 5.15.0-1003.5~20.04.2
Ubuntu:20.04:LTS linux-hwe-5.15 0 5.15.0-33.34~20.04.1
Ubuntu:20.04:LTS linux-ibm 0 5.4.0-1003.4
Ubuntu:20.04:LTS linux-ibm-5.15 0 5.15.0-1033.36~20.04.1
Ubuntu:20.04:LTS linux-intel-iotg-5.15 0 5.15.0-1003.5~20.04.1
Ubuntu:20.04:LTS linux-iot 0 5.4.0-1001.3
Ubuntu:20.04:LTS linux-kvm 0 5.4.0-1004.4
Ubuntu:20.04:LTS linux-lowlatency-hwe-5.15 0 5.15.0-33.34~20.04.1
Ubuntu:20.04:LTS linux-oracle 0 5.4.0-1005.5
Ubuntu:20.04:LTS linux-oracle-5.15 0 5.15.0-1007.9~20.04.1
Ubuntu:20.04:LTS linux-raspi 0 5.4.0-1007.7
Ubuntu:20.04:LTS linux-raspi2 0 No fix
Ubuntu:20.04:LTS linux-riscv 0 No fix
Ubuntu:20.04:LTS linux-riscv-5.15 0 5.15.0-1015.17~20.04.1
Ubuntu:20.04:LTS linux-xilinx-zynqmp 0 5.4.0-1020.24
Ubuntu:22.04:LTS linux 0 5.13.0-19.19
Ubuntu:22.04:LTS linux-aws 0 5.13.0-1005.6
Ubuntu:22.04:LTS linux-aws-6.8 0 6.8.0-1009.9~22.04.2
Ubuntu:22.04:LTS linux-azure 0 5.13.0-1006.7
Ubuntu:22.04:LTS linux-azure-6.8 0 6.8.0-1008.8~22.04.1
Ubuntu:22.04:LTS linux-azure-fde 0 5.15.0-1019.24.1
Ubuntu:22.04:LTS linux-gcp 0 5.13.0-1005.6
Ubuntu:22.04:LTS linux-gcp-6.8 0 6.8.0-1010.11~22.04.1
Ubuntu:22.04:LTS linux-gke 0 5.15.0-1002.2
Ubuntu:22.04:LTS linux-gkeop 0 5.15.0-1001.2
Ubuntu:22.04:LTS linux-hwe-6.8 0 6.8.0-38.38~22.04.1
Ubuntu:22.04:LTS linux-ibm 0 5.15.0-1002.2
Ubuntu:22.04:LTS linux-intel-iot-realtime 0 No fix
Ubuntu:22.04:LTS linux-intel-iot-realtime 0 5.15.0-1021.26
Ubuntu:22.04:LTS linux-intel-iotg 0 5.15.0-1004.6
Ubuntu:22.04:LTS linux-kvm 0 5.13.0-1004.4
Ubuntu:22.04:LTS linux-lowlatency 0 5.15.0-22.22
Ubuntu:22.04:LTS linux-lowlatency-hwe-6.8 0 6.8.0-38.38.1~22.04.2
Ubuntu:22.04:LTS linux-nvidia 0 5.15.0-1005.5
Ubuntu:22.04:LTS linux-nvidia-6.5 0 6.5.0-1004.4
Ubuntu:22.04:LTS linux-nvidia-6.8 0 6.8.0-1008.8~22.04.1
Ubuntu:22.04:LTS linux-oracle 0 5.13.0-1008.10
Ubuntu:22.04:LTS linux-oracle-6.8 0 6.8.0-1006.6~22.04.3
Ubuntu:22.04:LTS linux-raspi 0 5.13.0-1008.9
Ubuntu:22.04:LTS linux-realtime 0 No fix
Ubuntu:22.04:LTS linux-riscv 0 No fix
Ubuntu:22.04:LTS linux-riscv-6.8 0 6.8.0-38.38.1~22.04.1
Ubuntu:22.04:LTS linux-xilinx-zynqmp 0 5.15.0-1022.26
Ubuntu:22.04:LTS:for:NVIDIA:BlueField linux-bluefield 0 5.15.0-1011.13
Ubuntu:24.04:LTS linux 0 6.5.0-9.9
Ubuntu:24.04:LTS linux-aws 0 6.5.0-1008.8

Related vulnerabilities