FlawAtlas
Search the atlas
UBUNTU-CVE-2017-17806 High

UBUNTU-CVE-2017-17806

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.

Exploit probability Not scored
Published December 20, 2017
Required by Not available
Last source change August 17, 2026

02 / AFFECTED SOFTWARE

Affected packages

Ubuntu:14.04:LTS linux

126 explicit affected versions

Ubuntu:14.04:LTS linux-aws

9 explicit affected versions

Ubuntu:14.04:LTS linux-lts-xenial

49 explicit affected versions

Ubuntu:16.04:LTS linux

70 explicit affected versions

Ubuntu:16.04:LTS linux-aws

30 explicit affected versions

Ubuntu:16.04:LTS linux-azure

12 explicit affected versions

Ubuntu:16.04:LTS linux-gcp

10 explicit affected versions

Ubuntu:16.04:LTS linux-hwe

31 explicit affected versions

Ubuntu:16.04:LTS linux-kvm

10 explicit affected versions

Ubuntu:16.04:LTS linux-oem

8 explicit affected versions

Ubuntu:16.04:LTS linux-raspi2

44 explicit affected versions

Ubuntu:16.04:LTS linux-snapdragon

41 explicit affected versions

Ubuntu:20.04:LTS linux-azure-fde

26 explicit affected versions

Ubuntu:20.04:LTS linux-gke

51 explicit affected versions

Ubuntu:20.04:LTS linux-raspi2

6 explicit affected versions

Ubuntu:20.04:LTS linux-riscv

12 explicit affected versions

Ubuntu:22.04:LTS linux-intel-iot-realtime

1 explicit affected versions

Ubuntu:22.04:LTS linux-realtime

1 explicit affected versions

Ubuntu:22.04:LTS linux-riscv

23 explicit affected versions

Ubuntu:24.04:LTS linux-azure-6.11

7 explicit affected versions

Ubuntu:24.04:LTS linux-gcp-6.11

7 explicit affected versions

Ubuntu:24.04:LTS linux-hwe-6.11

8 explicit affected versions

Ubuntu:24.04:LTS linux-lowlatency-hwe-6.11

7 explicit affected versions

Ubuntu:24.04:LTS linux-raspi-realtime

1 explicit affected versions

Ubuntu:Pro:20.04:LTS linux-azure-fde-5.15

61 explicit affected versions

Ubuntu:Pro:FIPS:16.04:LTS linux-fips

3 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

related USN-3583-2
related USN-3617-1
related USN-3617-3

04 / EVIDENCE

Source records

Open Source Vulnerabilities UBUNTU-CVE-2017-17806

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.

View original source

05 / REFERENCES

Further evidence