CVE-2021-38160

kernel: data corruption or loss can be triggered by an untrusted device that supplies a buf->len value exceeding the buffer size in drivers/char/virtio_console.c

Published Aug 7, 2021 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2785-1 linux-4.19 security update
Debian DLA Debian DLA DLA-2843-1 linux security update
Debian DSA Debian DSA DSA-4978-1 linux security update
Ubuntu USN Ubuntu USN USN-5073-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-5073-2 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-5073-3 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-5091-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-5091-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-5092-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-5092-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-5096-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-5106-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-5343-1 Linux kernel vulnerabilities
History

No history.

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 1:37 AM
Reserved
Aug 7, 2021, 12:00 AM
Status
Analyzed
Published
Aug 7, 2021, 4:15 AM
Modified
Jun 17, 2026, 4:01 AM
Severity
Public date
Jul 3, 2021, 12:00 AM