CVE-2017-17806: Canonical Ubuntu Linux

High severity, CVSS 7.8. EPSS: 0.6% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Linux Kernel, before 3.2.97: fixed in 3.2.97
  • Linux Kernel, from 3.3, before 3.16.52: fixed in 3.16.52
  • Linux Kernel, from 3.17, before 3.18.89: fixed in 3.18.89
  • Linux Kernel, from 3.19, before 4.1.49: fixed in 4.1.49
  • Linux Kernel, from 4.2, before 4.4.107: fixed in 4.4.107
  • Linux Kernel, from 4.5, before 4.9.71: fixed in 4.9.71
  • Linux Kernel, from 4.10, before 4.14.8: fixed in 4.14.8

Affected products

Published 2017-12-20. Last modified 2026-06-17.