Re: [PATCH net] tipc: eliminate KMSAN uninit-value in strcmp complaint

2018-05-10 Thread David Miller
From: Ying Xue Date: Tue, 8 May 2018 21:44:06 +0800 > When we get link properties through netlink interface with > tipc_nl_node_get_link(), we don't validate TIPC_NLA_LINK_NAME > attribute at all, instead we directly use it. As a consequence, > KMSAN detected the TIPC_NLA_LINK_NAME attribute was

[PATCH net] tipc: eliminate KMSAN uninit-value in strcmp complaint

2018-05-08 Thread Ying Xue
owing complaint: == BUG: KMSAN: uninit-value in strcmp+0xf7/0x160 lib/string.c:329 CPU: 1 PID: 4527 Comm: syz-executor655 Not tainted 4.16.0+ #87 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call

Re: KMSAN: uninit-value in strcmp

2018-05-08 Thread Ying Xue
On 05/04/2018 03:22 AM, David Miller wrote: > From: syzbot > Date: Thu, 03 May 2018 11:44:02 -0700 > >> Call Trace: >> __dump_stack lib/dump_stack.c:17 [inline] >> dump_stack+0x185/0x1d0 lib/dump_stack.c:53 >> kmsan_report+0x142/0x240 mm/kmsan/kmsan.c:1067 >> __msan_warning_32+0x6c/0xb0 mm/km

RE: KMSAN: uninit-value in strcmp

2018-05-03 Thread Jon Maloy
legroups.com; tipc- > discuss...@lists.sourceforge.net; ying@windriver.com > Subject: Re: KMSAN: uninit-value in strcmp > > From: syzbot > Date: Thu, 03 May 2018 11:44:02 -0700 > > > Call Trace: > > __dump_stack lib/dump_stack.c:17 [inline] > > dump_stack+0x185/0

Re: KMSAN: uninit-value in strcmp

2018-05-03 Thread David Miller
From: syzbot Date: Thu, 03 May 2018 11:44:02 -0700 > Call Trace: > __dump_stack lib/dump_stack.c:17 [inline] > dump_stack+0x185/0x1d0 lib/dump_stack.c:53 > kmsan_report+0x142/0x240 mm/kmsan/kmsan.c:1067 > __msan_warning_32+0x6c/0xb0 mm/kmsan/kmsan_instr.c:683 > strcmp+0xf7/0x160 lib/string.c

KMSAN: uninit-value in strcmp

2018-05-03 Thread syzbot
=17c3d5e780 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+df0257c92ffd4fcc5...@syzkaller.appspotmail.com == BUG: KMSAN: uninit-value in strcmp+0xf7/0x160 lib/string.c:329 CPU: 1 PID: 4527 Comm