mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <gnomes@lxorguk.ukuu.org.uk>
To: Tony Luck <tony.luck@gmail.com>
Cc: Alexander Kleinsorge <aleks@physik.tu-berlin.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: proposal for meltdown-workaround with low overhead
Date: Thu, 4 Jan 2018 23:24:11 +0000	[thread overview]
Message-ID: <20180104232411.17c21652@alans-desktop> (raw)
In-Reply-To: <CA+8MBbL_hW-RTqh2umb-u3nzo7P8B65=p+rhzjrTGrmtFe18Eg@mail.gmail.com>

On Thu, 4 Jan 2018 15:09:28 -0800
Tony Luck <tony.luck@gmail.com> wrote:

> On Thu, Jan 4, 2018 at 11:45 AM, Alexander Kleinsorge
> <aleks@physik.tu-berlin.de> wrote:
> > As Meltdown-Issue depends on allowing to cause many exceptions (usually :
> > accessing an invalid address), we could restrict this misusage easy.  
> 
> The accesses to the invalid address are performed speculatively by the CPU in
> a code branch that is later found to be not taken. Hence there are no exceptions
> at all.

Actually for the 'spectre' attack you can sometimes see hints because
many of the obvious attack points end up causing a syscall to return an
errno value. One thing that might be interesting for the paranoid is
indeed to react to some of those (notably EINVAL, EFAULT) by stirring up
the mud before that process runs again.

Alan

  reply	other threads:[~2018-01-04 23:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-04 19:45 Alexander Kleinsorge
2018-01-04 23:09 ` Tony Luck
2018-01-04 23:24   ` Alan Cox [this message]
2018-01-05 10:24   ` Alexander Kleinsorge

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=20180104232411.17c21652@alans-desktop \
    --to=gnomes@lxorguk.ukuu.org.uk \
    --cc=aleks@physik.tu-berlin.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tony.luck@gmail.com \
    /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

all inboxes | Powered by JetHome®