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] [day] [month] [year] [list]
Date:	Tue, 09 Apr 2013 15:05:43 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	keescook@...omium.org
Cc:	linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
	minipli@...glemail.com, spender@...ecurity.net
Subject: Re: [PATCH] net: pre-clear the returned sockaddr_storage variable

From: Kees Cook <keescook@...omium.org>
Date: Tue, 9 Apr 2013 10:50:24 -0700

> To avoid future stack content leaks in the various protocols, pre-clear
> the returned memory.
> 
> Signed-off-by: Kees Cook <keescook@...omium.org>
> Suggested-by: Brad Spengler <spender@...ecurity.net>

No thanks, clearing 2 full cache lines unnecessarily on every socket
call has real cost.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ