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:	Wed, 12 Mar 2014 16:31:30 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	matthew.leach@....com
Cc:	netdev@...r.kernel.org, Will.Deacon@....com, Mark.Rutland@....com,
	dan.carpenter@...cle.com
Subject: Re: [PATCH] net: socket: error on a negative msg_namelen

From: Matthew Leach <matthew.leach@....com>
Date: Tue, 11 Mar 2014 11:58:27 +0000

> When copying in a struct msghdr from the user, if the user has set the
> msg_namelen parameter to a negative value it gets clamped to a valid
> size due to a comparison between signed and unsigned values.
> 
> Ensure the syscall errors when the user passes in a negative value.
> 
> Signed-off-by: Matthew Leach <matthew.leach@....com>

Applied and queued up for -stable, 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