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=-11.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 45571C4338F for ; Tue, 10 Aug 2021 20:30:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1DAB761008 for ; Tue, 10 Aug 2021 20:30:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233115AbhHJUbD (ORCPT ); Tue, 10 Aug 2021 16:31:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:40076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233097AbhHJUa2 (ORCPT ); Tue, 10 Aug 2021 16:30:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id E2E0C61052; Tue, 10 Aug 2021 20:30:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628627405; bh=NfvKcTCoRw6qOrd/NoyNgr/n2gMi1V/sk94m5s9Pk8I=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=M09AcgiwlUPRRk+FCI0xNoAlfci1NpU7tpJikKy9VttiJhiulhQIX7rT/C+Snghqs d1/KZiFjW1XbASAtAg4BU1H+YzZmL/zSJdR1vTMjs0iEca4w5YjlroHZiOumcHIhyH 90Kk1uu0hRSXNCd3RDDzgKYvkEJNU72ABQoYQV42o2GRfIt/E3YOcM/an6eCXeDGEl yPbGwHnjLPUP968mtdnjU/xahb2yrbtnh3M+7OyR6v1wyPkNKQc1uOKztewdOuU44+ UcY0qfKmzX8xzCxMiDn8rz0DW6a6sbK6gdMjt4RZHfGbpUUDx9jRovHxVwD/dhc+/V lQXhl3VHGRXIg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v3] net: bridge: fix memleak in br_add_if() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162862740587.16281.11828580548669210727.git-patchwork-notify@kernel.org> Date: Tue, 10 Aug 2021 20:30:05 +0000 References: <20210809132023.978546-1-yangyingliang@huawei.com> In-Reply-To: <20210809132023.978546-1-yangyingliang@huawei.com> To: Yang Yingliang Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bridge@lists.linux-foundation.org, roopa@nvidia.com, nikolay@nvidia.com, davem@davemloft.net, kuba@kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 9 Aug 2021 21:20:23 +0800 you wrote: > I got a memleak report: > > BUG: memory leak > unreferenced object 0x607ee521a658 (size 240): > comm "syz-executor.0", pid 955, jiffies 4294780569 (age 16.449s) > hex dump (first 32 bytes, cpu 1): > 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: > [<00000000d830ea5a>] br_multicast_add_port+0x1c2/0x300 net/bridge/br_multicast.c:1693 > [<00000000274d9a71>] new_nbp net/bridge/br_if.c:435 [inline] > [<00000000274d9a71>] br_add_if+0x670/0x1740 net/bridge/br_if.c:611 > [<0000000012ce888e>] do_set_master net/core/rtnetlink.c:2513 [inline] > [<0000000012ce888e>] do_set_master+0x1aa/0x210 net/core/rtnetlink.c:2487 > [<0000000099d1cafc>] __rtnl_newlink+0x1095/0x13e0 net/core/rtnetlink.c:3457 > [<00000000a01facc0>] rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3488 > [<00000000acc9186c>] rtnetlink_rcv_msg+0x369/0xa10 net/core/rtnetlink.c:5550 > [<00000000d4aabb9c>] netlink_rcv_skb+0x134/0x3d0 net/netlink/af_netlink.c:2504 > [<00000000bc2e12a3>] netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] > [<00000000bc2e12a3>] netlink_unicast+0x4a0/0x6a0 net/netlink/af_netlink.c:1340 > [<00000000e4dc2d0e>] netlink_sendmsg+0x789/0xc70 net/netlink/af_netlink.c:1929 > [<000000000d22c8b3>] sock_sendmsg_nosec net/socket.c:654 [inline] > [<000000000d22c8b3>] sock_sendmsg+0x139/0x170 net/socket.c:674 > [<00000000e281417a>] ____sys_sendmsg+0x658/0x7d0 net/socket.c:2350 > [<00000000237aa2ab>] ___sys_sendmsg+0xf8/0x170 net/socket.c:2404 > [<000000004f2dc381>] __sys_sendmsg+0xd3/0x190 net/socket.c:2433 > [<0000000005feca6c>] do_syscall_64+0x37/0x90 arch/x86/entry/common.c:47 > [<000000007304477d>] entry_SYSCALL_64_after_hwframe+0x44/0xae > > [...] Here is the summary with links: - [net,v3] net: bridge: fix memleak in br_add_if() https://git.kernel.org/netdev/net/c/519133debcc1 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html