[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200921.173932.434070285456316707.davem@davemloft.net>
Date: Mon, 21 Sep 2020 17:39:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, pabeni@...hat.com,
cpaasch@...le.com, mathew.j.martineau@...ux.intel.com
Subject: Re: [PATCH net] inet_diag: validate INET_DIAG_REQ_PROTOCOL
attribute
From: Eric Dumazet <edumazet@...gle.com>
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 <edumazet@...gle.com>
Applied, thanks Eric.
Powered by blists - more mailing lists