An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c mishandles the situation where a guest writes NumVFs greater than TotalVFs, leading to a buffer overflow in VF implementations.
https://security.netapp.com/advisory/ntap-20240419-0010/
https://lore.kernel.org/all/20240214-reuse-v4-5-89ad093a07f4%40daynix.com/