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-next>] [day] [month] [year] [list]
Message-ID: <2BC93087D531FF4A98881820AFE8AE7B74C409E1C3@jklmail01.ixonos.local>
Date:	Mon, 8 Mar 2010 16:27:25 +0200
From:	Penttilä Mika <mika.penttila@...nos.com>
To:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: TCP_COOKIE_TRANSACTIONS synack data


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().

--Mika


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