CVE-2020-24394: High severity Linux Linux kernel vulnerability
A vulnerability was found in NFSv4.2 in the Linux kernel, where a server fails to apply umask correctly when creating a new object on filesystem without ACL support (for example, ext4 with the "noacl" mount option). This flaw could allow a local attacker with a user privilege to a kernel information leak problem.
References: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962254 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=22cf8419f1319ff87ec759d0ebdff4cbafaee832
Other sources
A vulnerability was found in NFSv4.2 in the Linux kernel, where a server fails to correctly apply umask when creating a new object on filesystem without ACL support (for example, ext4 with the "noacl" mount option). This flaw allows a local attacker with a user privilege to cause a kernel information leak problem.
In the Linux kernel before 5.7.8, fs/nfsd/vfs.c (in the NFS server) can set incorrect permissions on new filesystem objects when the filesystem lacks ACL support, aka CID-22cf8419f131. This occurs because the current umask is not considered.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernel-rtto a version that resolves this vulnerability.Fixed in 0:3.10.0-1160.11.1.rt56.1145.el7 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:3.10.0-1160.11.1.el7 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:3.10.0-693.82.1.el7 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:3.10.0-957.70.1.el7 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:3.10.0-1062.45.1.el7 - Upgrade
Upgrade
redhat/kernel-rtto a version that resolves this vulnerability.Fixed in 0:4.18.0-305.rt7.72.el8 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:4.18.0-305.el8 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.8-1Fixed in 7.1.8-2 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 5.7.8Patch CID-22cf8419f131 - Compensating control
Because no mitigation is available per the provided text, restrict unprivileged (local) user access/attack surface on affected systems to reduce the chance a local attacker can trigger the kernel information leak.
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2020-24394?
CVE-2020-24394 has a severity rating that can allow local attackers to access kernel information due to improper umask application.
How do I fix CVE-2020-24394?
To fix CVE-2020-24394, apply the security updates provided in the corresponding kernel packages from your Linux distribution.
Which Linux kernel versions are affected by CVE-2020-24394?
CVE-2020-24394 affects multiple versions of the Linux kernel, specifically versions up to 5.7.8.
Can CVE-2020-24394 be exploited remotely?
CVE-2020-24394 cannot be exploited remotely as it requires local user privileges to be effective.
What types of systems are vulnerable to CVE-2020-24394?
Systems running specific versions of Red Hat kernel, Ubuntu, and other distributions utilizing NFSv4.2 without ACL support are vulnerable to CVE-2020-24394.