CVE-2017-17805 (NVD)

2017-12-20

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.

Products Ubuntu_linux, Debian_linux, Linux_kernel, Leap, Leap, Linux_enterprise_desktop, Linux_enterprise_server, Linux_enterprise_server_for_raspberry_pi
Type Improper Input Validation (CWE-20)
First patch https://github.com/torvalds/linux/commit/ecaaab5649781c5a0effdaf298a925063020500e
Patches http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ecaaab5649781c5a0effdaf298a925063020500e
Relevant file/s • ./arch/x86/crypto/salsa20_glue.c (modified, -7)
• ./crypto/salsa20_generic.c (modified, -7)
Links https://www.debian.org/security/2017/dsa-4073
https://usn.ubuntu.com/3632-1/
https://access.redhat.com/errata/RHSA-2018:3096
https://usn.ubuntu.com/3619-1/
http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00016.html

linux - Tree: ecaaab5649

(? files)

Filter Settings
Files
Navigation
Patch data:

(on by default)


Patched area: