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]
Date:	Mon, 08 Mar 2010 17:01:10 +0100
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Penttilä Mika <mika.penttila@...nos.com>
Cc:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	William Allen Simpson <william.allen.simpson@...il.com>
Subject: Re: TCP_COOKIE_TRANSACTIONS synack data

Le lundi 08 mars 2010 à 16:27 +0200, Penttilä Mika a écrit :
> The TCP_COOKIE_TRANSACTIONS synack data seems pretty unsafe atm. 
> >From tcp_make_synack():
> 
> 
> 	u8 *buf = skb_put(skb, cvp->s_data_desired);
> 
> 	/* copy data directly from the listening socket. */
>     	memcpy(buf, cvp->s_data_payload, cvp->s_data_desired);
> 
> 
> The skb here is allocated for MAX_TCP_HEADER + 15 and synack data could be as long as TCP_MSS_DEFAULT, panic():ing at the skb_put().
> 

Indeed, since start of december 2009.

Do you plan to provide a patch do you prefer someone else take care of
it ?

Thanks


--
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