CVE-2017-1000365
Published: 19 June 2017
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.
From the Ubuntu Security Team
It was discovered that the Linux kernel did not properly restrict RLIMIT_STACK size. A local attacker could use this in conjunction with another vulnerability to possibly execute arbitrary code.
Notes
Author | Note |
---|---|
sbeattie | proposed patch from kees in patchwork link |
Priority
Status
Package | Release | Status |
---|---|---|
linux Launchpad, Ubuntu, Debian |
artful |
Not vulnerable
(4.11.0-10.15)
|
trusty |
Released
(3.13.0-126.175)
|
|
xenial |
Released
(4.4.0-89.112)
|
|
yakkety |
Ignored
(end of life, was pending)
|
|
zesty |
Released
(4.10.0-30.34)
|
|
bionic |
Not vulnerable
(4.13.0-16.19)
|
|
upstream |
Released
(4.12~rc7)
|
|
Patches: Introduced by b6a2fea39318e43fee84fa7b0b90d68bed92d2ba |
||
linux-armadaxp Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
This package is not directly supported by the Ubuntu Security Team | ||
linux-aws Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Not vulnerable
(4.4.0-1002.2)
|
|
xenial |
Released
(4.4.0-1028.37)
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Not vulnerable
(4.15.0-1001.1)
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-azure Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Not vulnerable
(4.15.0-1023.24~14.04.1)
|
|
xenial |
Not vulnerable
(4.11.0-1009.9)
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Not vulnerable
(4.15.0-1002.2)
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-euclid Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Ignored
(was needed ESM criteria)
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-flo Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
xenial |
Ignored
(abandoned)
|
|
yakkety |
Ignored
(end of life)
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-gcp Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Not vulnerable
(4.10.0-1004.4)
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Not vulnerable
(4.15.0-1001.1)
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-gke Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Released
(4.4.0-1024.24)
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-goldfish Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
xenial |
Ignored
(end of life, was needed)
|
|
yakkety |
Ignored
(end of life)
|
|
zesty |
Ignored
(end of life)
|
|
upstream |
Released
(4.12~rc7)
|
|
bionic |
Does not exist
|
|
linux-grouper Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-hwe Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Released
(4.10.0-30.34~16.04.1)
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Not vulnerable
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-hwe-edge Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Released
(4.10.0-30.34~16.04.1)
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Released
(4.18.0-8.9~18.04.1)
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-kvm Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Not vulnerable
(4.4.0-1004.9)
|
|
zesty |
Does not exist
|
|
bionic |
Not vulnerable
(4.15.0-1002.2)
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-linaro-omap Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-linaro-shared Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-linaro-vexpress Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-lts-quantal Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
This package is not directly supported by the Ubuntu Security Team | ||
linux-lts-raring Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-lts-saucy Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
This package is not directly supported by the Ubuntu Security Team | ||
linux-lts-trusty Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-lts-utopic Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
(trusty was ignored [end of standard support])
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-lts-vivid Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Ignored
(end of life, was needed)
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-lts-wily Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
(trusty was ignored [end of standard support])
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-lts-xenial Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Released
(4.4.0-89.112~14.04.1)
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-maguro Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-mako Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
xenial |
Ignored
(abandoned)
|
|
yakkety |
Ignored
(end of life)
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-manta Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-oem Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Not vulnerable
(4.13.0-1008.9)
|
|
zesty |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
bionic |
Not vulnerable
(4.15.0-1002.3)
|
|
linux-qcm-msm Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-raspi2 Launchpad, Ubuntu, Debian |
artful |
Not vulnerable
(4.10.0-1013.16)
|
trusty |
Does not exist
|
|
xenial |
Released
(4.4.0-1067.75)
|
|
yakkety |
Ignored
(end of life)
|
|
zesty |
Released
(4.10.0-1013.16)
|
|
bionic |
Not vulnerable
(4.13.0-1005.5)
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-snapdragon Launchpad, Ubuntu, Debian |
artful |
Not vulnerable
(4.4.0-1069.74)
|
trusty |
Does not exist
|
|
xenial |
Released
(4.4.0-1069.74)
|
|
yakkety |
Ignored
(end of life)
|
|
zesty |
Released
(4.4.0-1069.74)
|
|
bionic |
Not vulnerable
|
|
upstream |
Released
(4.12~rc7)
|
|
linux-ti-omap4 Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
yakkety |
Does not exist
|
|
zesty |
Does not exist
|
|
upstream |
Released
(4.12~rc7)
|
|
bionic |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.8 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000365
- https://patchwork.kernel.org/patch/9803203/
- https://ubuntu.com/security/notices/USN-3377-1
- https://ubuntu.com/security/notices/USN-3377-2
- https://ubuntu.com/security/notices/USN-3378-1
- https://ubuntu.com/security/notices/USN-3378-2
- https://ubuntu.com/security/notices/USN-3381-1
- https://ubuntu.com/security/notices/USN-3381-2
- NVD
- Launchpad
- Debian