Received: by 10.192.165.148 with SMTP id m20csp3160406imm; Mon, 23 Apr 2018 01:26:48 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/px8WOvCkCnjjlw4ZkDBF3a4jqQypzLV1JcWdyPi+ESqCOFKRHsxac7RTde6kQVfsTWpJt X-Received: by 2002:a17:902:788e:: with SMTP id q14-v6mr13752727pll.98.1524472008847; Mon, 23 Apr 2018 01:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524472008; cv=none; d=google.com; s=arc-20160816; b=Ccq8XEQrw94WS9FDn9EnqPu0LDzqoHIl3y0NeHYk+LSr4j71woM3kOB2jHMVKDn/cT IelXZBQjWcIuyKVbfS3jm+VeyR459myQTEiuhxjS5nnFkUn2DUGFbCfFZ3aXFPGWOIuz C0rEs/uzIe/sNbJC/CuuTZFQtZQY77eohonOnBAtkN0Q3tsXauxmdG5fK7xY+SGDv18F pLmOQpOjMC1ZzktkcMBw+7ke9qjARea4kASYI8TRbljct1qAEfisnGRzCs2jZ9mtMjN0 kZDvySMWfKtC5PjxGXZAEt5MfiiLunGpFGLlmIoLPyaN2go7Mxx9D+Q7E3k4AKOJQXHF 22Iw== 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:arc-authentication-results; bh=X5RxQdb000H0FTQzlus8h7XPH/mAl7Zle9o1ZXpT2uI=; b=Ow7tEP7KBjtRq2raNURsYdNjf+eDt3EGcftvHhLtLwSe9+ADfVtNWoR+6QCmkYrpHe otYBHFze4ZEMPlsji8gtoy5Oo2U8F4F8VEzK2uD8R6VvC6qolkfK5W8qexKhz5TNRa/H 88rh3YAf/FfM2RQLmaKucwvIGReYd4yHWB6BC5pHmWf9tlRwdC7ODtqyZE1aerdvYu6B dMd8kxFgY5iYhH+BXTpseb5nWkiJ3TfurOooaCDOS5Pzfno+pHuEzQg9xTNSY75yWYtt Jh1I3vb2tOx/FoiLY5Rpvyt7t3vkcfYASEF/U2t174enrwfv+Djx2IEX/gwGhRNE9eBr pHdg== 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 k10si8234847pgs.304.2018.04.23.01.26.34; Mon, 23 Apr 2018 01:26:48 -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 S1754452AbeDWIXE (ORCPT + 99 others); Mon, 23 Apr 2018 04:23:04 -0400 Received: from mail-io0-f200.google.com ([209.85.223.200]:40386 "EHLO mail-io0-f200.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754384AbeDWIXC (ORCPT ); Mon, 23 Apr 2018 04:23:02 -0400 Received: by mail-io0-f200.google.com with SMTP id n17-v6so13566107iob.7 for ; Mon, 23 Apr 2018 01:23:02 -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=X5RxQdb000H0FTQzlus8h7XPH/mAl7Zle9o1ZXpT2uI=; b=TDt8d+nh1vzfbsmP5G9HjqJKh54qWoNE2g/zji4qffGQuxBaRHVoyKXlELCHaFaMcC buDwKW2HYCc4VZODMbqEw4h86DEFFJNlq1ub7aII8kK6Ri2kZiQLrvrYpy0lhCn1tUhp Cfp63x1gqXk1cwEhBxe0C9c8pY+p5cBMgizJR+Rk+HCRScRXOQdbAupwpgbGPMaOBtYT xuOOJgKoVG8eqtSjExx/ll9Lr8tWqibWF/2hp+TugQ777OvZmzfY9ipOdMQIRZq2WZSE HGrtfiAVjdnGzjH+b0q9u6wV7kDIZj+R4S5Iaefm5Awh+CgiXo7Y+K1yGYktxPIzXFHQ vVMw== X-Gm-Message-State: ALQs6tCpUqj3tyWrEfAieCIsUvBBQuZEK3qsVU55nfxe6YZXv+2yOvKx rdicRdBl8qYqlCFlAQyFQPYRiNrxMDCwUQCpznxaf8ckRUO6 MIME-Version: 1.0 X-Received: by 2002:a6b:801a:: with SMTP id b26-v6mr10660986iod.136.1524471781648; Mon, 23 Apr 2018 01:23:01 -0700 (PDT) Date: Mon, 23 Apr 2018 01:23:01 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000003f2d5056a7fbf92@google.com> Subject: KMSAN: uninit-value in strnlen From: syzbot To: linux-kernel@vger.kernel.org, mostrows@earthlink.net, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.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 Hello, syzbot hit the following crash on https://github.com/google/kmsan.git/master commit a7f95e9c8a95e9fbb388c3999b61a17667cd3bbe (Sat Apr 21 13:50:22 2018 +0000) kmsan: disable assembly checksums syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=cd06c321e7147d03a65e So far this crash happened 5 times on https://github.com/google/kmsan.git/master. C reproducer: https://syzkaller.appspot.com/x/repro.c?id=5785171018121216 syzkaller reproducer: https://syzkaller.appspot.com/x/repro.syz?id=5117671628603392 Raw console output: https://syzkaller.appspot.com/x/log.txt?id=6310764688179200 Kernel config: https://syzkaller.appspot.com/x/.config?id=328654897048964367 compiler: clang version 7.0.0 (trunk 329391) IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+cd06c321e7147d03a65e@syzkaller.appspotmail.com It will help syzbot understand when the bug is fixed. See footer for details. If you forward the report, please keep this part and the footer. ================================================================== BUG: KMSAN: uninit-value in strnlen+0xc4/0x110 lib/string.c:499 CPU: 1 PID: 4507 Comm: syzkaller579712 Not tainted 4.16.0+ #85 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 strnlen+0xc4/0x110 lib/string.c:499 dev_name_hash net/core/dev.c:209 [inline] dev_get_by_name_rcu net/core/dev.c:764 [inline] dev_get_by_name+0x6e/0x350 net/core/dev.c:791 pppoe_connect+0xcb7/0x2360 drivers/net/ppp/pppoe.c:665 SYSC_connect+0x41a/0x510 net/socket.c:1639 SyS_connect+0x54/0x80 net/socket.c:1620 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x43fcf9 RSP: 002b:00007ffca4bd4978 EFLAGS: 00000213 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcf9 RDX: 0000000000000007 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8 R10: 00000000004002c8 R11: 0000000000000213 R12: 0000000000401620 R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 Local variable description: ----address@SYSC_connect Variable was created at: SYSC_connect+0x6f/0x510 net/socket.c:1622 SyS_connect+0x54/0x80 net/socket.c:1620 ================================================================== --- This bug is generated by a dumb bot. It may contain errors. See https://goo.gl/tpsmEJ for details. Direct all questions to syzkaller@googlegroups.com. syzbot will keep track of this bug report. If you forgot to add the Reported-by tag, once the fix for this bug is merged into any tree, please reply to this email with: #syz fix: exact-commit-title If you want to test a patch for this bug, please reply with: #syz test: git://repo/address.git branch and provide the patch inline or as an attachment. To mark this as a duplicate of another syzbot report, please reply with: #syz dup: exact-subject-of-another-report If it's a one-off invalid bug report, please reply with: #syz invalid Note: if the crash happens again, it will cause creation of a new bug report. Note: all commands must start from beginning of the line in the email body.