From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60189C7619B for ; Mon, 17 Feb 2020 03:27:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4402A21744 for ; Mon, 17 Feb 2020 03:27:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727860AbgBQD1N (ORCPT ); Sun, 16 Feb 2020 22:27:13 -0500 Received: from mail-io1-f69.google.com ([209.85.166.69]:47492 "EHLO mail-io1-f69.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727890AbgBQD1M (ORCPT ); Sun, 16 Feb 2020 22:27:12 -0500 Received: by mail-io1-f69.google.com with SMTP id 13so10983907iof.14 for ; Sun, 16 Feb 2020 19:27:12 -0800 (PST) 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=dEhJDZdogk/AzHtnY6lpncC9g7Pr4YtHwsSeRTNBiSA=; b=o51fYDIx8tSqOWW77xW9mJNUpPDuQ1tLqBXDICV7d1D1ztAfzvLGBZNxMshqYVzVDj 07C6gLsBj2proS0gRjhfV7d0V1XK2uELPXnp8Cj2qxU/SEN/T+CwKYlNwZOZqoHl1Rh3 frl4k9pS3tZHapvsNH4O79+seHqjP/nZVDLVvkEXB9HlxqJIy03HZH8WuDvpI0aQlvG+ wEi3vKRCv/5/g42BoUsi/faJNpQW2egCJ5XL+kfpH9SbVT13HnurlbFrE7jdxQ0H67LG nfmS5pRhiacOtvoqgJDez+x8Cg5vRBn21g1d7zJ4HBEJKv/pHJBvPFQDDPtJOCXEGxnZ iutQ== X-Gm-Message-State: APjAAAUhS8YXo40HbWGULj5gyvaNZ8YRjsLQjM85+52tGTCoHDysnQLd VwaIe1CUkxDNJAR80uitzIsY6oFIVl8hmPwFibPoRmLugIU5 X-Google-Smtp-Source: APXvYqxXNI5Jk/qaZxKOHyL02SDG44ZkAdM7TaWwvHZGz4oon7FeNzBnPHZH/Tj4CwIP11FXVPI+XTQIroQ4XyIQdkSoUfIy5Rhw MIME-Version: 1.0 X-Received: by 2002:a02:742:: with SMTP id f63mr11168517jaf.138.1581910032194; Sun, 16 Feb 2020 19:27:12 -0800 (PST) Date: Sun, 16 Feb 2020 19:27:12 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000089226a059ebd21ab@google.com> Subject: KMSAN: uninit-value in hci_cmd_timeout From: syzbot To: davem@davemloft.net, glider@google.com, johan.hedberg@gmail.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, marcel@holtmann.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" 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: 686a4f77 kmsan: don't compile memmove git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=15b019d9e00000 kernel config: https://syzkaller.appspot.com/x/.config?x=e10654781bc1f11c dashboard link: https://syzkaller.appspot.com/bug?extid=d5eabae89ae62371887f compiler: clang version 10.0.0 (https://github.com/llvm/llvm-project/ c2443155a0fb245c8f17f2c1c72b6ea391e86e81) 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+d5eabae89ae62371887f@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in hci_cmd_timeout+0x2bd/0x2d0 net/bluetooth/hci_core.c:2637 CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 5.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events hci_cmd_timeout Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x220 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 hci_cmd_timeout+0x2bd/0x2d0 net/bluetooth/hci_core.c:2637 process_one_work+0x1552/0x1ef0 kernel/workqueue.c:2264 worker_thread+0xef6/0x2450 kernel/workqueue.c:2410 kthread+0x4b5/0x4f0 kernel/kthread.c:256 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:353 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_poison_shadow+0x66/0xd0 mm/kmsan/kmsan.c:127 kmsan_slab_alloc+0x8a/0xe0 mm/kmsan/kmsan_hooks.c:82 slab_alloc_node mm/slub.c:2774 [inline] slab_alloc mm/slub.c:2783 [inline] kmem_cache_alloc+0x711/0xd70 mm/slub.c:2788 skb_clone+0x328/0x5d0 net/core/skbuff.c:1448 hci_cmd_work+0x12f/0x4f0 net/bluetooth/hci_core.c:4527 process_one_work+0x1552/0x1ef0 kernel/workqueue.c:2264 worker_thread+0xef6/0x2450 kernel/workqueue.c:2410 kthread+0x4b5/0x4f0 kernel/kthread.c:256 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:353 ===================================================== --- 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.