cve.bz

CVE-2017-17806 Out-of-bounds Write

7.8 highEPSS 0.6%Fix available

High (7.8). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-17806 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-17806?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-17806?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-17806 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 3.2.97
linux:linux_kernelfrom 3.3 before 3.16.52
linux:linux_kernelfrom 3.17 before 3.18.89
linux:linux_kernelfrom 3.19 before 4.1.49
linux:linux_kernelfrom 4.2 before 4.4.107
linux:linux_kernelfrom 4.5 before 4.9.71
linux:linux_kernelfrom 4.10 before 4.14.8
debian:debian_linux8.0
debian:debian_linux9.0
opensuse:leap42.2
opensuse_project:leap42.3
suse:linux_enterprise_desktop12:sp2
suse:linux_enterprise_desktop12:sp3
suse:linux_enterprise_server11:extra
suse:linux_enterprise_server11:sp4
suse:linux_enterprise_server12:sp2
suse:linux_enterprise_server12:sp3
suse:linux_enterprise_server_for_raspberry_pi12:sp2
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7linux3.2.96-3DLA-1232-1
Debian8linux3.16.51-3+deb8u1DSA-4082-1
Debian9linux4.9.65-3+deb9u1DSA-4073-1
Debian12, 13, 14linux4.14.7-1DEBIAN-CVE-2017-17806
Ubuntu14.04:LTSlinux3.13.0-142.191UBUNTU-CVE-2017-17806 USN-3583-1
Ubuntu14.04:LTSlinux-aws4.4.0-1016.16UBUNTU-CVE-2017-17806 USN-3619-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-119.143~14.04.1UBUNTU-CVE-2017-17806 USN-3619-2
Ubuntu16.04:LTSlinux4.4.0-119.143UBUNTU-CVE-2017-17806 USN-3619-1
Ubuntu16.04:LTSlinux-aws4.4.0-1054.63UBUNTU-CVE-2017-17806 USN-3619-1
Ubuntu16.04:LTSlinux-azure4.13.0-1014.17UBUNTU-CVE-2017-17806 USN-3632-1
Ubuntu16.04:LTSlinux-gcp4.13.0-1012.16UBUNTU-CVE-2017-17806 USN-3617-2
Ubuntu16.04:LTSlinux-hwe4.13.0-41.46~16.04.1UBUNTU-CVE-2017-17806 USN-3617-2
Ubuntu16.04:LTSlinux-kvm4.4.0-1020.25UBUNTU-CVE-2017-17806 USN-3619-1
Ubuntu16.04:LTSlinux-oem4.13.0-1022.24UBUNTU-CVE-2017-17806 USN-3617-2
Ubuntu16.04:LTSlinux-raspi24.4.0-1086.94UBUNTU-CVE-2017-17806 USN-3619-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1088.93UBUNTU-CVE-2017-17806 USN-3619-1
5 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 17 more0:4.14.0-115.el7aRHSA-2018:2948
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 1 morekernel-syms, kernel-source, kernel-default4.4.103-92.56.1SUSE-SU-2018:0012-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-syms, kernel-source, kernel-default4.4.103-6.38.1SUSE-SU-2018:0010-1
SUSELinux Enterprise High Availability Extension 12 SP2, Linux Enterprise Workstation Extension 12 SP2kernel-default4.4.103-92.56.1SUSE-SU-2018:0012-1
SUSELinux Enterprise High Availability Extension 12 SP3, Linux Enterprise Workstation Extension 12 SP3kernel-default4.4.103-6.38.1SUSE-SU-2018:0010-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_171-3.3.1SUSE-SU-2018:0012-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_71-4.5.1SUSE-SU-2018:0010-1
SUSELinux Enterprise Module for Public Cloud 12kernel-ec23.12.61-52.119.1SUSE-SU-2018:0437-1
SUSELinux Enterprise Module for Public Cloud 12kernel-ec23.12.74-60.64.82.1SUSE-SU-2018:0525-1
SUSELinux Enterprise Point of Sale 11 SP3kernel-ec2, kernel-pae, kernel-xen and 4 more3.0.101-0.47.106.11.1SUSE-SU-2018:0040-1
SUSELinux Enterprise Real Time 11 SP4kernel-rt, kernel-syms-rt, kernel-rt_trace and 1 more3.0.101.rt130-69.14.1SUSE-SU-2018:0180-1
SUSELinux Enterprise Real Time 12 SP2kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more4.4.104-24.1SUSE-SU-2018:0213-1
SUSELinux Enterprise Server 11 SP3-LTSSkernel-ec2, kernel-pae, kernel-xen and 5 more3.0.101-0.47.106.11.1SUSE-SU-2018:0040-1
8 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6, and 7, its real-time kernel and Red Hat Enterprise MRG 2.

This issue affects the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 7 for ARM 64 and Red Hat Enterprise Linux 7 for Power 9 LE. Future Linux kernel updates for the respective releases may address this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-115.el7aFixed 2018-10-30RHSA-2018:2948
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise MRG 2realtime-kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-17806.

References

Check your stackJSON