The HMAC implementation (crypto/hmac.c) in the Linux kernel before 4.14.8 does not…
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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 AF_ALG-based hash interface (CONFIG_CRYPTO_USER_API_HASH) and the SHA-3 hash algorithm (CONFIG_CRYPTO_SHA3) to cause a kernel stack buffer overflow by executing a crafted sequence of system calls that encounter a missing SHA-3 initialization.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 16
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | before 3.2.97; 3.3 to before 3.16.52; 3.17 to before 3.18.89; 3.19 to before 4.1.49; 4.2 to before 4.4.107; 4.5 to before 4.9.71; 4.10 to before 4.14.8 | Vulnerable | Linux |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:* | 42.2 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse_project:leap:42.3:*:*:*:*:*:*:* | 42.3 | Vulnerable | Opensuse Project |
| cpe:2.3:o:suse:linux_enterprise_desktop:12:sp2:*:*:*:*:*:* | 12 sp2 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_desktop:12:sp3:*:*:*:*:*:* | 12 sp3 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:11:extra:*:*:*:*:*:* | 11 extra | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:11:sp4:*:*:*:*:*:* | 11 sp4 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:12:sp2:*:*:*:*:*:* | 12 sp2 | Vulnerable | SUSE |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions before 3.2.97; 3.3 to before 3.16.52; 3.17 to before 3.18.89; 3.19 to before 4.1.49; 4.2 to before 4.4.107; 4.5 to before 4.9.71; 4.10 to before 4.14.8 Vulnerable ·Linux
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:* Versions 42.2 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse_project:leap:42.3:*:*:*:*:*:*:* Versions 42.3 Vulnerable ·Opensuse Project
- cpe:2.3:o:suse:linux_enterprise_desktop:12:sp2:*:*:*:*:*:* Versions 12 sp2 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_desktop:12:sp3:*:*:*:*:*:* Versions 12 sp3 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:11:extra:*:*:*:*:*:* Versions 11 extra Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:11:sp4:*:*:*:*:*:* Versions 11 sp4 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:12:sp2:*:*:*:*:*:* Versions 12 sp2 Vulnerable ·SUSE
Show 6 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:suse:linux_enterprise_server:12:sp3:*:*:*:*:*:* | 12 sp3 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server_for_raspberry_pi:12:sp2:*:*:*:*:*:* | 12 sp2 | Vulnerable | SUSE |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* | 17.10 | Vulnerable | Canonical |
- cpe:2.3:o:suse:linux_enterprise_server:12:sp3:*:*:*:*:*:* Versions 12 sp3 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server_for_raspberry_pi:12:sp2:*:*:*:*:*:* Versions 12 sp2 Vulnerable ·SUSE
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* Versions 17.10 Vulnerable ·Canonical
Remediation
Red Hat 1 advisory
- RHSA-2018:2948 Released 2018-10-30 · Red Hat rating Importantkernel-alt security, bug fix, and enhancement update
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) kernel-4.14.0-115.el7a, kernel-abi-whitelists-4.14.0-115.el7a, kernel-alt-4.14.0-115.el7a +9
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) kernel-debug-devel-4.14.0-115.el7a, kernel-tools-libs-devel-4.14.0-115.el7a
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2018:2948 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2018:2948 |
Not affected: 5 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise MRG 2
Timeline
- 2026-10-02 Threatist record created from CVE-2017-17806
- 2026-10-03 Alias added: GHSA-7cfh-r37c-4mqr
References
Patch 6
Advisory 13
Sources
- CVE-2017-17806 · CVE Program
- CVE-2017-17806 · NVD
- FIRST EPSS
- GHSA-7cfh-r37c-4mqr · GitHub Advisory Database · CC BY 4.0
- CVE-2017-17806 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences