Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2196396imu; Fri, 14 Dec 2018 07:16:14 -0800 (PST) X-Google-Smtp-Source: AFSGD/X+UQ7sx6OLUSy+Hpq9s2kvX5hsnaKxCMyI08JG44w1qfI9RHhuuaY0Z5l4kHYZjisIjwfJ X-Received: by 2002:a63:b649:: with SMTP id v9mr3082315pgt.436.1544800574854; Fri, 14 Dec 2018 07:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544800574; cv=none; d=google.com; s=arc-20160816; b=EEQyJb3g4BzgxtaMDCOGweb/EsByfBc4eLKD+4uNOv1cUyeEcb9soWgecuiD2FMH6m trlDt9VtYbZ1zBue9Ft+3zYZzpmHQjDfg896nFTgcBJHEI9BfQ0Xv1Bwxb+tQEzlq50Z iRlH4/oQW7xfz2PeVq+EGryGYRyJkU+Ihbqs6J2AeLNXsvJXgc4sb4DscdweuYeNOzzp GQcAfvFKEmKzJIpZIRiec/OxQ+goEQzG3x/GcXpUntyoUX9YspanvMhnv4gXmAhz/iKc 0qlnlPPhX0WRV8HbSarp9DSHqQ2XWcr70lGqod5acNZluCpAru6GHsFfFCsxAV6A6pKS RWaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=GroZnHYhK5WEaFeYsY94az07FFzLHHGVeLFkYbxLmHU=; b=sT/RbzLNc+08j4KLkHcY4scttcR8SBYolEQ9rzM7mdZfATn3kukgRPd+dEe04G1wN0 rRIfhyINH621jzxpE0cTyNe+Ph4/DjN8pYVixpu7+/js43mBnfXF+RunkzzCwEuMwHGX hY6tVAk2PIsrpWsEB4EL3X8cEp77eNWARzyg4bnB/y64T6Wsz6dB+sVOEDor7TR+T8fO 1r0SgdupMo2BW9CdzvPdbAvwyiiBMBFkUnMFAoivaRXP/FApt5oow7bSbVWDK2YarpMO skE91p6nPDhDjiR6HNfJ4c4KR9phjFibOX104uDk8NfaSjr0IvNqwgmhk5ICMhuI+jAt uPBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VqXRPDve; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e25si4000543pgv.486.2018.12.14.07.15.57; Fri, 14 Dec 2018 07:16:14 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VqXRPDve; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730277AbeLNPOx (ORCPT + 99 others); Fri, 14 Dec 2018 10:14:53 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40724 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730146AbeLNPOx (ORCPT ); Fri, 14 Dec 2018 10:14:53 -0500 Received: by mail-wr1-f68.google.com with SMTP id p4so5764083wrt.7; Fri, 14 Dec 2018 07:14:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=GroZnHYhK5WEaFeYsY94az07FFzLHHGVeLFkYbxLmHU=; b=VqXRPDvevXzVtF+p1EVB05JV7QYlAIxj41j3xxEL0x0g42FMUGwwZudkaZJdmu2qcV +djISuS2H9AZYEvRqmCmX1p+kQrtIEgwpIYvCC2qjVDAOwr6jUSNM8gPtjSv3I3OH+qb doh/71JXynKKYr2vhmIiYcnVlVa7dDhsqRccQJr5cVdk6Z5RD4ylRS85v1tSK27+jx8p rOMd2uaTxewNPYFL7cJx1QputZl5/xM3RnEhG92g7MFBlmVFJjpELb9PWS6OHQr8rWBS 0fpRHhS/lPGhN57rsc0fWvAgrDxGya3jscZIszf1eWOl07dJcDnDVbrT6xJqcS7Po0XH ObVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GroZnHYhK5WEaFeYsY94az07FFzLHHGVeLFkYbxLmHU=; b=Fu5kFpmgoUNyvtTIUcOgcQfzGnpAAGGOpzNIMfo9OVkcKB8RDdSzsBQcb4Tzateedc bcNTYK2TwlCkSHPVJzaaUr7IhH2YqU2acEz0XII27w1fDFTWQQcUwpHk6CQ91PAfFuWr JWNeYCUxNPsR3kEzZw+TW5f6KZqUx8Drutw/1l0A4M6N+6VDbtukJZJnqWxcCyZFfIsn A4SB4r9q00F5t3MkqFIa2i1jyf1hwsSpZ62KUvWWOgj4sRLGFLtS2PxQiJnmsG6t8vsK 0XTdoWBCZSNOVM3CvBV1dojnRqYnnrEkno4/MzUiULl4RiAMlNxqdkjG4MD6I/tIy6sl mR/Q== X-Gm-Message-State: AA+aEWbggxemnGN1CMSHth3plNfUnlwnuq8h1jBxF2+vG2Rae5myKHwO r6K6Zu9P25JNnkSBFjmxwCY= X-Received: by 2002:adf:8506:: with SMTP id 6mr3083464wrh.128.1544800490834; Fri, 14 Dec 2018 07:14:50 -0800 (PST) Received: from [192.168.8.147] (225.83.136.77.rev.sfr.net. [77.136.83.225]) by smtp.gmail.com with ESMTPSA id x76sm10670915wmd.27.2018.12.14.07.14.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Dec 2018 07:14:49 -0800 (PST) Subject: Re: KMSAN: uninit-value in __inet6_bind To: Jon Maloy , Cong Wang , Dmitry Vyukov Cc: "syzbot+c56449ed3652e6720f30@syzkaller.appspotmail.com" , Ying Xue , "tipc-discussion@lists.sourceforge.net" , David Miller , Alexey Kuznetsov , LKML , Linux Kernel Network Developers , "syzkaller-bugs@googlegroups.com" , Hideaki YOSHIFUJI References: <0000000000001568af057cb456a8@google.com> From: Eric Dumazet Message-ID: <2b0f7497-7842-e9c3-c7b0-1b2bf2d5ea59@gmail.com> Date: Fri, 14 Dec 2018 07:14:46 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/14/2018 07:04 AM, Jon Maloy wrote: > > >> -----Original Message----- >> From: Cong Wang >> Sent: 12-Dec-18 01:17 >> To: Dmitry Vyukov >> Cc: syzbot+c56449ed3652e6720f30@syzkaller.appspotmail.com; Jon Maloy >> ; Ying Xue ; tipc- >> discussion@lists.sourceforge.net; David Miller ; >> Alexey Kuznetsov ; LKML > kernel@vger.kernel.org>; Linux Kernel Network Developers >> ; syzkaller-bugs@googlegroups.com; Hideaki >> YOSHIFUJI >> Subject: Re: KMSAN: uninit-value in __inet6_bind >> >> On Tue, Dec 11, 2018 at 1:04 AM Dmitry Vyukov >> wrote: >>> >>> On Tue, Dec 11, 2018 at 1:41 AM syzbot >>> 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 ?