lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1389646213.2025.159.camel@bwh-desktop.uk.level5networks.com>
Date:	Mon, 13 Jan 2014 20:50:13 +0000
From:	Ben Hutchings <bhutchings@...arflare.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
CC:	David Miller <davem@...emloft.net>, <therbert@...gle.com>,
	<netdev@...r.kernel.org>
Subject: Re: [PATCH] net: Check skb->rxhash in gro_receive

On Mon, 2014-01-13 at 12:17 -0800, Eric Dumazet wrote:
> On Mon, 2014-01-13 at 11:59 -0800, David Miller wrote:
> 
> > It also doesn't jive well with Eric's recent patch to adjust the GRO
> > overflow strategy (600adc18eba823f9fd8ed5fec8b04f11dddf3884 ("net:
> > gro: change GRO overflow strategy"))
> > 
> > :-)
> > 
> > I sort of like Tom's idea to optimistically compare the hash, if we
> > do in fact have one already.
> > 
> > Eric would the change be OK if Tom did it that way?
> > --
> 
> Yes this is what I suggested, but it seems Tom had something different
> in mind.
> 
> I would rather not call flow dissector from GRO, especially considering
> nobody but Google uses RPS/RFS (otherwise CVE-2013-4348 would have been
> discovered much sooner)

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.

Ben.

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ