CVE-2017-7645: Input Validation
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto 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 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 3.13.0-157.207 - Upgrade
Upgrade
ubuntu/linux-lts-xenialto a version that resolves this vulnerability.Fixed in 4.4.0-79.100~14.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 4.4.0-79.100 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 4.4.0-1018.27 - Upgrade
Upgrade
ubuntu/linux-gketo a version that resolves this vulnerability.Fixed in 4.4.0-1014.14 - Upgrade
Upgrade
ubuntu/linux-hweto a version that resolves this vulnerability.Fixed in 4.10.0-32.36~16.04.1 - Upgrade
Upgrade
ubuntu/linux-raspi2to a version that resolves this vulnerability.Fixed in 4.4.0-1057.64 - Upgrade
Upgrade
ubuntu/linux-snapdragonto a version that resolves this vulnerability.Fixed in 4.4.0-1059.63 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch e6838a29ecb484c97e4efef9429643b9851fba6e - 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
Frequently Asked Questions
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.
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.
What is the severity of CVE-2017-7645?
CVE-2017-7645 has a severity level of high.
Which versions of the Linux kernel are affected by CVE-2017-7645?
CVE-2017-7645 affects the Linux kernel through version 4.10.11.
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.