Description
The HMAC implementation (crypto/hmac.c) in the Linux kernel before 4.14.8 does not validate that the underlying cryptographic hash algorithm is unkeyed, allowing a local attacker able to use the AF_ALG-based hash interface (CONFIG_CRYPTO_USER_API_HASH) and the SHA-3 hash algorithm (CONFIG_CRYPTO_SHA3) to cause a kernel stack buffer overflow by executing a crafted sequence of system calls that encounter a missing SHA-3 initialization.
References (21)
Core 21
Core References
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3617-1/
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3619-2/
Third Party Advisory vendor-advisory
x_refsource_debian
https://www.debian.org/security/2018/dsa-4082
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3617-3/
Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/01/msg00004.html
Issue Tracking, Patch, Third Party Advisory vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00008.html
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3583-2/
Issue Tracking, Patch, Third Party Advisory vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html
Patch x_refsource_confirm
https://github.com/torvalds/linux/commit/af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3632-1/
Issue Tracking, Patch, Third Party Advisory vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00014.html
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/102293
Patch x_refsource_confirm
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1
Third Party Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:2948
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3583-1/
Issue Tracking, Release Notes x_refsource_confirm
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.8
Issue Tracking, Patch, Third Party Advisory vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00006.html
Third Party Advisory vendor-advisory
x_refsource_debian
https://www.debian.org/security/2017/dsa-4073
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3617-2/
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3619-1/
Issue Tracking, Third Party Advisory vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00016.html
Scores
CVSS v3
7.8
EPSS
0.0001
EPSS Percentile
1.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-787
Status
published
Products (13)
canonical/ubuntu_linux
12.04
canonical/ubuntu_linux
14.04
canonical/ubuntu_linux
16.04
canonical/ubuntu_linux
17.10
debian/debian_linux
8.0
debian/debian_linux
9.0
linux/linux_kernel
< 3.2.97
opensuse/leap
42.2
opensuse_project/leap
42.3
suse/linux_enterprise_desktop
12 sp2 (2 CPE variants)
... and 3 more
Published
Dec 20, 2017
Tracked Since
Feb 18, 2026