Katalog CVE

CVE-2025-38314

WysokieCVSS 7.3
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.13%

Percentyl 3 - wyżej niż 3% wszystkich znanych CVE

Streszczenie

W sterowniku virtio-pci jądra Linux funkcja virtio_pci_admin_dev_parts_get() zwraca rozmiar wyniku o 8 bajtów za duży, ponieważ uwzględnia dodatkowe 8 bajtów statusu z virtqueue_get_buf(). Powoduje to błędy podczas migracji na żywo i potencjalne odczyty poza przydzielonym buforem.

Ocena ryzyka

Atakujący może wykorzystać tę podatność do wycieku danych lub awarii systemu podczas migracji maszyn wirtualnych z urządzeniami virtio.

Rekomendacja

Zastosuj łatkę jądra Linux odejmującą rozmiar statusu od wyniku virtqueue_get_buf() w funkcji virtio_pci_admin_dev_parts_get().

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: virtio-pci: Fix result size returned for the admin command completion The result size returned by virtio_pci_admin_dev_parts_get() is 8 bytes larger than the actual result data size. This occurs because the result_sg_size field of the command is filled with the result length from virtqueue_get_buf(), which includes both the data size and an additional 8 bytes of status. This oversized result size causes two issues: 1. The state transferred to the destination includes 8 bytes of extra data at the end. 2. The allocated buffer in the kernel may be smaller than the returned size, leading to failures when reading beyond the allocated size. The commit fixes this by subtracting the status size from the result of virtqueue_get_buf(). This fix has been tested through live migrations with virtio-net, virtio-net-transitional, and virtio-blk devices.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS