CVE-2024-26328
published 2024-02-19CVE-2024-26328: An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c does not set NumVFs to PCI_SRIOV_TOTAL_VF, and thus interaction with…
PriorityP420medium6CVSS 3.1
AVLACLPRHUINSCCNINAH
EPSS
0.29%
21.2th percentile
An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c does not set NumVFs to PCI_SRIOV_TOTAL_VF, and thus interaction with hw/nvme/ctrl.c is mishandled.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | qemu | < qemu 1:7.2+dfsg-7+deb12u6 (bookworm) | qemu 1:7.2+dfsg-7+deb12u6 (bookworm) |
| msrc | azl3_qemu_8.2.0-16_on_azure_linux_3.0 | — | — |
| qemu | qemu | >= 0 < 1:7.2+dfsg-7+deb12u6 | 1:7.2+dfsg-7+deb12u6 |
| qemu | qemu | >= 0 < 1:8.2.3+ds-1 | 1:8.2.3+ds-1 |
| qemu | qemu | >= 0 < 1:8.2.3+ds-1 | 1:8.2.3+ds-1 |
| qemu | qemu | >= 0 < 1:8.2.2+ds-0ubuntu1.2 | 1:8.2.2+ds-0ubuntu1.2 |
| qemu | qemu | 7.1.0 – 8.2.1 | — |
CVSS provenance
nvdv3.16.0MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
osv6.0MEDIUM
vendor_debian6.0MEDIUM
vendor_msrc6.0MEDIUM
vendor_redhat6.0MEDIUM
vendor_ubuntu5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
QEMU vulnerabilities
vendor_ubuntu·2024-08-22·CVSS 5.3
CVE-2024-26327 [MEDIUM] QEMU vulnerabilities
Title: QEMU vulnerabilities
Summary: Several security issues were fixed in QEMU.
It was discovered that QEMU did not properly handle certain memory
operations, which could result in a buffer overflow. An attacker could
potentially use this issue to cause a denial of service. (CVE-2024-26327)
It was discovered that QEMU did not properly handle certain memory
operations, which could result in an out-of-bounds memory access. An
attacker could potentially use this issue to cause a denial of service.
(CVE-2024-26328)
Instructions: After a standard system update you need to restart all QEMU virtual
machines to make all the necessary changes.
Red Hat
QEMU: NVMe: out-of-bounds memory access in nvme_sriov_pre_write_ctrl()
vendor_redhat·2024-02-19·CVSS 6.0
CVE-2024-26328 [MEDIUM] CWE-787 QEMU: NVMe: out-of-bounds memory access in nvme_sriov_pre_write_ctrl()
QEMU: NVMe: out-of-bounds memory access in nvme_sriov_pre_write_ctrl()
An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c does not set NumVFs to PCI_SRIOV_TOTAL_VF, and thus interaction with hw/nvme/ctrl.c is mishandled.
A flaw was found in the NVMe emulation support of QEMU. The register_vfs() function in hw/pci/pcie_sriov.c does not set NumVFs to PCI_SRIOV_TOTAL_VF, causing the interaction with hw/nvme/ctrl.c to be mishandled. This issue could lead to out-of-bounds memory access in hw/nvme. This flaw allows a malicious guest to crash QEMU and cause a denial of service condition.
Statement: The affected code path can only be reached if dev->exp.sriov_cap is set. For example, if QEMU is explicitly launched with the hw/nvme SR-IOV emulation enabled (
Microsoft
An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c does not set NumVFs to PCI_SRIOV_TOTAL_VF, and thus interaction with hw/nvme/ctrl.c is mishandled.
vendor_msrc·2024-02-13·CVSS 6.0
CVE-2024-26328 [MEDIUM] CWE-787 An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c does not set NumVFs to PCI_SRIOV_TOTAL_VF, and thus interaction with hw/nvme/ctrl.c is mishandled.
An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c does not set NumVFs to PCI_SRIOV_TOTAL_VF, and thus interaction with hw/nvme/ctrl.c is mishandled.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to refle
Debian
CVE-2024-26328: qemu - An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie...
vendor_debian·2024·CVSS 6.0
CVE-2024-26328 [MEDIUM] CVE-2024-26328: qemu - An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie...
An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c does not set NumVFs to PCI_SRIOV_TOTAL_VF, and thus interaction with hw/nvme/ctrl.c is mishandled.
Scope: local
bookworm: resolved (fixed in 1:7.2+dfsg-7+deb12u6)
bullseye: resolved
forky: resolved (fixed in 1:8.2.3+ds-1)
sid: resolved (fixed in 1:8.2.3+ds-1)
trixie: resolved (fixed in 1:8.2.3+ds-1)
OSV
qemu vulnerabilities
osv·2024-08-22·CVSS 5.3
CVE-2024-26327 [MEDIUM] qemu vulnerabilities
qemu vulnerabilities
It was discovered that QEMU did not properly handle certain memory
operations, which could result in a buffer overflow. An attacker could
potentially use this issue to cause a denial of service. (CVE-2024-26327)
It was discovered that QEMU did not properly handle certain memory
operations, which could result in an out-of-bounds memory access. An
attacker could potentially use this issue to cause a denial of service.
(CVE-2024-26328)
GHSA
GHSA-5355-6wp2-29w4: An issue was discovered in QEMU 7
ghsa_unreviewed·2024-02-19
CVE-2024-26328 [MEDIUM] CWE-787 GHSA-5355-6wp2-29w4: An issue was discovered in QEMU 7
An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c does not set NumVFs to PCI_SRIOV_TOTAL_VF, and thus interaction with hw/nvme/ctrl.c is mishandled.
OSV
CVE-2024-26328: An issue was discovered in QEMU 7
osv·2024-02-19·CVSS 6.0
CVE-2024-26328 [MEDIUM] CVE-2024-26328: An issue was discovered in QEMU 7
An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c does not set NumVFs to PCI_SRIOV_TOTAL_VF, and thus interaction with hw/nvme/ctrl.c is mishandled.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-02-19
Published