Thread (3 messages) flat view 3 messages, 3 authors, 2018-05-10

Re: [PATCH net] tipc: fix one byte leak in tipc_sk_set_orig_addr()

From: David Miller <davem@davemloft.net>
Date: 2018-05-10 21:29:15

From: Eric Dumazet <edumazet@google.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@google.com>
Reported-by: syzbot <redacted>
Applied and queued up for -stable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help