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

UBUNTU-CVE-2017-17805

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.

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

02 / AFFECTED SOFTWARE

Affected packages

Ubuntu:14.04:LTS linux

128 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-raspi-realtime

1 explicit affected versions

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

3 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

related USN-3617-1
related USN-3617-3
related USN-3620-2

04 / EVIDENCE

Source records

Open Source Vulnerabilities UBUNTU-CVE-2017-17805

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.

View original source

05 / REFERENCES

Further evidence