Skip to content
Commit d852be84 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by David S. Miller
Browse files

net: netlink: Check address length before reading groups field



KMSAN will complain if valid address length passed to bind() is shorter
than sizeof(struct sockaddr_nl) bytes.

Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 175f7c1f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment