CVE-2017-17712
Published: 15 December 2017
The raw_sendmsg() function in net/ipv4/raw.c in the Linux kernel through 4.14.6 has a race condition in inet->hdrincl that leads to uninitialized stack pointer usage; this allows a local user to execute code and gain privileges.
From the Ubuntu Security Team
Mohamed Ghannam discovered that the IPv4 raw socket implementation in the Linux kernel contained a race condition leading to uninitialized pointer usage. A local attacker could use this to cause a denial of service or possibly execute arbitrary code.
Notes
Author | Note |
---|---|
seth-arnold | I haven't tested the exploit; 'high' may or may not be appropriate for our kernels. Please feel free to re-adjust. |
Priority
Status
Package | Release | Status |
---|---|---|
linux Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(4.15.0-10.11)
|
upstream |
Released
(4.15~rc4)
|
|
trusty |
Not vulnerable
|
|
xenial |
Released
(4.4.0-116.140)
|
|
artful |
Released
(4.13.0-36.40)
|
|
zesty |
Ignored
(end of life)
|
|
Patches: Introduced by c008ba5bdc9fa830e1a349b20b0be5a137bdef7a |
||
linux-linaro-omap Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
upstream |
Released
(4.15~rc4)
|
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
artful |
Does not exist
|
|
zesty |
Does not exist
|
|
linux-linaro-shared Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
upstream |
Released
(4.15~rc4)
|
|
artful |
Does not exist
|
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
linux-armadaxp Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
upstream |
Released
(4.15~rc4)
|
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
artful |
Does not exist
|
|
This package is not directly supported by the Ubuntu Security Team | ||
linux-aws Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(4.15.0-1001.1)
|
upstream |
Released
(4.15~rc4)
|
|
artful |
Does not exist
|
|
trusty |
Released
(4.4.0-1014.14)
|
|
xenial |
Released
(4.4.0-1052.61)
|
|
zesty |
Does not exist
|
|
linux-ti-omap4 Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-linaro-vexpress Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-qcm-msm Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-lts-quantal Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
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
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-goldfish Launchpad, Ubuntu, Debian |
trusty |
Does not exist
(trusty was ignored [abandoned])
|
xenial |
Not vulnerable
|
|
zesty |
Not vulnerable
|
|
artful |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-grouper Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-flo Launchpad, Ubuntu, Debian |
trusty |
Does not exist
(trusty was ignored [abandoned])
|
xenial |
Ignored
(abandoned)
|
|
zesty |
Does not exist
|
|
artful |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-mako Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
xenial |
Ignored
(abandoned)
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-manta Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.15~rc4)
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
linux-lts-utopic Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [end of standard support])
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-raspi2 Launchpad, Ubuntu, Debian |
artful |
Released
(4.13.0-1014.15)
|
trusty |
Does not exist
|
|
xenial |
Released
(4.4.0-1085.93)
|
|
zesty |
Ignored
(end of life)
|
|
bionic |
Not vulnerable
(4.15.0-1006.7)
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-lts-vivid Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
trusty |
Ignored
(end of life, was needs-triage)
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-lts-wily Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
(trusty was ignored [end of standard support])
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
linux-lts-xenial Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
trusty |
Released
(4.4.0-116.140~14.04.1)
|
|
upstream |
Released
(4.15~rc4)
|
|
xenial |
Does not exist
|
|
linux-snapdragon Launchpad, Ubuntu, Debian |
artful |
Released
(4.4.0-1088.93)
|
trusty |
Does not exist
|
|
xenial |
Released
(4.4.0-1087.92)
|
|
zesty |
Ignored
(end of life)
|
|
bionic |
Not vulnerable
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-gke Launchpad, Ubuntu, Debian |
trusty |
Does not exist
|
zesty |
Does not exist
|
|
artful |
Does not exist
|
|
xenial |
Ignored
(end of standard support, was needed)
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-hwe Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Released
(4.13.0-36.40~16.04.1)
|
|
zesty |
Does not exist
|
|
bionic |
Not vulnerable
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-hwe-edge Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Released
(4.13.0-36.40~16.04.1)
|
|
zesty |
Does not exist
|
|
bionic |
Released
(4.18.0-8.9~18.04.1)
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-azure Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Not vulnerable
(4.15.0-1023.24~14.04.1)
|
|
xenial |
Released
(4.13.0-1011.14)
|
|
zesty |
Does not exist
|
|
bionic |
Not vulnerable
(4.15.0-1002.2)
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-gcp Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Released
(4.13.0-1011.15)
|
|
zesty |
Does not exist
|
|
bionic |
Not vulnerable
(4.15.0-1001.1)
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-euclid Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Released
(4.4.0-9025.27)
|
|
zesty |
Does not exist
|
|
bionic |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-kvm Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
xenial |
Released
(4.4.0-1019.24)
|
|
zesty |
Does not exist
|
|
bionic |
Not vulnerable
(4.15.0-1002.2)
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-oem Launchpad, Ubuntu, Debian |
trusty |
Does not exist
|
artful |
Does not exist
|
|
xenial |
Released
(4.13.0-1021.23)
|
|
zesty |
Does not exist
|
|
bionic |
Not vulnerable
(4.15.0-1002.3)
|
|
upstream |
Released
(4.15~rc4)
|
|
linux-lts-saucy Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
This package is not directly supported by the Ubuntu Security Team | ||
linux-lts-trusty Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(4.15~rc4)
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
linux-maguro Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(4.15~rc4)
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.0 |
Attack vector | Local |
Attack complexity | High |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17712
- http://www.openwall.com/lists/oss-security/2017/12/16/1
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c008ba5bdc9fa830e1a349b20b0be5a137bdef7a
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8f659a03a0ba9289b9aeb9b4470e6fb263d6f483
- https://ubuntu.com/security/notices/USN-3581-1
- https://ubuntu.com/security/notices/USN-3581-2
- https://ubuntu.com/security/notices/USN-3582-1
- https://ubuntu.com/security/notices/USN-3582-2
- https://ubuntu.com/security/notices/USN-3581-3
- NVD
- Launchpad
- Debian