Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QEMU Virtual Function 缓冲区溢出漏洞 #383

Open
y1ong opened this issue Feb 20, 2024 · 0 comments
Open

QEMU Virtual Function 缓冲区溢出漏洞 #383

y1ong opened this issue Feb 20, 2024 · 0 comments
Labels

Comments

@y1ong
Copy link
Owner

y1ong commented Feb 20, 2024

漏洞描述

QEMU 是开源的通用模拟器。在QEMU中,NumVFs指可以分配给虚拟机使用的虚拟化资源的数量,TotalVFs指硬件设备支持的最大虚拟功能数量。
QEMU 7.1.0至8.2.1版本中,hw/pci/pcie_sriov.c 文件中的register_vfs函数对客户机(虚拟机)写入的NumVFs大于TotalVFs的情况处理不当,导致在Virtual Function实现中发生缓冲区溢出,对虚拟机具有访问权限的攻击者可利用该漏洞执行任意代码或造成拒绝服务。

参考链接

  1. https://www.oscs1024.com/hd/MPS-hoib-8kje
  2. https://nvd.nist.gov/vuln/detail/CVE-2024-26327
  3. https://lore.kernel.org/all/20240214-reuse-v4-5-89ad093a07f4%40daynix.com
@y1ong y1ong added the vuln label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant