Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1339547imm; Fri, 27 Jul 2018 15:46:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfagSFfCKP4yCCc4VjdoU/iGSfPh+DV0iZlEsrJZLmdtsSpwDqoYbzW3zFXbOp+HfkAVlb7 X-Received: by 2002:a17:902:6ac3:: with SMTP id i3-v6mr7653130plt.252.1532731568353; Fri, 27 Jul 2018 15:46:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532731568; cv=none; d=google.com; s=arc-20160816; b=s7W9WF0geN5r5dHDgJe39P3+ZOPo7MbbeaP5lAVfQ5tzKMJ3aiMwQAdurx22Y8f0rR iw5UjPDafrAhDx07KOsbK4AMH2zUFFZrFiRXyw1vZX3IO1wPtTRPbECjqkrimajNOyPw zvO+iY6tGEx5jIEjKrh7nomHF9cgIu9VTsqNP1LrOdsxWctOQwSM9/bIgnxV1p2dzHcE HjuTHbNbdgf5ZtBzczDl9PLuqERfsD39yAKUpJJH8mJ5PFiSYxbl+A+hScT8SmOp35uP ybVPdeW/7YpcuJn6sOxxU5GQW302NvR3tXSiHTnbQWAmoAsxPOkRcI2bFsMbsgqWGMbD VlMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=yNUN47lKpvHq+FINBIiaH90BLsZAxxYvxgH2DYUpisM=; b=LbTwLpBeauWDmi/XJA2VHoS9CTm/YAFGrrDQxTfj7qMsIfz65dV3QS+X4+GKAsisb6 ae0iXJJV8jV20jRRmajdyu4A5jEmodd8gd3dYYiDL+i9A6j3LM3wNLug5gspqFpL9wME SzIldDfUMU99dj9/oeHHQjAm6uiSUkjV5hLKmAzbUaxOCfmjEgp3d96gT5MaNzUkRGKF O41scz5TabJIfdHERfgnwR+yWRQ9wwzv3Qs/zp0c4HwiOfZAI3XTql1GY4iZLe5lBoKE F5Ulcq2KUbdrd0HjLR5XK4VUoxsQtl35NWDh5NtFHPiaO/+RRrzBloy5tpUxeH1xUI/z NCNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e32-v6si4754450pgb.0.2018.07.27.15.45.53; Fri, 27 Jul 2018 15:46:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388977AbeG1AIL (ORCPT + 99 others); Fri, 27 Jul 2018 20:08:11 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:43305 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388668AbeG1AIK (ORCPT ); Fri, 27 Jul 2018 20:08:10 -0400 Received: by mail-qt0-f194.google.com with SMTP id f18-v6so6687549qtp.10 for ; Fri, 27 Jul 2018 15:44:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yNUN47lKpvHq+FINBIiaH90BLsZAxxYvxgH2DYUpisM=; b=kCNUrdTOG4FC9Mh6jLWbfpYy28EIuAtfsS8dwPpo9nusmllbRrIg0TF9aE7hn7s1Oj uOUTP426WVNmLe1/HyI2xT13usxyQIwxmVWqZS+9/GdK5s3/mLSLRbNIl6tPjswYbu2C 6oYQWJ/ZMhuW7puVfRdoDE45TNqjuJoxxgGzIY8WH403zLeiLIZ2xYqR/v4uVK+goYo0 0or1oV+E3h2m7SuftH/ppG6oWPn4ICLthtx7edvkvGiwJYZBzqOCet5sTjtYoQAxqCAj CA2Z+IgC+h9QYi1wqgaPB4uUglKRFTtkSnW9ao/LIn/pcilnB6yjLn1KA7JUFjWUlX+m TnfA== X-Gm-Message-State: AOUpUlHxcwZ7ojN8wrW1jKM3gg7BrX28udENZjYzl8RueJ8cpsGns/sK ILVbxwFU1tHzzzVsDgnKtqbdnA== X-Received: by 2002:aed:3d95:: with SMTP id i21-v6mr8120386qtf.232.1532731451043; Fri, 27 Jul 2018 15:44:11 -0700 (PDT) Received: from builder.jcline.org.com ([2605:a601:80ce:4700:77a5:8983:ea8b:82ec]) by smtp.gmail.com with ESMTPSA id g39-v6sm4145984qtb.47.2018.07.27.15.44.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Jul 2018 15:44:10 -0700 (PDT) From: Jeremy Cline To: "David S . Miller" Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Josh Poimboeuf , Jeremy Cline Subject: [PATCH 0/2] net: socket: Fix potential spectre v1 gadgets Date: Fri, 27 Jul 2018 22:43:00 +0000 Message-Id: <20180727224302.5503-1-jcline@redhat.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi folks, This fixes a pair of potential spectre v1 gadgets. Note that because the speculation window is large, the policy is to stop the speculative out-of-bounds load and not worry if the attack can be completed with a dependent load or store[0]. [0] https://marc.info/?l=linux-kernel&m=152449131114778 Jeremy Cline (2): net: socket: fix potential spectre v1 gadget in socketcall net: socket: Fix potential spectre v1 gadget in sock_is_registered net/socket.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.17.1