[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200106.132513.1650666329211239718.davem@redhat.com>
Date: Mon, 06 Jan 2020 13:25:13 -0800 (PST)
From: David Miller <davem@...hat.com>
To: ying.xue@...driver.com
Cc: netdev@...r.kernel.org, maloy@...jonn.com,
tipc-discussion@...ts.sourceforge.net
Subject: Re: [PATCH net] tipc: eliminate KMSAN: uninit-value in
__tipc_nl_compat_dumpit error
From: Ying Xue <ying.xue@...driver.com>
Date: Sat, 4 Jan 2020 10:48:36 +0800
> syzbot found the following crash on:
...
> The complaint above occurred because the memory region pointed by attrbuf
> variable was not initialized. To eliminate this warning, we use kcalloc()
> rather than kmalloc_array() to allocate memory for attrbuf.
>
> Reported-by: syzbot+b1fd2bf2c89d8407e15f@...kaller.appspotmail.com
> Signed-off-by: Ying Xue <ying.xue@...driver.com>
Applied.
Powered by blists - more mailing lists