From owner-freebsd-security@freebsd.org Fri Jul 12 15:21:03 2019 Return-Path: Delivered-To: freebsd-security@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6BAC715CD00E for ; Fri, 12 Jul 2019 15:21:03 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: from mx2.dismail.de (unknown [IPv6:2a01:4f8:1c17:7be2::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.dismail.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 22B48747DA for ; Fri, 12 Jul 2019 15:20:55 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 28e70e89 for ; Fri, 12 Jul 2019 17:20:49 +0200 (CEST) Received: from smtp2.dismail.de ( [10.240.26.12]) by mx2.dismail.de (OpenSMTPD) with ESMTP id ea2cf210 for ; Fri, 12 Jul 2019 17:20:49 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id c7db0a46 for ; Fri, 12 Jul 2019 17:20:48 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id de558589 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 12 Jul 2019 17:20:47 +0200 (CEST) Date: Fri, 12 Jul 2019 11:20:44 -0400 From: To: freebsd-security@freebsd.org Subject: Re: FreeBSD mds mitigation. Message-ID: <20190712112044.57e9a7e2@dismail.de> In-Reply-To: <20190710095247.GC47193@kib.kiev.ua> References: <20190710095247.GC47193@kib.kiev.ua> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 22B48747DA X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.12 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[dismail.de:s=201701]; RCVD_COUNT_FIVE(0.00)[5]; IP_SCORE(-0.75)[ipnet: 2a01:4f8::/29(-1.96), asn: 24940(-1.80), country: DE(-0.01)]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:1c17:7be2::2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-security@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[dismail.de.dwl.dnswl.org : 127.0.5.1]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; DKIM_TRACE(0.00)[dismail.de:+]; MX_GOOD(-0.01)[cached: mx1.dismail.de]; FROM_NO_DN(0.00)[]; NEURAL_HAM_SHORT(-0.86)[-0.861,0]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; HFILTER_HOSTNAME_UNKNOWN(2.50)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2019 15:21:03 -0000 On Wed, 10 Jul 2019 12:52:47 +0300 Konstantin Belousov wrote: > On Wed, Jul 10, 2019 at 09:06:31AM +0200, damian@damianek.be wrote: > > Hello > >=20 > > FreeBSD 11.2-RELEASE-p11 > > CPU: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz (2594.05-MHz > > K8-class CPU) > >=20 > > sysctl hw.mds_disable was set to 3 (Automatic VERW or Software > > selection), HT disabled in BIOS, and i install manually latest CPU > > microcode from > > https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/ > >=20 > > I wonder why hw.mds_disable_state shows > > hw.mds_disable_state: software Broadwell > > instead VERW? > >=20 > > sysctl hw.mds_disable=3D1 causes hw.mds_disable_state: VERW > >=20 > > These automatic selection works correctly? > No idea. >=20 > How did you installed the microcode ? Was it loaded ? > Show the dmesg output after the 'cpucontrol -e /dev/cpuctl0'. > _______________________________________________ > freebsd-security@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to > "freebsd-security-unsubscribe@freebsd.org" I am using it long time but I didn't have enabled hw.mds_disable_state. Yesterday I did and I have now (3): hw.mds_disable_state: software IvyBridge. I am confused.I have FreeBSD 12.0-RELEASE (amd64) installed on iMac 11,1 (late 2009) and I have: "The iMac "Core i7" 2.8 27-Inch Aluminum (Late 2009) is powered by a 2.8 GHz Quad Core Intel "Core i7" I7-860 (Lynnfield/Nehalem) processor with a dedicated 256k level 2 cache for each core and an 8 MB shared level 3 cache." Thank you. --=20 =E2=80=9CHappiness is the meaning and the purpose of life, the whole aim and end of human existence.=E2=80=9D =E2=80=95 Aristotle