CVE-2017-17805

kernel: Salsa20 encryption algorithm does not correctly handle zero-length inputs allowing local attackers to cause denial-of-service

Published Dec 20, 2017 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1232-1 linux security update
Debian DSA Debian DSA DSA-4073-1 linux security update
Debian DSA Debian DSA DSA-4082-1 linux security update
EUVD EUVD EUVD-2017-8956 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.
Ubuntu USN Ubuntu USN USN-3617-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3617-2 Linux (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3617-3 Linux kernel (Raspberry Pi 2) vulnerabilities
Ubuntu USN Ubuntu USN USN-3619-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3619-2 Linux kernel (Xenial HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3620-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3620-2 Linux kernel (Trusty HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3632-1 Linux kernel (Azure) vulnerabilities
History

No history.