CVE-2017-17805: Input Validation

Published Dec 20, 2017
·
Updated

Last updated 4 July 2026

Other sources

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 AFALG-based skcipher interface (CONFIGCRYPTOUSERAPISKCIPHER) 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 blkcipherwalk API. Both the generic implementation (crypto/salsa20generic.c) and x86 implementation (arch/x86/crypto/salsa20glue.c) of Salsa20 were vulnerable.

Launchpad

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 AFALG-based skcipher interface 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 blkcipherwalk API. Both the generic implementation (crypto/salsa20generic.c) and x86 implementation (arch/x86/crypto/salsa20glue.c) of Salsa20 are vulnerable.

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ecaaab5649781c5a0effdaf298a925063020500e

Red Hat

Affected Software

24 affected componentsFixes available
redhat/kernel<4.14.8
4.14.8
Linux Linux kernel>=2.6.25<3.2.97
Linux Linux kernel>=3.3<3.16.52
Linux Linux kernel>=3.17<3.18.89
Linux Linux kernel>=3.19<4.1.49
Linux Linux kernel>=4.2<4.4.107
Linux Linux kernel>=4.5<4.9.71
Linux Linux kernel>=4.10<4.14.8
Debian Debian Linux=8.0
Debian Debian Linux=9.0
openSUSE Leap=42.2
Opensuse Project Leap=42.3
SUSE Linux Enterprise Desktop=12-sp2
SUSE Linux Enterprise Desktop=12-sp3
SUSE Linux Enterprise Server=11-extra
SUSE Linux Enterprise Server=11-sp4
SUSE Linux Enterprise Server=12-sp2
SUSE Linux Enterprise Server=12-sp3
SUSE Linux Enterprise Server For Raspberry Pi=12-sp2
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.7-17.1.8-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 4.14.8
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.7-1Fixed in 7.1.8-1
  3. Upgrade

    Upgrade Linux kernel (Salsa20) to a version that resolves this vulnerability.

    Fixed in 4.14.8
  4. Configuration

    Disable CONFIG_CRYPTO_USER_API_SKCIPHER so local attackers cannot access the AF_ALG-based skcipher interface that can trigger the Salsa20 zero-length input issue via blkcipher_walk.

    Linux kernel crypto user API skcipher (CONFIG_CRYPTO_USER_API_SKCIPHER) CONFIG_CRYPTO_USER_API_SKCIPHER = disabled

Event History

Dec 20, 2017
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description
Data Sourced
via NVD·11:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:34 PM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:10 AM
RemedyDescriptionSeverityAffected Software
Aug 12, 2026
Data Sourced
via Debian·12:40 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-17805?

CVE-2017-17805 is classified as a denial of service vulnerability affecting the Salsa20 encryption algorithm in the Linux kernel.

2

How do I fix CVE-2017-17805?

To fix CVE-2017-17805, upgrade the Linux kernel to version 4.14.8 or later.

3

Which versions of the Linux kernel are affected by CVE-2017-17805?

CVE-2017-17805 affects Linux kernel versions prior to 4.14.8, specifically versions from 2.6.25 up to 4.14.7.

4

What impact does CVE-2017-17805 have on systems?

The impact of CVE-2017-17805 can allow local attackers to cause a denial of service by exploiting the vulnerability.

5

Is CVE-2017-17805 specific to a certain Linux distribution?

CVE-2017-17805 affects multiple Linux distributions that run vulnerable versions of the Linux kernel, including Red Hat, Debian, and Ubuntu.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203