[PATCH 3/3] tomoyo: Check address length before reading address family
James Morris
jmorris at namei.org
Mon Apr 29 20:06:32 UTC 2019
On Fri, 12 Apr 2019, Tetsuo Handa wrote:
> KMSAN will complain if valid address length passed to bind()/connect()/
> sendmsg() is shorter than sizeof("struct sockaddr"->sa_family) bytes.
>
> Signed-off-by: Tetsuo Handa <penguin-kernel at I-love.SAKURA.ne.jp>
Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-tomoyo
--
James Morris
<jmorris at namei.org>
More information about the Linux-security-module-archive
mailing list