# 熔毁（安全漏洞）

熔毁是一种瞬态执行侧信道漏洞，编号为CVE-2017-5754，又称恶意数据缓存加载或变体3。它利用乱序处理器在故障尚未解决之前处理故障加载的方式，使无特权代码得以读取特权内核内存。<sup>[1](https://support.microsoft.com/en-us/topic/kb4073225-sql-server-guidance-to-protect-against-spectre-meltdown-and-micro-architectural-data-sampling-vulnerabilities-58b08eb9-c546-1637-090c-7c6f2096885c)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/1801.01207)</sup>该漏洞于2018年1月3日与相关的幽灵攻击一同公开披露，并已确认影响英特尔处理器；[幽灵](https://www.edgepedia.org/zh/spectre-security-vulnerability)变体则影响英特尔、AMD和ARM处理器。<sup>[3](https://www.nsa.gov/portals/75/documents/what-we-do/cybersecurity/professional-resources/csa-vulnerabilities-affecting-modern-processors.pdf)</sup><sup> • </sup><sup>[4](https://www.axios.com/2018/01/05/intel-ceos-big-stock-sale-raises-questions-1515111053)</sup>

| 关键事实 | 详情 |
|---|---|
| 标识符 | CVE-2017-5754，恶意数据缓存加载，谷歌Project Zero披露中的“变体3”<sup>[1](https://support.microsoft.com/en-us/topic/kb4073225-sql-server-guidance-to-protect-against-spectre-meltdown-and-micro-architectural-data-sampling-vulnerabilities-58b08eb9-c546-1637-090c-7c6f2096885c)</sup> |
| 受影响硬件 | 已确认影响英特尔处理器；幽灵CVE-2017-5753和CVE-2017-5715影响英特尔、AMD和ARM<sup>[3](https://www.nsa.gov/portals/75/documents/what-we-do/cybersecurity/professional-resources/csa-vulnerabilities-affecting-modern-processors.pdf)</sup> |
| 泄露内容 | 从无特权上下文中泄露任意内核内存位置，包括个人数据和密码<sup>[2](https://arxiv.org/abs/1801.01207)</sup><sup> • </sup><sup>[3](https://www.nsa.gov/portals/75/documents/what-we-do/cybersecurity/professional-resources/csa-vulnerabilities-affecting-modern-processors.pdf)</sup> |
| 漏洞存续时间 | 该攻击至少自2010年起便可作用于不同的英特尔微架构<sup>[2](https://arxiv.org/abs/1801.01207)</sup> |
| 主要缓解措施 | 内核页表隔离（Linux上称KPTI，Windows上称KVAS），将内核页排除在用户页表之外<sup>[5](https://spectrum.ieee.org/how-the-spectre-and-meltdown-hacks-really-worked)</sup><sup> • </sup><sup>[1](https://support.microsoft.com/en-us/topic/kb4073225-sql-server-guidance-to-protect-against-spectre-meltdown-and-micro-architectural-data-sampling-vulnerabilities-58b08eb9-c546-1637-090c-7c6f2096885c)</sup> |
| 降低开销的特性 | PCID处理器特性可大幅降低隔离所导致的频繁CR3重载带来的性能开销<sup>[6](https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/advisory-guidance/rogue-data-cache-load.html)</sup> |
| 硬件修复 | 英特尔的Coffee Lake Refresh（第九代酷睿）针对变体3和变体5实施了硬件修复<sup>[7](https://www.anandtech.com/show/13400/intel-9th-gen-core-i9-9900k-i7-9700k-i5-9600k-review/2)</sup> |
| 披露 | 谷歌安全研究人员于2017年6月通知英特尔及其他大型芯片制造商；2018年1月3日公开披露<sup>[4](https://www.axios.com/2018/01/05/intel-ceos-big-stock-sale-raises-questions-1515111053)</sup> |

## 攻击原理

现代高性能处理器采用乱序执行，即越过当前指令提前运行，以隐藏内存延迟并提升性能。在当时许多英特尔核心上，用户模式下对内核内存的加载只有在指令退役时才会被阻止——退役是指处理器提交结果并精确引发异常的时刻。<sup>[8](https://www.computerinternals.app/en/levels/microarchitecture/out-of-order-and-speculation)</sup>一条乱序执行、留下可测量的副作用但随后被清除的指令，被称为瞬态指令。<sup>[9](https://cseweb.ucsd.edu/~dstefan/cse291-winter18/papers/meltdown.pdf)</sup>

该攻击有两个基本构件。<sup>[9](https://cseweb.ucsd.edu/~dstefan/cse291-winter18/papers/meltdown.pdf)</sup>

1. **执行瞬态指令。** 攻击者的代码对用户无权访问的内核地址执行一次访问。该访问将触发故障，但在故障指令退役之前，处理器已将加载的数据转发给后续的推测指令。攻击者安排这些瞬态指令使用该秘密值，例如将其乘以页大小（4 KB）并加上探测数组的基址，从而使一次间接内存访问触及由该秘密字节选定的256条缓存行之一。乘法使各次访问彼此相距很远，以免硬件预取器加载相邻的缓存行。<sup>[9](https://cseweb.ucsd.edu/~dstefan/cse291-winter18/papers/meltdown.pdf)</sup>
2. **传输秘密。** 瞬态序列将秘密编码进缓存状态，攻击者通过Flush+Reload缓存攻击将其读出——这是一种快速、低噪声的隐蔽信道：测量对256条缓存行的访问时间即可揭示哪一条被加载，每次尝试可恢复一个完整字节。由于乱序执行存在偏向寄存器值为0的噪声偏差，实现中在读到0时会重试。<sup>[9](https://cseweb.ucsd.edu/~dstefan/cse291-winter18/papers/meltdown.pdf)</sup>

故障访问仍须处理。论文描述了异常处理方式——派生一个在瞬态序列之后崩溃的子进程，由父进程恢复秘密，或安装信号处理器——以及异常抑制方式，即使用事务内存或永不跳转的分支等技术，使故障根本不浮现出来。<sup>[9](https://cseweb.ucsd.edu/~dstefan/cse291-winter18/papers/meltdown.pdf)</sup>

## 熔毁与幽灵的区别

幽灵以CVE-2017-5753（边界检查绕过）和CVE-2017-5715（分支目标注入）披露，诱使推测执行的指令泄露受害者进程有权访问的数据。幽灵不具备熔毁那样的权限提升层面，需要针对受害者的软件环境量身定制，但更广泛地适用于任何具有推测执行的CPU，且无法被页表隔离阻止。<sup>[9](https://cseweb.ucsd.edu/~dstefan/cse291-winter18/papers/meltdown.pdf)</sup>相比之下，熔毁是一种直接的权限侵犯，根源在于故障加载转发数据的方式，英特尔的安全公告指出它完全发生在攻击者控制的代码内部，因此修复无法在内核内部完成；内核数据本身的位置必须改变。<sup>[6](https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/advisory-guidance/rogue-data-cache-load.html)</sup>

## 缓解措施

由于根本原因在硬件，针对现有系统的实际防御手段是软件。内核页表隔离（KPTI，其早期Linux形式称为KAISER，Windows上称为内核虚拟地址影子，即KVAS）维护两份独立的硬件页表副本：用户副本映射所有应用程序页，但仅映射进入和离开内核模式所需的最少量特权页，因此用户代码运行时内核内存根本未被映射。<sup>[5](https://spectrum.ieee.org/how-the-spectre-and-meltdown-hacks-really-worked)</sup><sup> • </sup><sup>[10](https://www.intel.com/content/dam/develop/external/us/en/documents/intel-mitigation-overview-for-potential-side-channel-cache-exploits-linux-white-paper.pdf)</sup>2018年1月3日发布的Linux内核4.14.11纳入了KPTI补丁，4.15亦然；macOS 10.13.2于2017年12月6日发布，10.13.3提供完整缓解。<sup>[3](https://www.nsa.gov/portals/75/documents/what-we-do/cybersecurity/professional-resources/csa-vulnerabilities-affecting-modern-processors.pdf)</sup>

隔离是有代价的：每次用户-内核切换都必须重载页表根，从而刷新转译后备缓冲区的条目。进程上下文标识符（PCID）特性按地址空间为TLB条目打上标记，在支持它的处理器上可大幅降低这一开销，因此在PCID可用并启用的平台上，熔毁的性能影响大为减轻。<sup>[6](https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/advisory-guidance/rogue-data-cache-load.html)</sup><sup> • </sup><sup>[11](https://ubuntu.com/blog/meltdown-spectre-and-ubuntu-what-you-need-to-know)</sup>

更新的硬件消除了对软件变通方案的需求。英特尔的Coffee Lake Refresh处理器针对变体3和变体5（L1终端故障）实施了硬件修复，英特尔表示未来的处理器将具备缓解恶意数据缓存加载的硬件支持。<sup>[7](https://www.anandtech.com/show/13400/intel-9th-gen-core-i9-9900k-i7-9700k-i5-9600k-review/2)</sup><sup> • </sup><sup>[6](https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/advisory-guidance/rogue-data-cache-load.html)</sup>2023年的一项综述指出，熔毁在近期CPU世代中已通过硬件修复，而大多数当前部署的CPU仍依赖KPTI等软件缓解措施。<sup>[12](https://arxiv.org/abs/2310.04183)</sup>

## 性能影响

实测影响因工作负载和所修补的层次而异。VMware在一系列具有代表性的英特尔至强服务器处理器上的测试发现，虚拟化层缓解措施——ESXi补丁加英特尔微码、不含客户操作系统补丁——对大多数工作负载的影响极小，低于2%；而包含客户补丁的全栈缓解措施对系统调用频繁、I/O速率高的应用冲击最大。<sup>[13](https://knowledge.broadcom.com/external/article/317617/vmware-performance-impact-for-cve2017575.html)</sup>微软在SQL Server工作负载上测量了KVAS、KPTI和间接分支预测缓解措施，发现部分工作负载出现显著性能下降，建议客户在部署前进行测试，并考虑将SQL Server与不受信任代码隔离作为替代方案。<sup>[1](https://support.microsoft.com/en-us/topic/kb4073225-sql-server-guidance-to-protect-against-spectre-meltdown-and-micro-architectural-data-sampling-vulnerabilities-58b08eb9-c546-1637-090c-7c6f2096885c)</sup>[麻省理工学院林肯实验室](https://www.edgepedia.org/zh/mit-lincoln-laboratory)2018年对高性能计算工作负载的研究发现，无论合成还是真实工作负载，性能损失都相当显著，即使在安全性顾虑较小的专用系统上也难以避免。<sup>[14](https://arxiv.org/abs/1807.08703)</sup>

## 披露与业界回应

谷歌安全研究人员于2017年6月将这些漏洞通知英特尔及其他大型芯片制造商，英特尔、AMD等于2018年1月3日公开披露。<sup>[4](https://www.axios.com/2018/01/05/intel-ceos-big-stock-sale-raises-questions-1515111053)</sup>英特尔于2018年1月11日发布的“安全第一承诺”感谢谷歌Project Zero团队的合作披露，并承诺到1月15日为过去五年推出的英特尔CPU中至少90%发布更新，其余在1月底前完成。<sup>[15](https://www.intc.com/news-events/press-releases/detail/180/security-first-pledge-an-open-letter-from-brian-krzanich)</sup>英特尔的安全开发历史将其2018年里程碑列为：首批幽灵和熔毁缓解措施、该承诺，以及产品保证与安全部门的成立。<sup>[16](https://www.intel.com/content/www/us/en/security/security-development-history.html)</sup>在2018年1月9日的CES上，首席执行官布莱恩·克尔扎尼奇（Brian Krzanich）表示尚无已知漏洞利用导致客户数据受损。<sup>[17](https://www.axios.com/2018/01/09/intel-1515461186)</sup>

## 后续变体与遗产

熔毁开辟了一个催生更多攻击的研究领域。被《IEEE Spectrum》描述为熔毁漏洞变种的“预兆”（Foreshadow）于2018年出现。<sup>[5](https://spectrum.ieee.org/how-the-spectre-and-meltdown-hacks-really-worked)</sup>存储到泄露转发（2019）等后续工作表明，类熔毁攻击在抗熔毁CPU上仍然可行，因此内核-用户隔离仍需软件修复。<sup>[18](https://arxiv.org/abs/1905.05725)</sup>更广泛的类别——瞬态执行攻击——将赋予乱序CPU性能的推测机制与共享微架构资源上的附带隐蔽信道结合起来，MITRE的EMB3D指南将熔毁和幽灵等内存时序与推测执行侧信道视为系统软件必须防御的常设类别。<sup>[19](https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/best-practices/securing-workloads-against-side-channel-methods.html)</sup><sup> • </sup><sup>[20](https://emb3d.mitre.org/mitigations/MID-050)</sup>

## References

1. [KB4073225 – SQL Server guidance to protect against Spectre, Meltdown and Micro-architectural Data Sampling vulnerabilities, Microsoft Support](https://support.microsoft.com/en-us/topic/kb4073225-sql-server-guidance-to-protect-against-spectre-meltdown-and-micro-architectural-data-sampling-vulnerabilities-58b08eb9-c546-1637-090c-7c6f2096885c)
2. [Lipp, Moritz; Schwarz, Michael; and colleagues. Meltdown. arXiv:1801.01207](https://arxiv.org/abs/1801.01207)
3. [Vulnerabilities Affecting Modern Processors, National Security Agency (CSA, January 2018)](https://www.nsa.gov/portals/75/documents/what-we-do/cybersecurity/professional-resources/csa-vulnerabilities-affecting-modern-processors.pdf)
4. [Intel CEO's big stock sale raises questions, Axios (January 2018)](https://www.axios.com/2018/01/05/intel-ceos-big-stock-sale-raises-questions-1515111053)
5. [How the Spectre and Meltdown Hacks Really Worked, IEEE Spectrum](https://spectrum.ieee.org/how-the-spectre-and-meltdown-hacks-really-worked)
6. [Rogue Data Cache Load / CVE-2017-5754 / INTEL-SA-00088, Intel Software Security Guidance](https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/advisory-guidance/rogue-data-cache-load.html)
7. [The Intel 9th Gen Review: Core i9-9900K, Core i7-9700K and Core i5-9600K Tested, AnandTech](https://www.anandtech.com/show/13400/intel-9th-gen-core-i9-9900k-i7-9700k-i5-9600k-review/2)
8. [Out-of-order execution, register renaming and speculation, Computer Internals](https://www.computerinternals.app/en/levels/microarchitecture/out-of-order-and-speculation)
9. [Meltdown paper (Lipp et al.), full text, UCSD course mirror](https://cseweb.ucsd.edu/~dstefan/cse291-winter18/papers/meltdown.pdf)
10. [Intel Mitigation Overview for Potential Side Channel Cache Exploits (Linux white paper)](https://www.intel.com/content/dam/develop/external/us/en/documents/intel-mitigation-overview-for-potential-side-channel-cache-exploits-linux-white-paper.pdf)
11. [Meltdown, Spectre and Ubuntu: What you need to know, Ubuntu](https://ubuntu.com/blog/meltdown-spectre-and-ubuntu-what-you-need-to-know)
12. [Indirect Meltdown: Building Novel Side-Channel Attacks from Transient-Execution Attacks. arXiv:2310.04183](https://arxiv.org/abs/2310.04183)
13. [VMware performance impact for CVE-2017-5754, Broadcom Knowledge Base](https://knowledge.broadcom.com/external/article/317617/vmware-performance-impact-for-cve2017575.html)
14. [Measuring the Impact of Spectre and Meltdown (Prout et al.). arXiv:1807.08703](https://arxiv.org/abs/1807.08703)
15. [Security First Pledge: An Open Letter from Brian Krzanich, Intel press release (January 11, 2018)](https://www.intc.com/news-events/press-releases/detail/180/security-first-pledge-an-open-letter-from-brian-krzanich)
16. [Security Development History, Intel](https://www.intel.com/content/www/us/en/security/security-development-history.html)
17. [Intel CEO: No known exploits from massive chip vulnerability, Axios (January 2018)](https://www.axios.com/2018/01/09/intel-1515461186)
18. [Store-to-Leak Forwarding: Leaking Data on Meltdown-resistant CPUs. arXiv:1905.05725](https://arxiv.org/abs/1905.05725)
19. [Configuring Workloads for Microarchitectural and Side Channel Security, Intel](https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/best-practices/securing-workloads-against-side-channel-methods.html)
20. [MID-050, MITRE EMB3D](https://emb3d.mitre.org/mitigations/MID-050)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026; Oct 25, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Malware and endpoint threats › Malware overview

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/meltdown-security-vulnerability

English original: https://www.edgepedia.org/meltdown-security-vulnerability
