Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp586271yba; Thu, 16 May 2019 05:59:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4pzndOmvIbtq2xB2KtUUK6XWPHJlcdQ0IMiIOB/iOwQXFfHFZCPe8jOxD/GYw02mex6dB X-Received: by 2002:a63:e358:: with SMTP id o24mr6661418pgj.78.1558011592004; Thu, 16 May 2019 05:59:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558011591; cv=none; d=google.com; s=arc-20160816; b=MPE/SmrQ4tTWHG7309AmN4Jp2SAqQdmRK/OyPoe8wdfZcfHB9QLhcJavmJj1EHyMcy A51h8yleVOwP7CtKvQJZ0PYGUVLoW3P21Qpbu5BcYBJ8zsqR6H4O7PClA6/mW+BKhYNj Up3NrZYzIX4mzwiy9q4zqwzDQDbn2CH9G1uKr2rWD4+Zh2Uw8mVrLejCfDgqRoUVlofH kw+AsFBh3rhO4Uk5cH4AduUznl6/zEOC/qhuUgxG8vmBtkTtBccweJrh/eJXSFSNAt3a kvRZ2lTJOKCXcrYPBfG0HXWQfDX8Siwi/fs1bY8LEGL+iM6FStlFytZndJcKrBPCdCIq jJ7Q== 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:date :mime-version; bh=MdrEULgmHdt5/2TFOXFQeQY/puqA7jR5xNjMz6LOyvk=; b=vw7j++SKE3c82TRvYUrrUoOWQ6wFZrJlNML8VHfhGpJ/Qyc7dscKCNxV8rcAECbZf3 agcl4iKaROcBC0IPnE7VhuNjq0EJCNGby3vOG7Uko2GdgoaTR4CSlfUboLfrKTBR0XCR cp12TJIiys63sC0DutkRCjsJ2UTFwNHYytgux+S6PZxCy/Q0QKOs3VstrqSHJX0zRdCP DW8Q7/Nerc5wJ1J2oDJl6fx7u1P/e8Gxoo/V+0kQR2Fwo6EKOhUlAupvErfKLmHw/uhY qMU8p6j86GRUqejdTQOnDRnLsWf2PUMs//5MN40FVfW6cjg6ZIDin3WwnfHxakcEfmRT Gzww== 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 u2si5486118pfn.4.2019.05.16.05.59.36; Thu, 16 May 2019 05:59:51 -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 S1727511AbfEPM6N (ORCPT + 99 others); Thu, 16 May 2019 08:58:13 -0400 Received: from mail-io1-f72.google.com ([209.85.166.72]:57191 "EHLO mail-io1-f72.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726692AbfEPM6H (ORCPT ); Thu, 16 May 2019 08:58:07 -0400 Received: by mail-io1-f72.google.com with SMTP id n24so2566117ioo.23 for ; Thu, 16 May 2019 05:58:06 -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:message-id:subject:from:to; bh=MdrEULgmHdt5/2TFOXFQeQY/puqA7jR5xNjMz6LOyvk=; b=LyqTDwywi7DcKEMIXvP9NKWcur22palQWjBvCHuiTJtdG930kswGaGvPC6xAQm1BKm fIFxLGD74iKIgZ1fRxHRWHr7drFerUrHg0UOlXFlfdV2Dc6lDGrdYYtZEjLmoP86f4QA GSQGx01nRUQHWUtorv+Ma5AGX/Q6GYk0OWRGyVPIpd2tPVIfi5vTNa8aruVc3DOdxa2n /HWLR7iC7Tll9d2+kzesoW4c/e8TGltS9u3ZHBbQmrO+DPmBhKQnZAChmNo92WbYSPbb fEIYBKrK5aN5O9UxYwvqK2Zsy4Mb/AKsY86l9v0KcXe2T1FvKxO+12ItkJ90t2hfSOOW mLTg== X-Gm-Message-State: APjAAAUrhSxEDODWNW59LCnhd6+a5in/KoWoo4Ni/83wqLbwRHvBNxmu H8ZPfyalD8MGvpQDbJfufm51ANS1OleJbszq5Hhuq1fAOHJ5 MIME-Version: 1.0 X-Received: by 2002:a05:6638:221:: with SMTP id f1mr30700825jaq.1.1558011486298; Thu, 16 May 2019 05:58:06 -0700 (PDT) Date: Thu, 16 May 2019 05:58:06 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000032685a058900d170@google.com> Subject: KMSAN: uninit-value in tomoyo_check_inet_address From: syzbot To: glider@google.com, jmorris@namei.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, penguin-kernel@I-love.SAKURA.ne.jp, serge@hallyn.com, syzkaller-bugs@googlegroups.com, takedakn@nttdata.co.jp 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 Hello, syzbot found the following crash on: HEAD commit: 3b955a40 usb-fuzzer: main usb gadget fuzzer driver git tree: kmsan console output: https://syzkaller.appspot.com/x/log.txt?x=1027e608a00000 kernel config: https://syzkaller.appspot.com/x/.config?x=602468164ccdc30a dashboard link: https://syzkaller.appspot.com/bug?extid=1018d578c410f9f37261 compiler: clang version 9.0.0 (/home/glider/llvm/clang 06d00afa61eef8f7f501ebdb4e8612ea43ec2d78) 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+1018d578c410f9f37261@syzkaller.appspotmail.com ================================================================== BUG: KMSAN: uninit-value in tomoyo_check_inet_address+0x143/0xd10 security/tomoyo/network.c:508 CPU: 0 PID: 22966 Comm: syz-executor.2 Not tainted 5.1.0+ #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x191/0x1f0 lib/dump_stack.c:113 kmsan_report+0x130/0x2a0 mm/kmsan/kmsan.c:619 __msan_warning+0x75/0xe0 mm/kmsan/kmsan_instr.c:310 tomoyo_check_inet_address+0x143/0xd10 security/tomoyo/network.c:508 tomoyo_socket_bind_permission+0x343/0x3b0 security/tomoyo/network.c:741 tomoyo_socket_bind+0x8b/0xa0 security/tomoyo/tomoyo.c:471 security_socket_bind+0x127/0x200 security/security.c:1943 __sys_bind+0x536/0x7c0 net/socket.c:1623 __do_sys_bind net/socket.c:1638 [inline] __se_sys_bind+0x8d/0xb0 net/socket.c:1636 __x64_sys_bind+0x4a/0x70 net/socket.c:1636 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x458da9 Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4aeb5bbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458da9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4aeb5bc6d4 R13: 00000000004bee1f R14: 00000000004cfe68 R15: 00000000ffffffff Local variable description: ----address@__sys_bind Variable was created at: sockfd_lookup_light net/socket.c:488 [inline] __sys_bind+0x8c/0x7c0 net/socket.c:1619 __do_sys_bind net/socket.c:1638 [inline] __se_sys_bind+0x8d/0xb0 net/socket.c:1636 ================================================================== --- This bug is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this bug report. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.