From: Ben Hutchings <ben@decadent.org.uk>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: David Miller <davem@davemloft.net>,
therbert@google.com, netdev@vger.kernel.org
Subject: Re: [PATCH] net: Check skb->rxhash in gro_receive
Date: Wed, 15 Jan 2014 01:31:17 +0000 [thread overview]
Message-ID: <1389749477.3720.173.camel@deadeye.wl.decadent.org.uk> (raw)
In-Reply-To: <1389649061.31367.236.camel@edumazet-glaptop2.roam.corp.google.com>
[-- Attachment #1: Type: text/plain, Size: 1621 bytes --]
On Mon, 2014-01-13 at 13:37 -0800, Eric Dumazet wrote:
> On Mon, 2014-01-13 at 20:50 +0000, Ben Hutchings wrote:
>
> > According to the original report of that vulnerability:
> >
> > > skb_flow_dissect() were used by several places:
> > > - packet scheduler that want classify flows
> > > - skb_get_rxhash() that will be used by RPS, vxlan, multiqueue
> > > tap,macvtap packet fanout
> > > - skb_probe_transport_header() which was used for probing transport
> > > header for DODGY packets
> > > - __skb_get_poff() which will be used by socket filter
> >
> > So flow dissector is already part of the attack surface for both local
> > and remote users in common configurations.
>
> Take a debian or Android distro, and this bug is not hit on 'common
> configurations'. Send them a 'packet of death', they will not hang,
> unless some admin set up RPS/RFS on the incoming device.
[...]
When I investigated the scope of this for Debian, I tried sending a
'packet of death' to a VM and actually triggered the lockup in the TX
path of the *host*, running Debian unstable with Linux 3.11. I didn't
track down exactly why that was but I think that libvirt's default
networking configuration includes multiqueue devices that use flow
dissector.
Ben.
--
Ben Hutchings
Life is what happens to you while you're busy making other plans.
- John Lennon
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2014-01-15 1:31 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-10 4:54 [PATCH] net: Check skb->rxhash in gro_receive Tom Herbert
2014-01-10 5:00 ` David Miller
2014-01-10 5:38 ` Eric Dumazet
2014-01-10 5:43 ` Eric Dumazet
2014-01-10 16:47 ` Tom Herbert
2014-01-10 16:27 ` Tom Herbert
2014-01-10 17:45 ` Eric Dumazet
2014-01-10 18:15 ` Tom Herbert
2014-01-10 18:54 ` Eric Dumazet
2014-01-10 19:42 ` Tom Herbert
2014-01-10 20:43 ` Eric Dumazet
2014-01-10 23:22 ` Tom Herbert
2014-01-13 19:59 ` David Miller
2014-01-13 20:13 ` Tom Herbert
2014-01-13 20:17 ` Eric Dumazet
2014-01-13 20:50 ` Ben Hutchings
2014-01-13 21:37 ` Eric Dumazet
2014-01-15 1:31 ` Ben Hutchings [this message]
2014-01-15 2:27 ` Eric Dumazet
2014-01-15 2:43 ` Ben Hutchings
2014-01-13 21:24 ` Tom Herbert
2014-01-13 21:36 ` Eric Dumazet
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=1389749477.3720.173.camel@deadeye.wl.decadent.org.uk \
--to=ben@decadent.org.uk \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=therbert@google.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