The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/2] fs/quota: Fix potential spectre v1 gadgets
@ 2018-07-31  1:37 Jeremy Cline
  2018-07-31  1:37 ` [PATCH 1/2] fs/quota: Replace XQM_MAXQUOTAS usage with MAXQUOTAS Jeremy Cline
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jeremy Cline @ 2018-07-31  1:37 UTC (permalink / raw)
  To: Jan Kara; +Cc: linux-kernel, Josh Poimboeuf, Jeremy Cline

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-08-22 16:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-31  1:37 [PATCH 0/2] fs/quota: Fix potential spectre v1 gadgets Jeremy Cline
2018-07-31  1:37 ` [PATCH 1/2] fs/quota: Replace XQM_MAXQUOTAS usage with MAXQUOTAS Jeremy Cline
2018-08-22 16:05   ` Jan Kara
2018-08-22 16:17     ` Jan Kara
2018-07-31  1:37 ` [PATCH 2/2] fs/quota: Fix spectre gadget in do_quotactl Jeremy Cline
2018-08-22 16:08   ` Jan Kara
2018-07-31 18:43 ` [PATCH 0/2] fs/quota: Fix potential spectre v1 gadgets Josh Poimboeuf
2018-08-22 16:12   ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox