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=-3.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 3F33CC433ED for ; Mon, 5 Apr 2021 17:34:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0B775613B3 for ; Mon, 5 Apr 2021 17:34:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238661AbhDERe1 (ORCPT ); Mon, 5 Apr 2021 13:34:27 -0400 Received: from mail-il1-f200.google.com ([209.85.166.200]:44193 "EHLO mail-il1-f200.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232529AbhDEReZ (ORCPT ); Mon, 5 Apr 2021 13:34:25 -0400 Received: by mail-il1-f200.google.com with SMTP id j18so9931348ila.11 for ; Mon, 05 Apr 2021 10:34:18 -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:in-reply-to:message-id:subject :from:to; bh=vd51XgEIvP4DQDs0VI5+bjubW08Kj6vjDtH+/7eNtLk=; b=X8DcCdQ9okugR6LzAWejWN6rj8sAEyF9lTDPTjANl8II2xrjUNKLUXIZ6tsHikJJS5 MGwXmSPTuG3tl3fWx+12h5ZpSS3RZUy9/ETUDT48q/kaMD40eJuYKB/ATW2u0b7tjwxE eWRBm8y75h0/dgFtKW8XwDyKIfdUSge/TQBTzvZDkhRygViJWADP29FE1RdWJuPZcP14 B0LCvho7QNylGoN7s6jeNtzVq0xciK1WTfBsVfC9Tx+gJGm9JM3tqJAkbWlkj4quVz1+ Pkh/6kejQZpxyKFQiq5jGkGEtVZ3aBmx3tSO87/R51DPeIENRuzp5c/bVdbw1QA8RFDE CArg== X-Gm-Message-State: AOAM530PU8O9g/gYE/pEiSCbzvidOSwYZLuq1UcPyh2wWjaBIfymhoNc 6Qm/e5CyqZwgTujQDQFEhpmpwtr2/JH1R/nca2k0gXkRQ82V X-Google-Smtp-Source: ABdhPJxoaysSvm/vwPCZE9vCdUOjIG9huA7+Z034KzCf5cRvCelFCyvZ8u9yGuK1MunvlnEZcan1x4bLAO6PZp/nV+pIRNS2I2e7 MIME-Version: 1.0 X-Received: by 2002:a05:6e02:149:: with SMTP id j9mr21536639ilr.57.1617644058638; Mon, 05 Apr 2021 10:34:18 -0700 (PDT) Date: Mon, 05 Apr 2021 10:34:18 -0700 In-Reply-To: <0000000000003798d705aedd870d@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000007cfd9b05bf3d1b70@google.com> Subject: Re: [syzbot] memory leak in mgmt_cmd_status From: syzbot To: anant.thazhemadam@gmail.com, davem@davemloft.net, johan.hedberg@gmail.com, kuba@kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, luiz.dentz@gmail.com, marcel@holtmann.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org syzbot has found a reproducer for the following issue on: HEAD commit: e49d033b Linux 5.12-rc6 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12579f11d00000 kernel config: https://syzkaller.appspot.com/x/.config?x=b8dbd3c72fdc7777 dashboard link: https://syzkaller.appspot.com/bug?extid=80f5bab4eb14d14e7386 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=143b1696d00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14c5a30ed00000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+80f5bab4eb14d14e7386@syzkaller.appspotmail.com BUG: memory leak unreferenced object 0xffff88810ddf4700 (size 232): comm "kworker/u5:2", pid 8406, jiffies 4294997792 (age 10.670s) hex dump (first 32 bytes): d0 f0 af 0e 81 88 ff ff d0 f0 af 0e 81 88 ff ff ................ 00 00 00 00 00 00 00 00 00 f0 af 0e 81 88 ff ff ................ backtrace: [] __alloc_skb+0x20f/0x280 net/core/skbuff.c:412 [] alloc_skb include/linux/skbuff.h:1103 [inline] [] mgmt_cmd_status+0x31/0x160 net/bluetooth/mgmt_util.c:102 [] mgmt_set_discoverable_complete+0x1b9/0x1e0 net/bluetooth/mgmt.c:1357 [] discoverable_update_work+0x88/0xb0 net/bluetooth/hci_request.c:2806 [] process_one_work+0x2c9/0x600 kernel/workqueue.c:2275 [] worker_thread+0x59/0x5d0 kernel/workqueue.c:2421 [] kthread+0x178/0x1b0 kernel/kthread.c:292 [] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294