CVE-2021-38160
highpriority · track · 31EPSS 0.004 · 35 %ileDEEURUUSEPSS · scored 2026-10-28
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
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (45)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-0137Android Patchday Juni 2022Deutsch2022-06-06csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Google Android ausnutzen, um seine Privilegien zu erhöhen, vertrauliche Informationen offenzulegen, beliebigen Code auszuführen und einen Denial-of-Service-Zustand auszulösen.
- PUB-A-1971548982022-06-01vendor · osvUS
In get_inbuf and control_work_handler of virtio_console.c, there is a possible out of bounds read due to an incorrect bounds check. This could lead to local information disclosure with System execution privileges needed. User interaction is not needed for exploitation.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (50)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2021-38160cnnvd
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13.4cnnvd
- https://github.com/torvalds/linux/commit/d00d8da5869a2608e97cfede094dfc5e11462a46cnnvd
- https://lists.debian.org/debian-lts-announce/2021/10/msg00010.htmlcnnvd
- https://lists.debian.org/debian-lts-announce/2021/12/msg00012.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-38160cnnvd
- https://packetstormsecurity.com/files/164127/Ubuntu-Security-Notice-USN-5073-1.htmlcnnvd
- https://packetstormsecurity.com/files/164193/Ubuntu-Security-Notice-USN-5073-2.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan