CVE-2017-17805: Input Validation

Published Dec 20, 2017
·
Updated

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.

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 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
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-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 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
  3. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.14.8

Event History

Dec 20, 2017
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description
Data Sourced
via NVD·11:29 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

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