From mboxrd@z Thu Jan 1 00:00:00 1970 From: 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> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Josh Poimboeuf , Jeremy Cline To: "David S . Miller" Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.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