CVE-2019-8912
Published: 18 February 2019
In the Linux kernel through 4.20.11, af_alg_release() in crypto/af_alg.c neglects to set a NULL value for a certain structure member, which leads to a use-after-free in sockfs_setattr.
From the Ubuntu Security Team
It was discovered that a use-after-free vulnerability existed in the user- space API for crypto (af_alg) implementation in the Linux kernel. A local attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code.
Notes
Author | Note |
---|---|
tyhicks | NVD has published CVSS metrics that state that the attack vector is "Network" which results in a CRITICAL CVSS score but that does not match Ubuntu's assessment. The attack vector is "Local" since AF_ALG is a address family that strictly operates locally between a userspace process and the kernel crypto API and the attack requires a specific sequence of operations to be performed on the file descriptor that represents the socket. This has been addressed in a more generic manner, to fix other network families, by this commit in the net tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=ff7b11aa481f682e0e9711abfeb7d03f5cd612bf |
Priority
Status
Package | Release | Status |
---|---|---|
linux Launchpad, Ubuntu, Debian |
upstream |
Released
(5.0)
|
trusty |
Not vulnerable
(3.11.0-12.19)
|
|
xenial |
Not vulnerable
(4.2.0-16.19)
|
|
bionic |
Released
(4.15.0-47.50)
|
|
cosmic |
Released
(4.18.0-17.18)
|
|
disco |
Not vulnerable
(5.0.0-7.8)
|
|
Patches: Introduced by 86741ec25462e4c8cdce6df2f41ead05568c7d5e Introduced by 86741ec25462e4c8cdce6df2f41ead05568c7d5e |
||
linux-flo Launchpad, Ubuntu, Debian |
upstream |
Released
(5.0)
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
xenial |
Ignored
(abandoned)
|
|
linux-aws Launchpad, Ubuntu, Debian |
upstream |
Released
(5.0)
|
trusty |
Not vulnerable
(4.4.0-1002.2)
|
|
xenial |
Not vulnerable
(4.4.0-1001.10)
|
|
bionic |
Released
(4.15.0-1035.37)
|
|
cosmic |
Released
(4.18.0-1012.14)
|
|
disco |
Not vulnerable
(5.0.0-1001.1)
|
|
linux-azure Launchpad, Ubuntu, Debian |
trusty |
Released
(4.15.0-1041.45~14.04.1)
|
bionic |
Released
(4.18.0-1014.14~18.04.1)
|
|
cosmic |
Released
(4.18.0-1014.14)
|
|
disco |
Not vulnerable
(5.0.0-1001.1)
|
|
upstream |
Released
(5.0)
|
|
xenial |
Released
(4.15.0-1041.45)
|
|
linux-gcp-edge Launchpad, Ubuntu, Debian |
upstream |
Released
(5.0)
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
bionic |
Released
(4.18.0-1008.9~18.04.1)
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
linux-aws-hwe Launchpad, Ubuntu, Debian |
upstream |
Released
(5.0)
|
trusty |
Does not exist
|
|
xenial |
Released
(4.15.0-1035.37~16.04.1)
|
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
linux-oracle Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1010.12)
|
cosmic |
Released
(4.15.0-1010.12)
|
|
disco |
Not vulnerable
(4.15.0-1010.12)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0)
|
|
xenial |
Released
(4.15.0-1010.12~16.04.1)
|
|
linux-azure-edge Launchpad, Ubuntu, Debian |
bionic |
Released
(4.18.0-1014.14~18.04.1)
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0)
|
|
xenial |
Released
(4.15.0-1041.45)
|
|
linux-euclid Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0)
|
|
xenial |
Not vulnerable
(4.4.0-9019.20)
|
|
linux-gcp Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1029.31)
|
cosmic |
Released
(4.18.0-1008.9)
|
|
disco |
Not vulnerable
(5.0.0-1001.1)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0)
|
|
xenial |
Released
(4.15.0-1029.31~16.04.1)
|
|
linux-gke Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0)
|
|
xenial |
Ignored
(end of standard support)
|
|
linux-goldfish Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(5.0)
|
|
xenial |
Ignored
(end of life)
|
|
linux-grouper Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(5.0)
|
|
xenial |
Does not exist
|
|
linux-hwe Launchpad, Ubuntu, Debian |
bionic |
Released
(4.18.0-17.18~18.04.1)
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0)
|
|
xenial |
Released
(4.15.0-47.50~16.04.1)
|
|
linux-hwe-edge Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(5.0.0-15.16~18.04.1)
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0)
|
|
xenial |
Released
(4.15.0-47.50~16.04.1)
|
|
linux-kvm Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1031.31)
|
cosmic |
Released
(4.18.0-1009.9)
|
|
disco |
Not vulnerable
(5.0.0-1001.1)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0)
|
|
xenial |
Not vulnerable
(4.4.0-1004.9)
|
|
linux-lts-trusty Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0)
|
|
xenial |
Does not exist
|
|
linux-lts-utopic Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Ignored
(end of life, was ignored)
|
|
upstream |
Released
(5.0)
|
|
xenial |
Does not exist
|
|
linux-lts-vivid Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Ignored
(end of life, was ignored)
|
|
upstream |
Released
(5.0)
|
|
xenial |
Does not exist
|
|
linux-lts-wily Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Ignored
(end of life, was ignored)
|
|
upstream |
Released
(5.0)
|
|
xenial |
Does not exist
|
|
linux-lts-xenial Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Not vulnerable
(4.4.0-13.29~14.04.1)
|
|
upstream |
Released
(5.0)
|
|
xenial |
Does not exist
|
|
linux-maguro Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(5.0)
|
|
xenial |
Does not exist
|
|
linux-mako Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(5.0)
|
|
xenial |
Ignored
(abandoned)
|
|
linux-manta Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
trusty |
Does not exist
(trusty was ignored [abandoned])
|
|
upstream |
Released
(5.0)
|
|
xenial |
Does not exist
|
|
linux-oem Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1035.40)
|
cosmic |
Released
(4.15.0-1035.40)
|
|
disco |
Not vulnerable
(4.15.0-1035.40)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0)
|
|
xenial |
Ignored
(end of standard support, was needs-triage)
|
|
linux-raspi2 Launchpad, Ubuntu, Debian |
bionic |
Released
(4.15.0-1033.35)
|
cosmic |
Released
(4.18.0-1011.13)
|
|
disco |
Not vulnerable
(5.0.0-1004.4)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0)
|
|
xenial |
Not vulnerable
(4.2.0-1013.19)
|
|
linux-snapdragon Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(4.4.0-1077.82)
|
cosmic |
Does not exist
|
|
disco |
Not vulnerable
(5.0.0-1010.10)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.0)
|
|
xenial |
Not vulnerable
(4.4.0-1012.12)
|
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 |