[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180510.172913.2242561899364818485.davem@davemloft.net>
Date: Thu, 10 May 2018 17:29:13 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
jon.maloy@...csson.com, ying.xue@...driver.com
Subject: Re: [PATCH net] tipc: fix one byte leak in tipc_sk_set_orig_addr()
From: Eric Dumazet <edumazet@...gle.com>
Date: Wed, 9 May 2018 09:50:22 -0700
> sysbot/KMSAN reported an uninit-value in recvmsg() that
> I tracked down to tipc_sk_set_orig_addr(), missing
> srcaddr->member.scope initialization.
>
> This patches moves srcaddr->sock.scope init to follow
> fields order and ease future verifications.
...
> Fixes: 31c82a2d9d51 ("tipc: add second source address to recvmsg()/recvfrom()")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists