PT-2021-4241
CVE-2021-38160
·
Published
2021-07-03
·
Updated
2026-10-21
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 5.13.4
Description
The issue is caused by a buffer overflow on the stack in the drivers/char/virtio console.c file of the Linux kernel. An untrusted device can trigger data corruption or loss by supplying a
buf->len value that exceeds the buffer size. The length validation was added for robustness in the face of anomalous host OS behavior.Recommendations
For Linux kernel versions prior to 5.13.4, update to version 5.13.4 or later to resolve the issue. As a temporary workaround, consider restricting access to the
virtio console module to minimize the risk of exploitation. Found an issue in the description? Have something to add? Feel free to write us 👾