CVE-2020-10742 Memory corruption in Kernel
A buffer overflow in the Linux kernel NFS client during Direct IO writes can cause a kernel panic or crash, impacting system availability and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-10742?
CVE-2020-10742 is a medium-severity memory corruption vulnerability in Linux kernel, published on 2 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was found in the Linux kernel. An index buffer overflow during Direct IO write leading to the NFS client to crash. In some cases, a reach out of the index after one memory allocation by kmalloc will cause a kernel panic. The highest threat from this vulnerability is to data confidentiality and system availability.
Weakness: CWE-787
Which versions are affected by CVE-2020-10742?
It affects 2 products.
Products include Linux kernel, Redhat Enterprise Linux.
How do I fix CVE-2020-10742?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-10742 being exploited?
There is no known exploitation of CVE-2020-10742 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2020-10742, GHSA-9gvv-jxrj-2xcq, UBUNTU-CVE-2020-10742.