{"id":1880,"date":"2021-02-17T12:08:18","date_gmt":"2021-02-17T11:08:18","guid":{"rendered":"https:\/\/blog.mhasin.eu\/?p=1880"},"modified":"2021-02-17T12:12:14","modified_gmt":"2021-02-17T11:12:14","slug":"disabling-intel-and-amd-cpu-vulnerability-mitigations-windows-linux","status":"publish","type":"post","link":"https:\/\/blog.mhasin.eu\/?p=1880","title":{"rendered":"Disabling Intel and AMD CPU Vulnerability Mitigations Windows\/Linux"},"content":{"rendered":"\n<p>CPU Vulmerability znizuje vykon CPU operacii o niekolko percent<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.extremetech.com\/wp-content\/uploads\/2019\/05\/Phoronix-AllPerf-Impact-640x412.png\" alt=\"\" class=\"wp-image-291652\"\/><\/figure>\n\n\n\n<p>Vypnutie Linux:<\/p>\n\n\n\n<p>Kernel > 5.2<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> nano \/etc\/default\/grub<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash <strong>mitigations=off<\/strong>\"<\/code><\/pre>\n\n\n\n<p>Kernel &lt; 5.2<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off\"<\/code><\/pre>\n\n\n\n<p>Update grub<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo update-grub<\/code><\/pre>\n\n\n\n<p>Windows disable:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CVE-2018-11091, CVE-2018-12126, CVE-2018-12127, CVE-2018-12130<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>reg add \"HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management\" \/v FeatureSettingsOverride \/t REG_DWORD \/d 3 \/f\n\nreg add \"HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management\" \/v FeatureSettingsOverrideMask \/t REG_DWORD \/d 3 \/f<\/code><\/pre>\n<div class=\"pdf24Plugin-cp\"> \t<form name=\"pdf24Form0\" method=\"post\" action=\"https:\/\/doc2pdf.pdf24.org\/wordpress.php\" target=\"pdf24PopWin\" onsubmit=\"var pdf24Win = window.open('about:blank', 'pdf24PopWin', 'resizable=yes,scrollbars=yes,width=600,height=250,left='+(screen.width\/2-300)+',top='+(screen.height\/3-125)+''); pdf24Win.focus(); if(typeof pdf24OnCreatePDF === 'function'){void(pdf24OnCreatePDF(this,pdf24Win));}\"> \t\t<input type=\"hidden\" name=\"blogCharset\" value=\"Cw1x07UAAA==\" \/><input type=\"hidden\" name=\"blogPosts\" value=\"MwQA\" \/><input type=\"hidden\" name=\"blogUrl\" value=\"yygpKSi20tdPyslP18vNSCzOzNNLLQUA\" \/><input type=\"hidden\" name=\"blogName\" value=\"c\/LxdwcA\" \/><input type=\"hidden\" name=\"blogValueEncoding\" value=\"gzdeflate base64\" \/><input type=\"hidden\" name=\"postId_0\" value=\"M7SwMAAA\" \/><input type=\"hidden\" name=\"postTitle_0\" value=\"c8ksTkzKycxLV\/DMK0nNUUjMS1Fw9HVRcA4IVQgrzclLLUpMyszJLKlU8M0syUxPLMnMzytWCM\/MS8kvL9b3ycwrrQAA\" \/><input type=\"hidden\" name=\"postLink_0\" value=\"yygpKSi20tdPyslP18vNSCzOzNNLLdW3L7A1tLAwAAA=\" \/><input type=\"hidden\" name=\"postAuthor_0\" value=\"y00syfcwNAIA\" \/><input type=\"hidden\" name=\"postDateTime_0\" value=\"MzIwMtQ1MNI1NFcwNLIyMLIytAAA\" \/><input type=\"hidden\" name=\"postContent_0\" value=\"xVRLb9swDL7nVxA+7DRHsfvY2jkGsiTtiiZr0TTtCgQwZFt2tMiSJsl59NePSbO+kGHtaT6IJglS38eHGpGOu5djuKlFxQxNueBuBfeS39c\/GcxXMyVh7VcavRnnoEByNlNipgBNGZMuIjpu4BcVvKwNg0xQa9veQvupUNnM5xUtmRdHvCohZ5nKuSzbHrUrmXlgTdb2ps5pe0zIYrFosqUzrGKOZdNmpiqCaTIlHd5Dai0UzS0JW8ERaR2Qy6kySvKl3xHikpnCP6s0zZx\/uN9a7gdhU8vSAypc2\/OegdrA8cOj4PAg9EgckQfYDxR0fLPSsnacwYDLenn8SE7H58xIJiCGg2b4ZN5BGCmu+a5FDJJKBYS5jOSsoLVwpDR1GpGNF9M83vyPRKdX469Jd9gbnH3vJ3iMfyS9\/klnPLhue79qzhxYjeFTiKzDqpRxxR0vqeNK2rYqiohs7d6Ou\/9w+yDcl3fRezMqqXhq7EboFIV2HE+rWYbtTubhcyUAEbhiDXprTaxT6EhXGpEkObc0FQx9aC+SlBrDmYEq3\/AEZ5dtHFoUyWbGEpoq4zauVyXZWYmxzqlj8NCkN1bB1rmCehPo\/6W78S2XuVpY2KI\/fnPy7k3fx4n\/7AdB6yj4CE96GISHr\/RPL\/W91vsHzbASaJ6D9+28f5cMLrqdQTLsdL9hhyeju9F1fzjp1sbgQnZxL40SI+Ym29\/JiFmL5YUhlbhlZjJklTKrrVphjAdkDieMOlw5DHT4FtiLOcMW5gyIg6v+adK7vbjqAclhD0jRaPw\/QENqZztBvazqbw==\" \/> \t\t<a href=\"https:\/\/www.pdf24.org\" target=\"_blank\" title=\"www.pdf24.org\" rel=\"nofollow\"><img src=\"https:\/\/blog.mhasin.eu\/wp-content\/plugins\/pdf24-post-to-pdf\/img\/pdf_32x32.png\" alt=\"\" border=\"0\" height=\"32\" \/><\/a> \t\t<span class=\"pdf24Plugin-cp-space\">&nbsp;&nbsp;<\/span> \t\t<span class=\"pdf24Plugin-cp-text\">Send article as PDF<\/span> \t\t<span class=\"pdf24Plugin-cp-space\">&nbsp;&nbsp;<\/span> \t\t<input class=\"pdf24Plugin-cp-input\" style=\"margin: 0px;\" type=\"text\" name=\"sendEmailTo\" placeholder=\"Enter email address\" \/> \t\t<input class=\"pdf24Plugin-cp-submit\" style=\"margin: 0px;\" type=\"submit\" value=\"Send\" \/> \t<\/form> <\/div>","protected":false},"excerpt":{"rendered":"CPU Vulmerability znizuje vykon CPU operacii o niekolko percent Vypnutie Linux: Kernel > 5.2 Kernel &lt; 5.2 Update grub Windows disable: &nbsp;&nbsp; Send article as PDF &nbsp;&nbsp;\n","protected":false},"author":1,"featured_media":1881,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"arc_restricted_post":false,"footnotes":""},"categories":[4,6],"tags":[],"class_list":["post-1880","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-windows"],"_links":{"self":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts\/1880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1880"}],"version-history":[{"count":2,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts\/1880\/revisions"}],"predecessor-version":[{"id":1884,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts\/1880\/revisions\/1884"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/media\/1881"}],"wp:attachment":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}