{"id":101193,"date":"2022-08-11T10:02:39","date_gmt":"2022-08-11T01:02:39","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=101193"},"modified":"2022-08-11T10:02:39","modified_gmt":"2022-08-11T01:02:39","slug":"m1-ryzen-side-channel-squip-attacks","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/m1-ryzen-side-channel-squip-attacks\/","title":{"rendered":"\u3010\u8981\u6ce8\u610f\u3011Apple M1\u3068\u591a\u6570\u306eAMD Ryzen\u30c1\u30c3\u30d7\u306b\u5f71\u97ff\u3059\u308b\u30b5\u30a4\u30c9\u30c1\u30e3\u30cd\u30ebSQUIP\u653b\u6483\u306e\u8106\u5f31\u6027\u304c\u767a\u898b\u3055\u308c\u308b"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2021\/10\/new-m1-chip.jpg\" alt=\"New m1 chip\" title=\"new-m1-chip.jpg\" border=\"0\" width=\"800\" height=\"539\" \/><\/p>\n<p>Apple M1\u30d7\u30ed\u30bb\u30c3\u30b5\u3084AMD Zen\u30d9\u30fc\u30b9\u306eRyzen\u30c1\u30c3\u30d7\u306a\u3069\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3059\u3001\u300cSQUIP(Scheduler Queue Usage via Interference Probing)\u300d\u3068\u547c\u3070\u308c\u308bCPU\u306e\u8106\u5f31\u6027\u304c\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7814\u7a76\u8005\u306b\u3088\u3063\u3066\u767a\u898b(<a href=\"https:\/\/regmedia.co.uk\/2022\/08\/08\/squip_paper.pdf\">PDF<\/a>)\u3055\u308c\u305f\u4e8b\u304c\u308f\u304b\u308a\u307e\u3057\u305f(<a href=\"https:\/\/www.neowin.net\/news\/beware-apple-m1-and-many-amd-ryzen-chips-found-vulnerable-to-side-channel-squip-attacks\/\">Neowin<\/a>)\u3002<\/p>\n<p>\u3053\u306e\u8106\u5f31\u6027\u306fCPU\u306e\u30de\u30eb\u30c1\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u30ad\u30e5\u30fc\u306b\u95a2\u9023\u3059\u308b\u3082\u306e\u3067\u3001Intel\u306eCPU\u306fApple\u3084AMD\u3068\u7570\u306a\u308a\u3001\u5358\u4e00\u306e\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u305f\u3081SQUIP\u306e\u5f71\u97ff\u3092\u53d7\u3051\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u5f71\u97ff\u3092\u53d7\u3051\u308bCPU\u306f\u3001\u8907\u6570\u306e\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>AMD\u306eCPU\u306b\u95a2\u3057\u3066\u306f\u3001\u540c\u6642\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c7\u30a3\u30f3\u30b0(SMT)\u6280\u8853\u3092\u642d\u8f09\u3057\u305f\u3001\u4e00\u90e8\u306e\u30e2\u30c7\u30eb\u3092\u9664\u304f\u307b\u307c\u3059\u3079\u3066\u306eAMD\u30d7\u30ed\u30bb\u30c3\u30b5(AMD Zen 1\u3001Zen 2\u3001Zen 3\u30d7\u30ed\u30bb\u30c3\u30b5\uff09\u304c\u5f71\u97ff\u3092\u53d7\u3051\u307e\u3059\u3002\u3053\u306e\u554f\u984c\u306f\u3001\u300cCVE-2021-46778\u300d\u3067\u8ffd\u8de1\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.amd.com\/en\/corporate\/product-security\/bulletin\/amd-sb-1039\">AMD<\/a>\u306f\u6982\u8981\u3068\u5bfe\u7b56\u3092\u6b21\u306e\u3088\u3046\u306b\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p>\nSummary<\/p>\n<p>Execution unit scheduler contention may lead to a side channel vulnerability found on AMD CPU microarchitectures codenamed \u201cZen 1\u201d, \u201cZen 2\u201d and \u201cZen 3\u201d that use simultaneous multithreading (SMT). By measuring the contention level on scheduler queues an attacker may potentially leak sensitive information.<\/p>\n<p>\u6982\u8981<\/p>\n<p>\u30b3\u30fc\u30c9\u30cd\u30fc\u30e0\u300cZen 1\u300d\u3001\u300cZen 2\u300d\u3001\u300cZen 3\u300d\u306eAMD CPU\u30de\u30a4\u30af\u30ed\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3067\u306f\u3001\u5b9f\u884c\u30e6\u30cb\u30c3\u30c8\u306e\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u7af6\u5408\u306b\u3088\u308a\u3001\u30b5\u30a4\u30c9\u30c1\u30e3\u30cd\u30eb\u8106\u5f31\u6027\u304c\u767a\u898b\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u30fc\u30ad\u30e5\u30fc\u306e\u7af6\u5408\u30ec\u30d9\u30eb\u3092\u6e2c\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u653b\u6483\u8005\u306f\u6a5f\u5bc6\u60c5\u5831\u3092\u6f0f\u6d29\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Mitigation<\/p>\n<p>AMD recommends software developers employ existing best practices, including constant-time algorithms and avoiding secret-dependent control flows where appropriate to help mitigate this potential vulnerability.<\/p>\n<p>\u7de9\u548c\u7b56<\/p>\n<p>AMD\u306f\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u8005\u306b\u5bfe\u3057\u3001\u3053\u306e\u6f5c\u5728\u7684\u306a\u8106\u5f31\u6027\u3092\u7de9\u548c\u3059\u308b\u305f\u3081\u306b\u3001\u30b3\u30f3\u30b9\u30bf\u30f3\u30c8\u30bf\u30a4\u30e0\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3084\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u4f9d\u5b58\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d5\u30ed\u30fc\u306e\u56de\u907f\u306a\u3069\u3001\u65e2\u5b58\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a1\u7528\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002\n<\/p><\/blockquote>\n<p>\u4e00\u65b9\u3001Apple\u306e\u30d7\u30ed\u30bb\u30c3\u30b5\u306b\u95a2\u3057\u3066\u306f\u3001M1\u304cSQUIP\u306e\u8106\u5f31\u6027\u3092\u53d7\u3051\u308b\u3068\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u306e\u3001M2\u306b\u95a2\u3057\u3066\u306f\u8a00\u53ca\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002M2\u30d7\u30ed\u30bb\u30c3\u30b5\u3067\u306f\u6b20\u9665\u304c\u4fee\u6b63\u3055\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apple M1\u30d7\u30ed\u30bb\u30c3\u30b5\u3084AMD Zen\u30d9\u30fc\u30b9\u306eRyzen\u30c1\u30c3\u30d7\u306a\u3069\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3059\u3001\u300cSQUIP(Scheduler Queue Usage via Interference Probing)\u300d\u3068\u547c\u3070\u308c\u308bCPU\u306e\u8106\u5f31\u6027 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":101194,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[24],"tags":[232,4367,4427],"class_list":["post-101193","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hard","tag-cpu","tag-m1","tag-ryzen"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/101193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=101193"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/101193\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/101194"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=101193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=101193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=101193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}