public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Jon Maloy <jon.maloy@ericsson.com>,
	Cong Wang <xiyou.wangcong@gmail.com>,
	Dmitry Vyukov <dvyukov@google.com>
Cc: "syzbot+c56449ed3652e6720f30@syzkaller.appspotmail.com" 
	<syzbot+c56449ed3652e6720f30@syzkaller.appspotmail.com>,
	Ying Xue <ying.xue@windriver.com>,
	"tipc-discussion@lists.sourceforge.net" 
	<tipc-discussion@lists.sourceforge.net>,
	David Miller <davem@davemloft.net>,
	Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>,
	LKML <linux-kernel@vger.kernel.org>,
	Linux Kernel Network Developers <netdev@vger.kernel.org>,
	"syzkaller-bugs@googlegroups.com"
	<syzkaller-bugs@googlegroups.com>,
	Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Subject: Re: KMSAN: uninit-value in __inet6_bind
Date: Fri, 14 Dec 2018 07:14:46 -0800	[thread overview]
Message-ID: <2b0f7497-7842-e9c3-c7b0-1b2bf2d5ea59@gmail.com> (raw)
In-Reply-To: <DM5PR15MB15135725A063E5370876EBA69AA10@DM5PR15MB1513.namprd15.prod.outlook.com>



On 12/14/2018 07:04 AM, Jon Maloy wrote:
> 
> 
>> -----Original Message-----
>> From: Cong Wang <xiyou.wangcong@gmail.com>
>> Sent: 12-Dec-18 01:17
>> To: Dmitry Vyukov <dvyukov@google.com>
>> Cc: syzbot+c56449ed3652e6720f30@syzkaller.appspotmail.com; Jon Maloy
>> <jon.maloy@ericsson.com>; Ying Xue <ying.xue@windriver.com>; tipc-
>> discussion@lists.sourceforge.net; David Miller <davem@davemloft.net>;
>> Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>; LKML <linux-
>> kernel@vger.kernel.org>; Linux Kernel Network Developers
>> <netdev@vger.kernel.org>; syzkaller-bugs@googlegroups.com; Hideaki
>> YOSHIFUJI <yoshfuji@linux-ipv6.org>
>> Subject: Re: KMSAN: uninit-value in __inet6_bind
>>
>> On Tue, Dec 11, 2018 at 1:04 AM Dmitry Vyukov <dvyukov@google.com>
>> wrote:
>>>
>>> On Tue, Dec 11, 2018 at 1:41 AM syzbot
>>> <syzbot+c56449ed3652e6720f30@syzkaller.appspotmail.com> wrote:
>>>>
>>>> Hello,
>>>>
>>>> syzbot found the following crash on:
>>>>
>>>> HEAD commit:    3f06bda61398 kmsan: remove excessive KMSAN
>> wrappers from a..
>>>> git tree:       https://github.com/google/kmsan.git/master
>>>> console output:
>>>> https://syzkaller.appspot.com/x/log.txt?x=13ca6b05400000
>>>> kernel config:
>>>> https://syzkaller.appspot.com/x/.config?x=9b071100dcf8e641
>>>> dashboard link:
>> https://syzkaller.appspot.com/bug?extid=c56449ed3652e6720f30
>>>> compiler:       clang version 8.0.0 (trunk 348261)
>>>>
>>>> Unfortunately, I don't have any reproducer for this crash yet.
>>>>
>>>> IMPORTANT: if you fix the bug, please add the following tag to the
>> commit:
>>>> Reported-by: syzbot+c56449ed3652e6720f30@syzkaller.appspotmail.com
>>>
>>> This looks like a bug in TIPC, +TIPC maintainers.
>>>
>>
>> It looks more like udp_sock_create6() doesn't initialize
>> udp6_addr.sin6_scope_id.
> 
> Unfortunately udp_sock_create6() has no way of knowing this value, because struct udp_port_cfg is missing a field sin6_scope_id.
> So this has to be fixed first by adding this field to the struct, and then setting it correctly in all current users.
> 

Do we reasons to believe values other than 0 are needed ?



  reply	other threads:[~2018-12-14 15:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-11  0:41 KMSAN: uninit-value in __inet6_bind syzbot
2018-12-11  9:03 ` Dmitry Vyukov
2018-12-12  6:17   ` Cong Wang
2018-12-14 15:04     ` Jon Maloy
2018-12-14 15:14       ` Eric Dumazet [this message]
2018-12-14 15:30         ` Jon Maloy
2018-12-17  7:14 ` syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2b0f7497-7842-e9c3-c7b0-1b2bf2d5ea59@gmail.com \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=dvyukov@google.com \
    --cc=jon.maloy@ericsson.com \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=syzbot+c56449ed3652e6720f30@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=tipc-discussion@lists.sourceforge.net \
    --cc=xiyou.wangcong@gmail.com \
    --cc=ying.xue@windriver.com \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox