linux-toolchains.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: dmalcolm@redhat.com, linux-toolchains@vger.kernel.org
Subject: -fanalyze vs spectre-v1
Date: Wed, 14 Sep 2022 13:52:42 +0200	[thread overview]
Message-ID: <YyHAikWB9yiBzd9M@hirez.programming.kicks-ass.net> (raw)

Hi David,

Having just watched your LPC presentation; there was a question for more
things to check, but also running out ot time.

One thing that did occur to me; is that when you have the user-kernel
bounary, then it should be possible to find the case where a user
originating variable (result of copy-from-user, syscall argument, etc..)
is used as an array index (without proper guarding like
array_index_nospec()).

~hth,

Peter

                 reply	other threads:[~2022-09-14 11:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YyHAikWB9yiBzd9M@hirez.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=dmalcolm@redhat.com \
    --cc=linux-toolchains@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).