cve.bz

CVE-2017-8797 linux linux kernel: Improper Validation of Array Index

7.5 highEPSS 9.5%Fix available

High (7.5) in linux linux kernel. EPSS 9.5% estimated probability of exploitation activity in the next 30 days.

On this page
The NFSv4 server in the Linux kernel before 4.11.3 does not properly validate the layout type when processing the NFSv4 pNFS GETDEVICEINFO or LAYOUTGET operand in a UDP packet from a remote attacker. This type value is uninitialized upon encountering certain error conditions. This value is used as an array index for dereferencing, which leads to an OOPS and eventually a DoS of knfsd and a soft-lockup of the whole system.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
9.5% (unchanged from 9.5% a week ago; 9.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-129 Improper Validation of Array Index
OWASP Top 10
A05:2025 Injection
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-8797 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-8797?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-8797?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-8797 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_kernelfrom 4.0 before 4.1.40
linux:linux_kernelfrom 4.2 before 4.4.70
linux:linux_kernelfrom 4.5 before 4.9.30
linux:linux_kernelfrom 4.11 before 4.11.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux4.9.30-1DEBIAN-CVE-2017-8797
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-83.106~14.04.1UBUNTU-CVE-2017-8797
Ubuntu16.04:LTSlinux4.4.0-83.106UBUNTU-CVE-2017-8797
Ubuntu16.04:LTSlinux-aws4.4.0-1022.31UBUNTU-CVE-2017-8797
Ubuntu16.04:LTSlinux-gcp4.13.0-1002.5UBUNTU-CVE-2017-8797
Ubuntu16.04:LTSlinux-hwe4.13.0-32.35~16.04.1UBUNTU-CVE-2017-8797
Ubuntu16.04:LTSlinux-raspi24.4.0-1061.69UBUNTU-CVE-2017-8797
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1063.68UBUNTU-CVE-2017-8797
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 1 moreno fix listedUBUNTU-CVE-2017-8797
Ubuntu22.04:LTSlinux-riscv, linux-realtime, linux-intel-iot-realtimeno fix listedUBUNTU-CVE-2017-8797
Ubuntu24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2017-8797
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, kernel-doc and 14 more0:3.10.0-693.el7RHSA-2017:1842
Red Hatenterprise_linux:7::serverperf, kernel, kernel-doc and 21 more0:3.10.0-693.el7RHSA-2017:1842
Red Hatenterprise_mrg:2:server:el6kernel-rt, kernel-rt-doc, kernel-rt-debug and 12 more1:3.10.0-693.2.1.rt56.585.el6rtRHSA-2017:2669
Red Hatrhel_eus:7.3::computenodeperf, kernel, kernel-doc and 15 more0:3.10.0-514.28.1.el7RHSA-2017:2437
Red Hatrhel_eus:7.3::serverperf, kernel, kernel-doc and 22 more0:3.10.0-514.28.1.el7RHSA-2017:2437
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-693.rt56.617.el7RHSA-2017:2077
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_08-18.7.1SUSE-SU-2017:2062-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_18-2.1SUSE-SU-2017:2067-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_27-2.1SUSE-SU-2017:2068-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_37-2.1SUSE-SU-2017:2043-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_47-2.1SUSE-SU-2017:2065-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_55-2.1SUSE-SU-2017:2063-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_64-2.1SUSE-SU-2017:2070-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_73-2.1SUSE-SU-2017:2064-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_83-2.1SUSE-SU-2017:2046-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_92-2.1SUSE-SU-2017:2066-1

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 Important.

Red Hat's statement

This issue does not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5, 6 as the code with the flaw is not present in the products listed.

This issue affects the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG 2. Future kernel updates for these products may address this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-693.rt56.617.el7Fixed 2017-08-01RHSA-2017:2077
Red Hat Enterprise Linux 7kernel-0:3.10.0-693.el7Fixed 2017-08-01RHSA-2017:1842
Red Hat Enterprise Linux 7.3 Extended Update Supportkernel-0:3.10.0-514.28.1.el7Fixed 2017-08-08RHSA-2017:2437
Red Hat Enterprise MRG 2kernel-rt-1:3.10.0-693.2.1.rt56.585.el6rtFixed 2017-09-06RHSA-2017:2669
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altAffected

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-8797.

Attack patterns (CAPEC)

  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON