Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4598707imm; Mon, 30 Jul 2018 18:38:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe1XnFkR+ChqdR4Y1+3ReYM6mtH1uRyQ4AwvJUCXTPZ5Z2LNU/b4GW5PONaqp/d6RsdR2VN X-Received: by 2002:a63:2fc6:: with SMTP id v189-v6mr18420284pgv.61.1533001124822; Mon, 30 Jul 2018 18:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533001124; cv=none; d=google.com; s=arc-20160816; b=BpNXIjtLaAUBzM8Xw3CI3bLv3fh95vIFGsT5SFCff+3fj+zhLXYHHmr1hOFdcmtTr3 IocD/nQ9dfUPePJc/j1tlabaeQ7e7arr9bO70/h1//mBVXhnbJgcnudxpw7oyttVBeBX +2qJQR5hs8xAyPdmFYHzShfE1p+1u+xHjexBDgZCcPSaVEBpx4uciC+cufnrcPzq46sv iE9FnBcovThm0eftxhl3+wOdrAN4qhoFqvMA4X/9IVA8GE3dL7s+8pr/6a6MB6ebl9xX Fb8nMGMXs4ixMW4Ck3lj316UomEixmPrk/2E+N3NgJMnumZ3JXhZNKbP4hPT402P+Gkg pE5w== 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=1zSy6rN01vLWst7hzSsQZDmaeeU7ekWlXFMRZKI0qBw=; b=fuvac4CMtcgp+YtbdveIICNhwqtbO4o5ikUwpb2cwT8H58ZsC/MER+NTwaFU4pHYqI DghAJfzuKLu8m8OTtB9MFFkmtOZmNXDK2st+NL8OY6CUN++ATROZWTasZ/vhln7mC7zu T234Z8TYlg2FbFkF8OKjjRiHpIkmbssIOcjlvLTA80IoRhTcV00L54+eDnaop0CDslwM 9HUHs4eMeJcd9VOLH6rtxf4Y7iH/TlTutRWfcOyWnUrdymKP8gP3VpgjnzZz3w49sWBZ 5sZUmHRFV66Q8HZZfzjPx8WHEUeabb+dJBpPcv/HV5Y7tBJMtFBW4DAoxFPaI1tCKWjZ TPHQ== 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 y62-v6si12770415pfd.254.2018.07.30.18.38.30; Mon, 30 Jul 2018 18:38:44 -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 S1731542AbeGaDP1 (ORCPT + 99 others); Mon, 30 Jul 2018 23:15:27 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:33841 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726843AbeGaDP1 (ORCPT ); Mon, 30 Jul 2018 23:15:27 -0400 Received: by mail-yw0-f193.google.com with SMTP id j68-v6so5157355ywg.1 for ; Mon, 30 Jul 2018 18:37:41 -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=1zSy6rN01vLWst7hzSsQZDmaeeU7ekWlXFMRZKI0qBw=; b=TiY9NLM4CfukMJLaUB+NUGGmkmy2RnaQekX8vuZMjvBXKOewkurBdndHLHu5qezy4s OvqFKKhs43G1WIBvvZ3irWuHu4GeG3Modh5zrR0aG7w53zXgVl3+Z09GA2ka5BLmhHR8 A69N9CtycQCYezKwv2YslFu6eumGTqtO2bmN4KRNvwJnaV3MP5qh9hDS1XJXWN6PFcyN mBMqO5Eu/6uoIJwcMS3utL4BeS/CeyaUmQ5CRDVpnwuB3I9sZY3hOSTl8B7bqS62pDOT czh/904kDp/4bJ8iIh1rWo1iPiX81nMBm6ZwDpqODm4CoCOwkopmBrqBw4qz1tkF9RW4 61jA== X-Gm-Message-State: AOUpUlHFVOg9zjN1a+jBfqhOE9j5EQh87AxI/KUGc2O8SMsKY/KsPC+I KA6lALJw3VjHVxIeyv/KcN+S+g== X-Received: by 2002:a0d:c744:: with SMTP id j65-v6mr10005168ywd.484.1533001061481; Mon, 30 Jul 2018 18:37:41 -0700 (PDT) Received: from builder.jcline.org ([2605:a601:80ce:4700:77a5:8983:ea8b:82ec]) by smtp.gmail.com with ESMTPSA id y133-v6sm13800287ywy.31.2018.07.30.18.37.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Jul 2018 18:37:41 -0700 (PDT) From: Jeremy Cline To: Jan Kara Cc: linux-kernel@vger.kernel.org, Josh Poimboeuf , Jeremy Cline Subject: [PATCH 0/2] fs/quota: Fix potential spectre v1 gadgets Date: Tue, 31 Jul 2018 01:37:29 +0000 Message-Id: <20180731013731.1987-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 series unifies XQM_MAXQUOTAS with MAXQUOTAS, which were both being used to perform bounds checks on arrays, and then sanitizes 'type' so it can't be used in speculative out-of-bounds array access. Jeremy Cline (2): fs/quota: Replace XQM_MAXQUOTAS usage with MAXQUOTAS fs/quota: Fix spectre gadget in do_quotactl fs/quota/quota.c | 14 +++++++------- include/linux/quota.h | 8 +------- include/uapi/linux/dqblk_xfs.h | 5 ----- 3 files changed, 8 insertions(+), 19 deletions(-) -- 2.17.1