CVE-2017-17806: Buffer Overflow

Published Dec 20, 2017
·
Updated

Last updated 4 July 2026

Other sources

The HMAC implementation (crypto/hmac.c) in the Linux kernel before 4.14.8 does not validate that the underlying cryptographic hash algorithm is unkeyed, allowing a local attacker able to use the AFALG-based hash interface (CONFIGCRYPTOUSERAPIHASH) and the SHA-3 hash algorithm (CONFIGCRYPTOSHA3) to cause a kernel stack buffer overflow by executing a crafted sequence of system calls that encounter a missing SHA-3 initialization.

Launchpad

Affected Software

25 affected componentsFixes available
redhat/kernel<4.14.8
4.14.8
Google Android
Linux Linux kernel<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 to a version that resolves this vulnerability.

    Fixed in 4.14.8Patch af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1
  4. Compensating control

    Ensure CONFIG_CRYPTO_USER_API_HASH is disabled and CONFIG_CRYPTO_SHA3 is not enabled on affected systems to prevent use of the AF_ALG-based hash interface and the SHA-3 hash algorithm as described for kernels before 4.14.8.

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:02 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-17806?

CVE-2017-17806 is a high-severity vulnerability due to improper validation in the HMAC implementation of the Linux kernel.

2

How do I fix CVE-2017-17806?

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

3

Which versions of Linux are affected by CVE-2017-17806?

CVE-2017-17806 affects Linux kernel versions prior to 4.14.8, including multiple versions within the range of 3.2 to 4.14.7.

4

Can CVE-2017-17806 be exploited remotely?

No, CVE-2017-17806 requires local access for exploitation due to its nature of attacking the HMAC implementation.

5

What systems should I prioritize for CVE-2017-17806 patching?

Systems running Linux kernels prior to version 4.14.8, especially those in sensitive environments, should be prioritized for patching against CVE-2017-17806.

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