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=-9.0 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 DA409C433E0 for ; Sun, 2 Aug 2020 20:45:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D160120759 for ; Sun, 2 Aug 2020 20:45:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727985AbgHBUpm (ORCPT ); Sun, 2 Aug 2020 16:45:42 -0400 Received: from mail-il1-f199.google.com ([209.85.166.199]:37807 "EHLO mail-il1-f199.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726862AbgHBUpU (ORCPT ); Sun, 2 Aug 2020 16:45:20 -0400 Received: by mail-il1-f199.google.com with SMTP id k69so7468557ilg.4 for ; Sun, 02 Aug 2020 13:45:19 -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=WCj8CYMMQAWzJ6MWSBeZcNE1cIR+npprASii5Yv7VV0=; b=IgNB8Pvxtx25/p5t0vkkJUtaJXnaW+/1nZIfUDIOg+Ly0Fn2Y2YMM3yncefz0KEX3W 0IjJsniv8a+gqfEEx/ETLfbIgL7gk1cT2McOgg5D/JF0oZT7Fy+BOjTnQtZnS9zbhN08 xUUkdjoQ2iqm2gYe4zezuuYYHEIOhYolcK1szFKWDQOSaCddYN+IdJTvrrqDomspiD4m CCQHtBHQ24LZ+LFmVKFBCKzFw5QyKm32YbXVUMUYY3LSpogoq37PZ8I8M33vEMPQWTEH B1PZAlUXRNoCwak3oDbRzKQudH4Hwo6dTTkjoxTwvnIMvSSQv61yHrgopwxD/F+9+L8I vYww== X-Gm-Message-State: AOAM532lFRjR59qhXow0b9o2p1x4t23UaAc9MjyLdGS3n1IgLJFFQTqN HsD9EOLpbHySHcKgOjNlspTMk+PFGbdbwl6A13iCWsJLFWEl X-Google-Smtp-Source: ABdhPJxrDcWd2SstCuCwqW3Wn8G3wdsFFZ9beZO0KN/EJRcm6ZJcbbq9Ex6Ya2FXgRS/n7yrwTIrUDsDwpzrGLwErE+N+CulYzQO MIME-Version: 1.0 X-Received: by 2002:a05:6638:348:: with SMTP id x8mr16357883jap.62.1596401119369; Sun, 02 Aug 2020 13:45:19 -0700 (PDT) Date: Sun, 02 Aug 2020 13:45:19 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000a39e4905abeb193f@google.com> Subject: general protection fault in hci_phy_link_complete_evt From: syzbot To: davem@davemloft.net, johan.hedberg@gmail.com, kuba@kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, marcel@holtmann.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: ac3a0c84 Merge git://git.kernel.org/pub/scm/linux/kernel/g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15ab47ca900000 kernel config: https://syzkaller.appspot.com/x/.config?x=c0cfcf935bcc94d2 dashboard link: https://syzkaller.appspot.com/bug?extid=18e38290a2a263b31aa0 compiler: gcc (GCC) 10.1.0-syz 20200507 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17f3dd0c900000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1032a642900000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+18e38290a2a263b31aa0@syzkaller.appspotmail.com general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 PID: 6861 Comm: kworker/u5:1 Not tainted 5.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci0 hci_rx_work RIP: 0010:hci_phy_link_complete_evt.isra.0+0x23e/0x790 net/bluetooth/hci_event.c:4926 Code: 48 c1 ea 03 80 3c 02 00 0f 85 3e 05 00 00 48 8b 9d 30 09 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 10 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 da 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b RSP: 0018:ffffc90001897a38 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff871af0e3 RDX: 0000000000000002 RSI: ffffffff871af0f0 RDI: 0000000000000010 RBP: ffff88808f25e000 R08: 0000000000000001 R09: ffff8880a1cf6a88 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880877f1110 R14: ffff8880926b480b R15: 00000000000000c8 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 00000000a7ccc000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_event_packet+0x481a/0x86f5 net/bluetooth/hci_event.c:6180 hci_rx_work+0x22e/0xb10 net/bluetooth/hci_core.c:4705 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415 kthread+0x3b5/0x4a0 kernel/kthread.c:291 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 Modules linked in: ---[ end trace 905ef6786a414f06 ]--- RIP: 0010:hci_phy_link_complete_evt.isra.0+0x23e/0x790 net/bluetooth/hci_event.c:4926 Code: 48 c1 ea 03 80 3c 02 00 0f 85 3e 05 00 00 48 8b 9d 30 09 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 10 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 da 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b RSP: 0018:ffffc90001897a38 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff871af0e3 RDX: 0000000000000002 RSI: ffffffff871af0f0 RDI: 0000000000000010 RBP: ffff88808f25e000 R08: 0000000000000001 R09: ffff8880a1cf6a88 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880877f1110 R14: ffff8880926b480b R15: 00000000000000c8 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff77d3f7a7 CR3: 000000009291e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 --- This report 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 issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches