From: Eric Dumazet <[email protected]>
Date: Mon, 21 Sep 2020 07:27:20 -0700
> User space could send an invalid INET_DIAG_REQ_PROTOCOL attribute
> as caught by syzbot.
>
> BUG: KMSAN: uninit-value in inet_diag_lock_handler net/ipv4/inet_diag.c:55
> [inline]
> BUG: KMSAN: uninit-value in __inet_diag_dump+0x58c/0x720
> net/ipv4/inet_diag.c:1147
> CPU: 0 PID: 8505 Comm: syz-executor174 Not tainted 5.9.0-rc4-syzkaller #0
> Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
> Google 01/01/2011
...
> Fixes: 3f935c75eb52 ("inet_diag: support for wider protocol numbers")
> Signed-off-by: Eric Dumazet <[email protected]>
Applied, thanks Eric.