Suspected Vietnam-Linked Hackers Target Southeast Asia in South China Sea Espionage Campaign · 11h Vulnerability in GNU m4 software · 16h Vulnerability in SMSEagle RCDevs OpenOTP SMS integration connector software · 17h Fragnesia: When a Firewall Becomes the Target · 1d Vulnerability in Chainlit software · 1d Vulnerabilities in GNU Screen software · 1d Drupal Warns of New Highly Critical Site Takeover Vulnerability Under Active Exploitation · 1d Hackers Exploit 10 Vulnerabilities Across Mitel, Juniper, Vates, and Danfoss Products · 1d VMware VMSA-0011: When the Hypervisor Becomes the Attack Surface · 2d Vulnerabilities in PrestaHelp phsuperpack module for PrestaShop · 2d Suspected Vietnam-Linked Hackers Target Southeast Asia in South China Sea Espionage Campaign · 11h Vulnerability in GNU m4 software · 16h Vulnerability in SMSEagle RCDevs OpenOTP SMS integration connector software · 17h Fragnesia: When a Firewall Becomes the Target · 1d Vulnerability in Chainlit software · 1d Vulnerabilities in GNU Screen software · 1d Drupal Warns of New Highly Critical Site Takeover Vulnerability Under Active Exploitation · 1d Hackers Exploit 10 Vulnerabilities Across Mitel, Juniper, Vates, and Danfoss Products · 1d VMware VMSA-0011: When the Hypervisor Becomes the Attack Surface · 2d Vulnerabilities in PrestaHelp phsuperpack module for PrestaShop · 2d
🛡️
ACyber Sentinel 安全评估团队
← 返回
⚡ 情报报告

Linux KVM 漏洞 CVE-2026-99312 允许在 AMD 主机上访问主机内存的客户虚拟机

KVM 中的一个漏洞,让研究人员能够从他们自己在 DigitalOcean 上的虚拟机内读取约 127 GB 的云服务器内存。

在共享服务器上,这些内存可能包括其他客户的虚拟机。该漏洞被追踪为 CVE-2026-99312,仅影响启用了嵌套虚拟化的 AMD 处理器主机。

修复的内核在研究公开前的星期二上游发布。提供商通过实时补丁修复了自己的服务器,告知 Droplet 客户:“您无需采取任何行动。”在 AMD 硬件上运行自己 KVM 主机的操作员需要更新主机内核或关闭嵌套虚拟化。

安全公司 Terra Security 的研究员 Oren Yomtov 发现了该漏洞并通过提供商的漏洞奖励计划进行了报告。提供商确认该漏洞在其主机上有效,并将其视为关键,Linux KVM 维护者在 10 月 21 日被告知后,于 11 月 2 日合并了修复。

在其 Droplets 的测试中,首先返回的是主机的内核版本横幅,随后是约 127 GB 的主机 RAM,以只读方式映射,提供商在昨天的披露帖子中表示。

写入测试在研究人员自己的裸金属 AMD 服务器上进行,没有其他客户连接。在那里,客户将 32 个选定的字节写入主机内核内存的一个活动页面,加载到该内核中的见证模块确认了该更改。

两个测试都以研究人员控制的虚拟机中的 root 访问权限开始。攻击者需要相同的位置:控制一个在易受攻击主机上的客户,而不仅仅是对其的网络访问。

基于 Intel 的 KVM 主机不受影响,因为易受攻击的代码仅存在于 KVM 对 AMD 的嵌套虚拟化支持中。研究人员调查的许多云提供商并未受到影响,因为他们没有启用 AMD 的嵌套虚拟化。

根据虚拟化平台供应商 VirtFusion 的说法,目前没有报告该漏洞在研究之外被利用。也没有发布任何利用代码,也没有检测过去尝试的指导。

严重性评级存在分歧。Linux 内核的 CVE 团队将该漏洞评分为 10 分中的 8.8,对机密性、完整性和可用性产生高影响,而 Red Hat 的初步安全评估将其评为中等,评分为 5.6,并将影响视为仅限于拒绝服务。提供商将其视为其共享云的关键。

Terra 在周三发布的技术分析描述了一个指针指向已释放内存的情况。KVM 通过一个表格(嵌套页表)限制每个虚拟机,该表将虚拟机的内存地址转换为主机的真实内存,处理器通过为每个虚拟 CPU 保留的指针找到该表。

一些主机允许虚拟机运行自己的虚拟机,即嵌套虚拟机。当一个重置信号 INIT 停止嵌套虚拟机时,KVM 跳过恢复外部虚拟机的指针,使其指向内核已经释放的内存页面。

一旦内核重新使用了该释放页面,客户就可以用自己选择的条目填充它,处理器将其视为真实表格。伪造的条目可以命名主机上的任何物理页面,这就是约 127 GB 的服务器 RAM 如何被一个从未被授权的客户访问的原因。

修复使 KVM 在每次 INIT 时重置该内存管理状态。

该漏洞是由一个安全修复引起的。2022 年针对另一个嵌套虚拟化漏洞 CVE-2022-3344 的补丁将重置路径切换回外部虚拟机的控制块,但遗漏了页表指针,研究人员表示,该错误在内核中存在了将近四年。

在之前的工作 PatchSlop 中,团队发现另一个修复引入了 3.2% 的内核漏洞。

该怎么办

修复存在于主机内核中。更新虚拟机内部的操作系统没有任何变化,主机在重启之前会继续运行其旧内核。

上游,修复在星期二的稳定内核 7.3.5 和长期内核 6.18.64 及 6.12.118 中发布,内核团队的 CVE 公告显示。受影响的代码可以追溯到多年前:它在 2022 年进入 6.1 内核,并被带入 5.15.81 和 6.0.11 版本,因此较旧的内核系列及其构建的发行版内核都在范围内。

发行版内核大多数尚未修复。截至发布时,Debian 的安全跟踪器将其所有版本中的内核列为易受攻击,只有不稳定版本中有修复,而 Ubuntu 的 CVE 跟踪器将该漏洞评级为高,并将其内核列为易受攻击且没有发布修复包。Red Hat 将企业 Linux 9 和 10 内核列为受影响,修复被推迟,而企业 Linux 8 内核则不受影响。

在安装了修复的主机内核并重启主机之前,唯一可用的保护措施是关闭嵌套虚拟化。这完全关闭了此路径,但虚拟机将无法再运行自己的虚拟机,因此在进行更改之前请警告依赖于此的租户。

根据 VirtFusion 的操作指南,嵌套虚拟化在内核的 kvm_amd 模块中默认开启,因此未打补丁的主机在设置未被故意更改的情况下暴露。要检查和更改它:

使用 cat /sys/module/kvm_amd/parameters/nested 检查设置。值为 1 或 Y 表示嵌套虚拟化已开启。

如果主机尚不能更新,请在主机的模块配置中添加 options kvm_amd nested=0。

重启主机。虚拟机运行时无法更改该设置,且新安装的内核在重启之前也无法保护主机。使用 uname -r 确认,并再次读取嵌套设置。

该漏洞是今年披露的一系列 KVM 隔离失败中的最新案例,此前还有一个影响 Intel 和 AMD 系统的 KVM 影子内存管理的 16 年漏洞,以及 Linux 网络代码中的 PwnEscape 漏洞,该漏洞允许客户读取 Vercel 的主机内存。

相关漏洞

CVE-2026-99312 CVSS 8.8 HIGH Received
CVE-2026-99312 - KVM: x86: Unconditionally reset MMU context when emulating INIT
In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Unconditionally reset MMU context when emulating INIT Force an MMU reset when emulating an INIT even if paging was already disabled, as the MMU page role includes guest_mode (L2), i.e. an INIT while L2 is running with CR0.PG=0 will result in KVM running L1 with a stale MMU context. Alternatively, the reset could be scoped strictly to paging being enabled or L2 being active, but SMM is also encoded in the page role. Even though it _should_ be impossible for the vCPU to be INIT'd while SMM is active, there's zero value in not handling SMM. At that point, the only scenario where KVM _doesn't_ need to reset the MMU context is on an INIT with the vCPU running in Real Mode or Unpaged Protect Mode, and while INIT in those modes is somewhat common, it's far from a hot path and re-initializing the MMU is not expensive, especially when the role isn't changing (KVM elides most of the re-configuration in that case). Note, like the Fixes commit, this bug only affects nested SVM as INIT is an unconditional intercept on VMX, i.e. it's impossible to emulate INIT while L2 is active. Temporarily keep the guest TLB flush when CR0.PG is being cleared even though it is fully redundant with the flush that is emitted on all INIT events (KVM itself only does RESET when a vCPU is being created, i.e. when CR0.PG must be '0').
CVE-2026-118383 CVSS 10 CRITICAL Analyzed
CVE-2026-118383 - Pre-authentication use-after-free in MongoDB Server replica set primary catch-up
A use-after-free in the replication component of MongoDB Server can occur when a newly elected replica set primary completes catch-up. The condition can be caused by requests that do not require authentication, and may result in the server terminating unexpectedly or, under certain conditions, arbitrary code execution in the context of the server process. Replica set members are affected, including the shard and config server replica set members of sharded clusters; standalone mongod instances are not.
CVE-2022-3344 CVSS 5.5 MEDIUM Modified
CVE-2022-3344 - "KVM SVM Nested Guest Shutdown Vulnerability"
A flaw was found in the KVM's AMD nested virtualization (SVM). A malicious L1 guest could purposely fail to intercept the shutdown of a cooperative nested guest (L2), possibly leading to a page fault and kernel panic in the host (L0).