All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: procmem <procmem@riseup.net>
Cc: kernel-hardening@lists.openwall.com
Subject: Re: Nethammer and kernel network drivers
Date: Sun, 3 Jun 2018 15:37:35 +0200	[thread overview]
Message-ID: <20180603133735.GA10274@kroah.com> (raw)
In-Reply-To: <4b4c83d9-832d-dfd1-ee4a-3aba78edab50@riseup.net>

On Sun, Jun 03, 2018 at 01:23:28PM +0000, procmem wrote:
> 
> 
> Greg KH:
> > On Sat, Jun 02, 2018 at 05:41:09PM +0000, procmem wrote:
> >> Hello. Daniel provided more details on the problematic areas of the
> >> kernel and I quote what he said verbatim:
> >>
> >>
> >>> We have only found very outdated network drivers using clflush (old
> >>> windows ndis code). On ARM there are many drivers using uncached memory.
> >>> However, we have so far failed to produce enough memory traffic on ARM
> >>> to trigger a bit flip with Nethammer on any ARM device.
> >>> It should be possible though if you can make the ARM device handle
> >>>> =300MBit/s.
> >>> And that's the most plausible scenario.
> >>>
> >>> Anyway, searching for clflush or use of uncached memory is a good idea
> >>> to locate the critical spots.
> >>>
> >>> Intel CAT is (we believe) not used anywhere yet. And we must be careful
> >>> when it gets to the point where we introduce usage of CAT for QoS
> >>> mechanisms.
> >>>
> >>> However, my intuition tells me that most systems are not even vulnerable
> >>> to Rowhammer in the first place. Although the only prevalence studies we
> >>> have suggest otherwise (they find 60-80% are affected).
> >
> > So Linux is not vulnerable to this at all?  That's good to know, thanks
> > for following up with this.
> >
> > greg k-h
> >
> 
> I interpreted this to mean that there is a major problem with ARM
> drivers but the only backstop is the current gen of hardware being
> underpowered.

Really?  There are ARM servers now that can do really fast networking,
yet those drivers do not seem to have this problem from what I can see.
Am I missing something here?

> Also it would be best to put a kernel comment about sec implications
> of Intel CAT for those who want to enable/use it IMHO.

Patches are always gladly accepted :)

thanks,

greg k-h

      reply	other threads:[~2018-06-03 13:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-02  3:46 Nethammer and kernel network drivers procmem
2018-06-02  9:43 ` Greg KH
2018-06-02 13:57   ` procmem
2018-06-02 17:41     ` procmem
2018-06-03  6:31       ` Greg KH
2018-06-03 13:23         ` procmem
2018-06-03 13:37           ` Greg KH [this message]

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=20180603133735.GA10274@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=kernel-hardening@lists.openwall.com \
    --cc=procmem@riseup.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.