Re: [PATCH net] inet_diag: validate INET_DIAG_REQ_PROTOCOL attribute

2020-09-21 Thread David Miller
From: Eric Dumazet 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/0x72

Re: [PATCH net] inet_diag: validate INET_DIAG_REQ_PROTOCOL attribute

2020-09-21 Thread Paolo Abeni
On Mon, 2020-09-21 at 07:27 -0700, Eric Dumazet wrote: > 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 > n