From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 52A92138334 for ; Sat, 13 Jul 2019 22:03:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47BF8E0898; Sat, 13 Jul 2019 22:03:26 +0000 (UTC) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB919E0849 for ; Sat, 13 Jul 2019 22:03:25 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id s3so11768977wms.2 for ; Sat, 13 Jul 2019 15:03:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version; bh=fy58bcMRIkPvrUKMohJ0TDcJ5H9iHhhv1h09th+Ehws=; b=rkv4mOZQAh5PC7brreJN1NPIIqrWXjYPqIhDGuB/lIhuCxkYWgdJbHmgF5R7G3dmGE ymmwiitl1pA2lOd7L5BKhaW9W83BwCMfihaQhlqIZqfecWK5KYlCj/Ep2IOwhUxSyOc3 XWBcFMXpAxZ6wrJPxS77xwQ34Awn0nFZMW1ulr78ALkaxJSRQ5Ya327OxnHq9MQtUr/K pp6j5ErT1negumNsQHVb1LchbN2M3CbUDgT43XqnstjhASw48DCNlnvXmkdNF52y7rgz Kh73Wqg+fwMiSpG3bGF34NAsi9YIbv7/Kht+X+h43l6/BWuCc+kGIQ3n+uZw/m8B6UIM 8zbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version; bh=fy58bcMRIkPvrUKMohJ0TDcJ5H9iHhhv1h09th+Ehws=; b=K6xyHArN2rPDF4/16Ys16z63hF4syxgZEpbr2iRyYslR6tVzb9FEbkBFWkjftgJTwE csvIqpm3O80Bnv3zGgTEgMTC7IyeoogwDNa9UUeGhUmAv/HUzmAgYLFaa6I+8a7q6NTI Ptn2uvfbypME/8EfEo/vMeUmMGdhsfpf7F3wIg5u1kT3ffExYe5U6tNbVgQZ0tqZnCZt S9MMoxHduCDLX/uxBE43fOgmlZWAg+sFF1HUSANPSD0JkjSRvWUc9fWmzVDyKCZHCY2O 0m92JzKP7H9I5ZiVD5EXVXNrR1lMdTuJedsS6K2eu98ZeD/aGovcdbTCucOaPXTmwkk3 z3Tw== X-Gm-Message-State: APjAAAV+qFEVJJnv4Xi29Iw1lsxX5hfqIb8snH9wWbzEEZ7MiBEl04G5 VYceY+fHdgmXTYO30f6kL45EobBaPFE= X-Google-Smtp-Source: APXvYqyDwI8n/pXZl6UXPxU3XhosAVbBJojFhmU86O5yvOgHghl/ceL430if4dIJSLaj6ApdQzSVuQ== X-Received: by 2002:a05:600c:224d:: with SMTP id a13mr15461962wmm.62.1563055404229; Sat, 13 Jul 2019 15:03:24 -0700 (PDT) Received: from localhost.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by smtp.gmail.com with ESMTPSA id o4sm10308392wmh.35.2019.07.13.15.03.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Jul 2019 15:03:21 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] AMD microcode updates - where are they?! Date: Sat, 13 Jul 2019 23:03:11 +0100 Message-ID: <2279315.AUFcum9iNF@localhost> In-Reply-To: References: <5D2A3C2A.2080205@youngman.org.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2269423.ndiR2jSC23"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Archives-Salt: 99deedb0-4f7b-4cd0-b180-6dda8dcca0f1 X-Archives-Hash: a7e789a7d8f7f271fd5c12b415f98236 --nextPart2269423.ndiR2jSC23 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" On Saturday, 13 July 2019 22:01:02 BST Rich Freeman wrote: > On Sat, Jul 13, 2019 at 4:16 PM Wols Lists wrote: > > On 13/07/19 20:23, Mick wrote: > > > Thanks Corbin, I wonder if despite articles about microcode patch > > > releases to deal with spectre and what not, there are just no patches > > > made available for my aging AMD CPUs. > > > > Or Spectre and what not are Intel specific ... > > > > I know a lot of the reports said many of the exploits don't work on AMD. > > It's something to do with the way Intel has implemented speculative > > execution, and AMD doesn't use that technique. > > Some spectre-related vulnerabilities apply to AMD, and some do not. > Most of the REALLY bad ones do not, but I believe that some of the AMD > ones still require microcode updates to be mitigated in the most > efficient way. Yes, the A10 is vulnerable to: CVE-2017-5753 (Spectre Variant 1, bounds check bypass) CVE-2017-5715 (Spectre Variant 2, branch target injection) > Take a look in /sys/devices/system/cpu/vulnerabilities on your system > for the kernel's assessment of what vulnerabilities apply, and how > they are being mitigated. What you want to see is every single one > either saying "Not affected" or they start with "Mitigation:" If you > see one starting with something like Partial Mitigation or Vulnerable > you should Google if there is something you can do to improve this. > > Note that this assumes you have a current kernel. The kernel can only > report the vulnerabilities it knows about, so if you're running some > kernel from 9 months ago it won't know about everything. > > For reference, on my Ryzen 5 1600 I get: > for x in * ; do echo -n "$x: " ; cat $x ; done > > l1tf: Not affected > mds: Not affected > meltdown: Not affected > spec_store_bypass: Mitigation: Speculative Store Bypass disabled via > prctl and seccomp > spectre_v1: Mitigation: __user pointer sanitization > spectre_v2: Mitigation: Full AMD retpoline, STIBP: disabled, RSB filling I get the same output on both AMD systems running gentoo-sources-4.19.57. I've also used this script for some more detailed checking and testing: https://github.com/speed47/spectre-meltdown-checker Unlike my old Intel which lights up like a christmas tree with "Vulnerable, no microcode found" because Intel has thrown its users to the kerb, both AMDs show "Not Vulnerable" and for some of the vulnerabilities it reports: (your CPU vendor reported your CPU model as not vulnerable) -- Regards, Mick --nextPart2269423.ndiR2jSC23 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEt7MNaGaS6HvTUrEz6WnU8jC95dcFAl0qVR8ACgkQ6WnU8jC9 5dcypxAAjxGHDgMla5yo8V5bt/DoxR7VA0UX0x+yM+qIQzXSjxFw9c6mKgagikKP Pf803N8l+O6Uj0y/K/7sS+IJaSICN94XdbQDdmYRtCnxJnhN5arcdBTmjlt4NPah XY8myRb6gOQoEEOpWmbgdcbHpoqLOtMu499eVb2s/y2hV6FkW2a6ocNZSOBW1OBX l2+I0sWfIB0V78JpM8T9+Yyhn4yloLjBAyDaXuZbbJ909MWp/NsBzX6Pw6Y+6NZI euk6fR40X3x57wq/XxaPpjs10K6VVy6qZRXlpEARv5Bs/335y3gUnohUwuvqQBQA dA9LMqat4kYyTl0TV/xgbkeLlILnnK88sQjO96yV/pg8i9K6MVgY9eoh3JK7d3ts efeSxEiqWEE/5f5lM6l4J9pSiL63YgjX9uWhTh4yVFmugVYE6u60kXVz0cIb9PxX hjq4SB62E66cg7mq9hVJUvYv5VXnjBl2lhvB0onyEpYEgDBLRHVtUTtbfRfQibL9 GwTx7uR5xvHmf2yYMo0gpLQ5yQq75b2/UQwB+8SeZNbo/4ILPumfz/Ic5/UDqm4P 1WEsxnFMJ0PoFcuLYJ4XovA+PYtVQFv5+uVtRtFBBtbogsWgcQjnRQeg2wlfmSuq pwN7tVVrhB4Gd0d30tAH22lvHvLlQQKYTQ1ESkfXRuVN2U/Kjlk= =JnCT -----END PGP SIGNATURE----- --nextPart2269423.ndiR2jSC23--