{"id":217124,"date":"2026-02-24T20:44:00","date_gmt":"2026-02-25T01:44:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/02\/24\/amd-posts-linux-patches-for-sev-snp-btb-isolation\/"},"modified":"2026-02-25T00:20:08","modified_gmt":"2026-02-25T05:20:08","slug":"amd-posts-linux-patches-for-sev-snp-btb-isolation","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/02\/24\/amd-posts-linux-patches-for-sev-snp-btb-isolation\/","title":{"rendered":"AMD Posts Linux Patches For SEV-SNP BTB Isolation"},"content":{"rendered":"<p><a href=\"https:\/\/www.phoronix.com\/news\/AMD-SEV-SNP-BTB-Isolation\">AMD Posts Linux Patches For SEV-SNP BTB Isolation<\/a><\/p>\n<p><a href=\"https:\/\/www.phoronix.com\/news\/AMD-SEV-SNP-BTB-Isolation\">https:\/\/www.phoronix.com\/news\/AMD-SEV-SNP-BTB-Isolation<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-02-24 20:44:00<\/a><\/p>\n<p>Source Domain: <a href=\"www.phoronix.com\">www.phoronix.com<\/a><\/p>\n<p>It&#8217;s quite a mouthful but today AMD posted Linux kernel patches for preparing SEV-SNP BTB isolation support for further enhancing the security of virtual machines (VMs) for confidential computing.<\/p>\n<p>AMD SEV-SNP BTB isolation is around ensuring guest VMs protected by Secure Encrypted Virtualization Secure Nested Paging (SEV-SNP) cannot have their branch target buffers (BTBs) affected by context outside of that guest virtual machine. The AMD EPYC CPU hardware tracks each guest&#8217;s branch target buffer&#8217;s entries and can flush the BTB when determining it to be &#8220;contaminated&#8221; with any prediction information outside of that guest&#8217;s context.\n<\/p>\n<p>The kernel patch enabling SEV-SNP BTB sums it up as:<br \/>\n<\/p>\n<p>&#8220;This feature ensures SNP guest Branch Target Buffers (BTBs) are not affected by context outside that guest.  CPU hardware tracks each guest&#8217;s BTB entries and can flush the BTB if it has been determined to be contaminated with any prediction information originating outside the particular guest&#8217;s context.<\/p>\n<p>To mitigate possible performance penalties incurred by these flushes, it is recommended that the hypervisor runs with SPEC_CTRL[IBRS] set. Note that using Automatic IBRS is not an equivalent option here, since it behaves differently when SEV-SNP is active.  See commit acaa4b5c4c85 (&#8220;x86\/speculation: Do not enable Automatic IBRS if SEV-SNP is enabled&#8221;) for more details.\n<\/p>\n<p>Indicate support for BTB Isolation in sev_supported_vmsa_features, bit 7.&#8221;<\/p>\n<p>This patch series is out for review on the kernel mailing list for plumbing that BTB isolation support. There are also patches for QEMU for handling the BTB isolation feature.<\/p>\n<p>With the BTB Isolation feature having been added to AMD&#8217;s programming guide back in March 2024, it would appear that current AMD EPYC 9005 &#8220;Turin&#8221; server processors are already capable of supporting this security feature for VMs.<br \/>\n<\/p>\n<p align=\"center\"><img decoding=\"async\" src=\"https:\/\/www.phoronix.net\/image.php?id=amd-epyc-9655&#038;image=amd_epyc_9655_1_med\" alt=\"AMD EPYC CPU\"\/><\/p>\n<p>For those wondering about typical AMD SEV-SNP performance overhead costs in general for the added security protections, see the recent&#8230;<br \/>\n<br \/><a href=\"https:\/\/www.phoronix.com\/news\/AMD-SEV-SNP-BTB-Isolation\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AMD Posts Linux Patches For SEV-SNP BTB Isolation https:\/\/www.phoronix.com\/news\/AMD-SEV-SNP-BTB-Isolation Publish Date: 2026-02-24 20:44:00 Source Domain:&#8230;<\/p>\n","protected":false},"author":1,"featured_media":217125,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.phoronix.net\/image.php?id=amd-epyc-9655&image=amd_epyc_9655_1","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[71,57],"class_list":["post-217124","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux","tag-security"],"_links":{"self":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/217124"}],"collection":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/comments?post=217124"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/217124\/revisions"}],"predecessor-version":[{"id":217126,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/217124\/revisions\/217126"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/217125"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=217124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=217124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=217124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}