CVE Database›Document archive›CVE-2024-26327

CVE-2024-26327

qemu-kvm: pcie: improper validation of NumVFs leads to buffer overflow

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · February 19, 2024

Updated · November 2, 2026

Description

A flaw was found in the SR/IOV emulation support of QEMU. The register_vfs() function in hw/pci/pcie_sriov.c mishandled the situation where a guest writes NumVFs greater than TotalVFs, leading to a buffer overflow in VF (Virtual Function) implementations. This flaw allows a malicious guest to crash QEMU and cause a denial of service condition.

Statement

The qemu-kvm versions, as shipped with Red Hat Enterprise Linux 6, 7, 8 and RHEL Advanced Virtualization, are not affected by this CVE as they did not include Single Root I/O Virtualization (SR/IOV) support.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-120 · Buffer Copy without Checking Size of Input