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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8539BC4321E for ; Tue, 18 Oct 2022 20:00:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230020AbiJRUAW (ORCPT ); Tue, 18 Oct 2022 16:00:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229957AbiJRUAU (ORCPT ); Tue, 18 Oct 2022 16:00:20 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C130B7E81B; Tue, 18 Oct 2022 13:00:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7AB3FB82102; Tue, 18 Oct 2022 20:00:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 310DEC433D6; Tue, 18 Oct 2022 20:00:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666123217; bh=TtckORe7oVJmfBtYEFHgrR0/5B+0GsZkTwJZYIqMLWE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=lDYCjzQWaKxoOKyCD+JaoeInAS7OuaUUNfDQiA1yP6x4kSW7laFxmmm/VMFcMTIFG hq4Hm/nZwaU+qSb3s3lYkdtCk6d+dEdXxp8OkVkd4jucmUZEoUw/mE65eX2O7APM6V UaeNHrmEFMETE8g3RwXtxJ3whc0G6Tdc+cBc5jjWMCz13obe1YbzgZlJe/ss58jXFj vnVIaXN4ak7W05PsV0ZjNeuUkrf54M6adCQuLKFny0e6ffLApMavKevXiAMbPzJ+k0 SrZfLud4P37m9ybSTM61CVkjDbmQVQPN65A0z7Hr3beqgE3ekLTJ6VBYTPhTn0hJiR 19hbVhUgwN98g== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 1B04AE21ED4; Tue, 18 Oct 2022 20:00:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] Bluetooth: L2CAP: Fix memory leak in vhci_write From: patchwork-bot+bluetooth@kernel.org Message-Id: <166612321710.1440.974554274337472086.git-patchwork-notify@kernel.org> Date: Tue, 18 Oct 2022 20:00:17 +0000 References: <20221018021851.2900-1-yin31149@gmail.com> In-Reply-To: <20221018021851.2900-1-yin31149@gmail.com> To: Hawkins Jiawei Cc: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, 18801353760@163.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, luiz.von.dentz@intel.com, netdev@vger.kernel.org, syzbot+8f819e36e01022991cfa@syzkaller.appspotmail.com, syzkaller-bugs@googlegroups.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Tue, 18 Oct 2022 10:18:51 +0800 you wrote: > Syzkaller reports a memory leak as follows: > ==================================== > BUG: memory leak > unreferenced object 0xffff88810d81ac00 (size 240): > [...] > hex dump (first 32 bytes): > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ > backtrace: > [] __alloc_skb+0x1f9/0x270 net/core/skbuff.c:418 > [] alloc_skb include/linux/skbuff.h:1257 [inline] > [] bt_skb_alloc include/net/bluetooth/bluetooth.h:469 [inline] > [] vhci_get_user drivers/bluetooth/hci_vhci.c:391 [inline] > [] vhci_write+0x5f/0x230 drivers/bluetooth/hci_vhci.c:511 > [] call_write_iter include/linux/fs.h:2192 [inline] > [] new_sync_write fs/read_write.c:491 [inline] > [] vfs_write+0x42d/0x540 fs/read_write.c:578 > [] ksys_write+0x9d/0x160 fs/read_write.c:631 > [] do_syscall_x64 arch/x86/entry/common.c:50 [inline] > [] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 > [] entry_SYSCALL_64_after_hwframe+0x63/0xcd > ==================================== > > [...] Here is the summary with links: - [v2] Bluetooth: L2CAP: Fix memory leak in vhci_write https://git.kernel.org/bluetooth/bluetooth-next/c/97097c85c088 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html