High severity · published Aug 7, 2021
CVE-2021-38160
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…
7.8
CVSS
0.4%
EPSS
No
On KEV
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
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
2.6.24 before 4.4.276; 4.5 before 4.9.276; 4.10 before 4.14.240; 4.15 before 4.19.198; 4.20 before 5.4.134; 5.5 before 5.10.52; +2 more · source: NVD
DL
Debian Linux · Debian
9.0; 10.0 · source: NVD
ES
Element Software · Netapp
All versions, or not specified · source: NVD
EL
Enterprise Linux · Redhat
8.0 · source: NVD
HB
Hci Bootstrap OS · Netapp
All versions, or not specified · source: NVD
HM
Hci Management Node · Netapp
All versions, or not specified · source: NVD
SO
Solidfire · Netapp
All versions, or not specified · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-38160
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-38160
Third Party Advisory
https://access.redhat.com/security/cve/cve-2021-38160
Release Notes
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13.4
Patch
https://github.com/torvalds/linux/commit/d00d8da5869a2608e97cfede094dfc5e11462a46
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/10/msg00010.html
Mailing List
https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html
Third Party Advisory
https://security.netapp.com/advisory/ntap-20210902-0010/
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
