Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751877AbdIUT7Z (ORCPT ); Thu, 21 Sep 2017 15:59:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52998 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751697AbdIUT7X (ORCPT ); Thu, 21 Sep 2017 15:59:23 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 50AA72CE91A Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=riel@redhat.com Message-ID: <1506023948.5486.23.camel@redhat.com> Subject: Re: [kernel-hardening] [PATCH v3 1/3] x86/fpu: don't let userspace set bogus xcomp_bv From: Rik van Riel To: Eric Biggers , x86@kernel.org Cc: linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, Andy Lutomirski , Dave Hansen , Dmitry Vyukov , Fenghua Yu , Ingo Molnar , Kevin Hao , Oleg Nesterov , Wanpeng Li , Yu-cheng Yu , Michael Halcrow , Eric Biggers , stable@vger.kernel.org Date: Thu, 21 Sep 2017 15:59:08 -0400 In-Reply-To: <20170921185239.88398-2-ebiggers3@gmail.com> References: <20170921185239.88398-1-ebiggers3@gmail.com> <20170921185239.88398-2-ebiggers3@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-qfwXRB+99E8KK82ihYXp" Mime-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 21 Sep 2017 19:59:23 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1109 Lines: 34 --=-qfwXRB+99E8KK82ihYXp Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2017-09-21 at 11:52 -0700, Eric Biggers wrote: > From: Eric Biggers >=20 > Fix the bug by checking that the user-supplied value of xcomp_bv is 0 > in > the uncompacted case, and returning an error otherwise. >=20 Reviewed-by: Rik van Riel --=20 All rights reversed --=-qfwXRB+99E8KK82ihYXp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJZxBoNAAoJEM553pKExN6DsFsH/javwCGM5MIOAFRiFvR+kG92 8Z9bHHnDHpPfPTc/QBnYxuIlGLhtmW+lwCwss6X/ce9TZeJQJUjvkuqMcwou4rvE v/U0U/zN7YUi2N0G3GCxjvQOr/BLHKgzTms6b9wvuPKoah96c1mra3nAMExGpAy8 G/mS26dLdy8v5RgF5dEoCth84vfbkaXaAJmiaUzc3It8PdXFc8wP8nYV0rgVr/e0 uMSZRBq4wyD3LBYpC+TkXJZ91W00R+M94Eo7oXiiinU/OD/HUaURZBxm7BrqSqVX zf0BPBtBRZJLwqw1yKCYLlJfUt3GAP8+HhuSkKBHwd3N9dYdas4QXyRHXB439QQ= =5ZfR -----END PGP SIGNATURE----- --=-qfwXRB+99E8KK82ihYXp--