همهٔ گزارش‌ها
متوسط

kernel: vsock/virtio: Validate length in packet header before skb_put()

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2025-39718

احتمال بهره‌برداری در ۳۰ روز آینده: 0.17%

FIRST EPSS · ۱۴۰۵/۰۸/۳۰

شرح آسیب‌پذیری

In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: Validate length in packet header before skb_put() When receiving a vsock packet in the guest, only the virtqueue buffer size is validated prior to virtio_vsock_skb_rx_put(). Unfortunately, virtio_vsock_skb_rx_put() uses the length from the packet header as the length argument to skb_put(), potentially resulting in SKB overflow if the host has gone wonky. Validate the length as advertised by the packet header before calling virtio_vsock_skb_rx_put().

A flaw was found in the Linux kernel. A malicious host can trigger a Denial of Service (DoS) or memory corruption in a guest virtual machine due to a buffer overflow vulnerability in the virtio virtual socket (vsock) driver. When receiving packets from the host, the guest kernel does not properly validate that the packet length specified in the incoming header fits within the allocated buffer. An attacker controlling the host environment can exploit this issue by sending a malformed packet header, resulting in a guest kernel crash.