CVE-2017-17805: Canonical Ubuntu Linux

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

The Salsa20 encryption algorithm in the Linux kernel before 4.14.8 does not correctly handle zero-length inputs, allowing a local attacker able to use the AF_ALG-based skcipher interface (CONFIG_CRYPTO_USER_API_SKCIPHER) to cause a denial of service (uninitialized-memory free and kernel crash) or have unspecified other impact by executing a crafted sequence of system calls that use the blkcipher_walk API. Both the generic implementation (crypto/salsa20_generic.c) and x86 implementation (arch/x86/crypto/salsa20_glue.c) of Salsa20 were vulnerable.

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, from 2.6.25, 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.