[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180731013731.1987-1-jcline@redhat.com>
Date: Tue, 31 Jul 2018 01:37:29 +0000
From: Jeremy Cline <jcline@...hat.com>
To: Jan Kara <jack@...e.com>
Cc: linux-kernel@...r.kernel.org, Josh Poimboeuf <jpoimboe@...hat.com>,
Jeremy Cline <jcline@...hat.com>
Subject: [PATCH 0/2] fs/quota: Fix potential spectre v1 gadgets
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
Powered by blists - more mailing lists