CVE-2017-7645: Input Validation

Published Apr 18, 2017
·
Updated

Last updated 29 November 2024

Other sources

The Linux kernel built with the NFS Server Support(CONFIGNFSD) is vulnerable to an out-of-bounds memory access issue. It could occur while processing arbitrarily long arguments sent by the NFSv2/NFSv3 PRC clients.

A remote RPC user/program could use this flaw to crash the krenel, resulting in DoS.

Upstream patch: --------------- -> https://git.kernel.org/linus/e6838a29ecb484c97e4efef9429643b9851fba6e

References: ----------- -> https://marc.info/?l=linux-nfs&m=149218228327497&w=2 -> http://seclists.org/oss-sec/2017/q2/195

— Red Hat

The NFSv2/NFSv3 server in the nfsd subsystem in the Linux kernel through 4.10.11 allows remote attackers to cause a denial of service (system crash) via a long RPC reply, related to net/sunrpc/svc.c, fs/nfsd/nfs3xdr.c, and fs/nfsd/nfsxdr.c.

— Launchpad

Affected Software

34 affected componentsFixes available
Linux Linux kernel<3.2.89
Linux Linux kernel>=3.3<3.10.107
Linux Linux kernel>=3.11<3.12.74
Linux Linux kernel>=3.13<3.16.44
Linux Linux kernel>=3.17<3.18.52
Linux Linux kernel>=3.19<4.1.40
Linux Linux kernel>=4.2<4.4.66
Linux Linux kernel>=4.5<4.9.26
Linux Linux kernel>=4.10<4.10.14
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.22-1
ubuntu/linux<3.13.0-157.207
3.13.0-157.207
ubuntu/linux-lts-xenial<4.4.0-79.100~14.04.1
4.4.0-79.100~14.04.1
ubuntu/linux<4.4.0-79.100
4.4.0-79.100
ubuntu/linux-aws<4.4.0-1018.27
4.4.0-1018.27
ubuntu/linux-gke<4.4.0-1014.14
4.4.0-1014.14
ubuntu/linux-hwe<4.10.0-32.36~16.04.1
4.10.0-32.36~16.04.1
ubuntu/linux-raspi2<4.4.0-1057.64
4.4.0-1057.64
ubuntu/linux-snapdragon<4.4.0-1059.63
4.4.0-1059.63
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.133-1Fixed in 6.12.22-1
  2. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 3.13.0-157.207
  3. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-79.100~14.04.1
  4. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-79.100
  5. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1018.27
  6. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 4.4.0-1014.14
  7. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.10.0-32.36~16.04.1
  8. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.4.0-1057.64
  9. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.4.0-1059.63
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch e6838a29ecb484c97e4efef9429643b9851fba6e
  11. Compensating control

    If you cannot patch immediately, mitigate the NFS server exposure: restrict access to the Linux NFS server (CONFIG_NFSD) so remote NFSv2/NFSv3 clients cannot reach the nfsd subsystem (e.g., via firewall/ACLs limiting RPC/NFS traffic to trusted hosts).

Event History

Apr 18, 2017
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·02:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 19, 2017
Data Sourced
via Red Hat·02:45 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2017-7645?

CVE-2017-7645 is a vulnerability in the NFSv2/NFSv3 server in the Linux kernel that allows remote attackers to cause a denial of service (system crash) via a long RPC reply.

2

How does CVE-2017-7645 work?

CVE-2017-7645 works by exploiting a flaw in the nfsd subsystem of the Linux kernel, specifically in the net/sunrpc/svc.c, fs/nfsd/nfs3xdr.c, and fs/nfsd/nfsxdr.c files.

3

What is the severity of CVE-2017-7645?

CVE-2017-7645 has a severity level of high.

4

Which versions of the Linux kernel are affected by CVE-2017-7645?

CVE-2017-7645 affects the Linux kernel through version 4.10.11.

5

How can I fix CVE-2017-7645?

To fix CVE-2017-7645, you should upgrade your Linux kernel to version 4.11 or apply the appropriate security patch for your specific distribution.

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