CVE-2021-38160 Memory corruption in n/a
An untrusted device can trigger data corruption or loss in the Linux kernel virtio console driver by supplying an oversized buffer length.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-38160?
CVE-2021-38160 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 7 Aug 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In drivers/char/virtio_console.c in the Linux kernel before 5.13.4, data corruption or loss can be triggered by an untrusted device that supplies a buf->len value exceeding the buffer size. NOTE: the vendor indicates that the cited data corruption is not a vulnerability in any existing use case; the length validation was added solely for robustness in the face of anomalous host OS behavior
Weakness: CWE-120
Which versions are affected by CVE-2021-38160?
It affects 7 products.
Products include Debian Debian Linux, Linux kernel, Netapp Element Software, Netapp Hci Bootstrap Os, Netapp Hci Management Node, Netapp Solidfire and 1 more.
How do I fix CVE-2021-38160?
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-2021-38160 being exploited?
There is no known exploitation of CVE-2021-38160 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as A-197154898, AZL-6580, DEBIAN-CVE-2021-38160, GHSA-fjw9-4q3j-vpq4, PUB-A-197154898, UBUNTU-CVE-2021-38160.