Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3559322imm; Mon, 8 Oct 2018 06:06:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV61obyYtD7FcKC/MelwHtKRw7MuxnzFUWZs3ZN3a47fQiDHba9R455ZSVcR1zGmeN9aSdCtw X-Received: by 2002:a17:902:28a2:: with SMTP id f31-v6mr23973368plb.312.1539004018651; Mon, 08 Oct 2018 06:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539004018; cv=none; d=google.com; s=arc-20160816; b=Ei3pVd2eSP0WdYZcNhUvs6kSfWA2zqfIjxcOSTA4cnsEJxDzQVkjl5Xa7qNMMUJfor KfvKtKrySdhKnqmoG5vK/nLQZj1XfhMXt+XdAbJ+O+6A6vaH/oPW2ihJpkGA3pNbJwRg l8sgF/HUr4890D0XjLQUZ7c86IK12GB0tlMXDV1aJCLvXPiVZrsenCBvrRYCfmmIG63D iKk0DFlgQH6P1b4e6l46TnSCz+LdCvAZFK+nj0s3X/iY48Dogtstn9zDXmY0vkhmFiYJ 29y1EsqRiygmW1XQW6QuV9D9GTT+faeiSOzG52s/d+6x30K9GihE2tEghlNx5BlFj70D EU/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:in-reply-to :date:mime-version; bh=inKmNwI/lD1VKBFHxUhd+8t17U5OaTsxXF5/K2+X5PQ=; b=tLoAvEL4+gvR9vwNFj7hQTvEwm3HJsgTZREooO6so61XG/OaB1qTpOMB3L83aJZT3N rjDG+tZK10UJjjAD7nZUI6jn9BYjkf+kUy+20TGnOTf9ae1hioRoij1lztnFo6exkXNl svw8fce5bEDYqkFT8JT6cMBoFTCIIM1O1smwRBjTgr5pCrkV0+1R9Gl5HvE5/63GtHLV qKe3tWmYupLu9cWRM8NQa/GJEIlhb/R5nF17Rurr3RLYgzjtBr3lSquaXAZ4hbvfA/N3 Z83mXQ48XDroP5vGG5GcUwIdr5H+Ct21+EmwAZDpNJ/o7GjJcAmY09sl+PxWrSvG3FtL idJw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7-v6si17408989plv.413.2018.10.08.06.06.43; Mon, 08 Oct 2018 06:06:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726243AbeJHURm (ORCPT + 99 others); Mon, 8 Oct 2018 16:17:42 -0400 Received: from mail-io1-f69.google.com ([209.85.166.69]:39016 "EHLO mail-io1-f69.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbeJHURm (ORCPT ); Mon, 8 Oct 2018 16:17:42 -0400 Received: by mail-io1-f69.google.com with SMTP id x5-v6so19550506ioa.6 for ; Mon, 08 Oct 2018 06:06:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:in-reply-to:message-id:subject :from:to; bh=inKmNwI/lD1VKBFHxUhd+8t17U5OaTsxXF5/K2+X5PQ=; b=qBj2YwIc3ZAn0KA4jFeCY7OBHr21VWmJsZs02gfM+YtUTj1GWlJdndIOMSSxj1dpI7 LSI1CR7AgmfM0ilX+RgqJ4C/ffKgcgXhE1jYC7gXOlYUHLYLvVhDERdd7qkfkSXTQVp5 QByQhnLoV2syCE8zVd89jAN+sq3BKdbpRQxf4PFmDMPo7DmNj82jYyp6v+XLgigwLsaB wEmF877k14Sez9fLsraYasqbOoaJBgFIo8PMMWSusoIIIJfZN13JSuiz6hkXzR89lhZ6 KX1TGRT6N14r90LO+2QdXV4p0z3SV6r7mB/yr/meHd/Z+xWi88HOl6kho90l+h/bEIWN 9M8A== X-Gm-Message-State: ABuFfoj+GiMRCTOBGpHjfjZjDLWBuUU/Hoz81AFmSiGcxaZrfLrYY7r+ o3lQt15tAxKDTZ7WdgmWvfODleNcr40rj8XxBkPkdFs/3Olv MIME-Version: 1.0 X-Received: by 2002:a24:484a:: with SMTP id p71-v6mr12777088ita.23.1539003963279; Mon, 08 Oct 2018 06:06:03 -0700 (PDT) Date: Mon, 08 Oct 2018 06:06:03 -0700 In-Reply-To: <0000000000005e2e530576c6f9ce@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000008a2f4a0577b7480f@google.com> Subject: Re: KMSAN: uninit-value in __dev_mc_add From: syzbot To: davem@davemloft.net, edumazet@google.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, sunlw.fnst@cn.fujitsu.com, syzkaller-bugs@googlegroups.com, vdronov@redhat.com Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org syzbot has found a reproducer for the following crash on: HEAD commit: 43c85fe5a0ee kmsan: suppress false positives in KVM git tree: https://github.com/google/kmsan.git/master console output: https://syzkaller.appspot.com/x/log.txt?x=15ffd5b9400000 kernel config: https://syzkaller.appspot.com/x/.config?x=3ff9630e1f32e076 dashboard link: https://syzkaller.appspot.com/bug?extid=001516d86dbe88862cec compiler: clang version 8.0.0 (trunk 339414) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10adf491400000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=100c8159400000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+001516d86dbe88862cec@syzkaller.appspotmail.com random: sshd: uninitialized urandom read (32 bytes read) random: sshd: uninitialized urandom read (32 bytes read) random: sshd: uninitialized urandom read (32 bytes read) IPVS: ftp: loaded support on port[0] = 21 ================================================================== BUG: KMSAN: uninit-value in memcmp+0x117/0x180 lib/string.c:863 CPU: 1 PID: 18 Comm: kworker/1:0 Not tainted 4.19.0-rc4+ #64 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: ipv6_addrconf addrconf_dad_work Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x306/0x460 lib/dump_stack.c:113 kmsan_report+0x1a2/0x2e0 mm/kmsan/kmsan.c:917 __msan_warning+0x7c/0xe0 mm/kmsan/kmsan_instr.c:500 memcmp+0x117/0x180 lib/string.c:863 __hw_addr_add_ex net/core/dev_addr_lists.c:61 [inline] __dev_mc_add+0x1f9/0x8b0 net/core/dev_addr_lists.c:670 dev_mc_add+0x6d/0x80 net/core/dev_addr_lists.c:687 igmp6_group_added+0x2d7/0xab0 net/ipv6/mcast.c:676 __ipv6_dev_mc_inc+0xeff/0x10f0 net/ipv6/mcast.c:934 ipv6_dev_mc_inc+0x70/0x80 net/ipv6/mcast.c:941 addrconf_join_solict net/ipv6/addrconf.c:2098 [inline] addrconf_dad_begin net/ipv6/addrconf.c:3879 [inline] addrconf_dad_work+0x3e7/0x2690 net/ipv6/addrconf.c:4006 process_one_work+0x19c4/0x24f0 kernel/workqueue.c:2153 worker_thread+0x206d/0x2b30 kernel/workqueue.c:2296 kthread+0x59c/0x5d0 kernel/kthread.c:247 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:416 Local variable description: ----buf@igmp6_group_added Variable was created at: igmp6_group_added+0x57/0xab0 net/ipv6/mcast.c:664 __ipv6_dev_mc_inc+0xeff/0x10f0 net/ipv6/mcast.c:934 ==================================================================