CVE-2020-24394: In the Linux kernel before 5.7.8, fs/nfsd/vfs.c (in the NFS server) can set incorrect permissions on new files
37
Routine
HIGH 7.1WATCHLISTUPGRADEMITIGATEMITIGATE
CVE-2020-24394 is a high-severity flaw (CVSS 7.1) affecting linux kernel, ubuntu linux, leap. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-24394?
linux kernel: upgrade to 5.7.8; ubuntu linux: mitigate or apply the listed mitigation; leap: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2020-24394 being exploited?
CVE-2020-24394 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-24394 affect?
CVE-2020-24394 affects linux kernel, ubuntu linux, leap. Severity is high (CVSS 7.1). 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