Article View: linux.kernel.netdev
Article #18218Re: [PATCH net] bnx2x: Fix potential IRO array leak on removal
From: patchwork-bot+netdevbpf
Date: Wed, 18 Nov 2026 01:30
Date: Wed, 18 Nov 2026 01:30
25 lines
8590 bytes
8590 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 12 Nov 2026 21:59:10 +0800 you wrote:
> Firmware initialization allocates a separate IRO array, but
> bnx2x_release_firmware() only frees the other parsed tables. Removing
> the device loses the array pointer with the netdev.
>
> Free the IRO array with the remaining firmware tables.
>
> This issue was found by our static analysis tool under development.
>
> [...]
Here is the summary with links:
- [net] bnx2x: Fix potential IRO array leak on removal
https://git.kernel.org/netdev/net-next/c/155ee7139278
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179496540503.1393228.9574068348383642294.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365759-linux-kernel-netdev=dewy.ruReferences:
<20261112-88a3a7ff32-net-bnx2x@mail.sdu.edu.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365759-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] bnx2x: Fix potential IRO array leak on removal Date: Wed, 18 Nov 2026 01:30:05 +0000 Organization: Usenet Network Message-ID: <179496540503.1393228.9574068348383642294.git-patchwork-notify@kernel.org> References: <20261112-88a3a7ff32-net-bnx2x@mail.sdu.edu.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2473005"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:BE0LvxOfNAkrB6/fWrrSRqTHPLE= sha256:KhBbScBW3j2GiKFJhfdpbCDrsqV6RKLrral2z4V7A9E= sha1:e4fsuYNXzGLi/fTsVipnHS7O84o= sha256:0PfCoz4sdtYnWaCIbEZWJJqa5fNDAPUML+Gr7YUbx+Y= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 3D307115130; Wed, 18 Nov 2026 04:30:24 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rJeJJDFtfD6U; Wed, 18 Nov 2026 04:30:19 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-365759-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 5CC3E1134F3; Wed, 18 Nov 2026 04:30:11 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id E1677615931; Wed, 18 Nov 2026 01:30:10 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794965408; b=JDlObaf962gIles7zE7jzDRPPmg/EKet/CZvxmsFp0Ld9Z/SzjDdgyGduMlFk1NwZaU3 4U1XPFSPkMY1iEzUb2CxfqFHoJQNQt19QKG14/iCTQ0uvSaf0k0cFyixNpTI2gr/fOvZD 8ztI50XISvfcn1fX6n4ep0gztNgyPJF4II86GJ9J1Pf2YENNbWK8CLiOcC+v2TwlLU5cx /euJGkod6oVkryLFsDyAHWFW0vagR0+fJ5wfH/+NfoMjadsUsjTY5Ujkoz4Av4O4i+CRv GLq7Ug/Y+cyILF9DsJRuAke8aBGYoRroFIQyR0RC03iGC5MmpL4ZQPaxt31WYGtkbnw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794965408; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=oVIXCjT2i+8v4dmw99tiiF8r7jsI6OPB3S22458cUTI=; b=B40GTmhIxTc7DHxez+WEyGNGCdWl8buCbK8vUlkP2+Y4KaD5eUOt+7uFV/G+9Q3Y/Ncz yvtcR546E/Pub8xSobqwcjbTGg3gidMBzqSmJBhOZFvAeEJCJ93zU58UomROhZFa8/rMQ bE4vT5xdgS/SS3LPIW2F9w4WHSv0wHN+foLbbuoIctjkzQRurY7nQW8yVoVhzJ6acBt1b VSNg7kJj8To0HHcXMgLo6J3t5b2qi1lSqf6ltppdV1glqs8FGBhO0oooWzvBMpUJPw50w YQ9lHx/aYcEPCPTh0MQJpq7RkTix3jfmVhiQcIsZagkQ2f6AT+EeZr3yNxnuyry/EBQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=flWnZoPh; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29EFB606A336; Wed, 18 Nov 2026 01:30:08 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=flWnZoPh X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794965407; b=khdiGzsqDiOLbNB940gwviXX+aNcja7kz2I5sOXM/yKUVRXzFQOJusbSruAlk6AF3WTs pOv1aC2FA/tj5YbvBwmAowAq8tECNgoWbqYJwactF3msh7/YeOZ7Lj3SbPZv/Rg/BUjOX tn5HVN4nkZoJNE5c/0zTqI/mg3MGcRp1wptvFm2xk6xaKCxxjjgAHXacx/tyFBLVXLfIl GNIrhtXdsltOeO7nWYp2J4vyTRs9L1h1M8aSCWiz1GfvUo55bCE1F20gjdD546cQkAtfy pv9/XqNtQr67GO9IJHrjeuuOXyaLT/nXZUsuNfAWDJ+OsMVgadhEfVOsIPh1LAqVgIg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794965407; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=oVIXCjT2i+8v4dmw99tiiF8r7jsI6OPB3S22458cUTI=; b=NzsFfQRVyeDAsZzT2K99zlmCbHMbds+YAC0FfvxPtdeOVn/gPLaKTUK2Ll0pyahtz4Ig 892C0uk4hRff1pZMm14l3wz94VrYEpf0WDdZRz2vHPYl4TPVazvKHHGmly3zlL4fgpcvd xY+nm4HZwLkLDKJjYyMpioTs+VtjTnKwrMLOdYtbEu897FqW1A3vaoJlfhI6YTNZ1wNiJ Jscv4cl7nMfWO4X0EhUP+8eXgpxGJllhTOR8GAy926uhNWRtnc2kZ0GHJVPx31RlUTQwv 4kBAW7OWwXP+bHA+hG1hebjeCi6Ceccuilaox22NpIKY/k3ShIrUxW3mKX9NvzLaQcw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=flWnZoPh; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 441FA606A32A; Wed, 18 Nov 2026 01:30:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 427A41F000C4; Wed, 18 Nov 2026 01:30:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794965406; bh=oVIXCjT2i+8v4dmw99tiiF8r7jsI6OPB3S22458cUTI=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=flWnZoPhMGLFGq7iLDCC05rOsIwL4jH4gaiaW3Z1y477p8WpLe+DSAtGkvBLp38J8 nfntYr1kAsNTw+zEpIaTYfnIpH1NRyzcakuvjNhKL6nZzOtbGnLvetvMDBpdJmNUX0 nxFHAa4RR1XFesKIMjhZvYwjpmylcG4u+xWtzcLYSN8VVSZvWv3+2ZUijD4fsiBBMd IMacbyYVvSqqZF6QqaOI16pm6JppWAqz+nrtKDKJ0iQuO2zH7Mpj/UNbtb43tnM0nl hmcD5tN3fCqufTUOLYHV7kkYwjzpTCUsO3+BvY8wKznPJUPjBSvgrXSEZFh1GYoiNI Ro03lTw7ZaQjQ== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3A3A5392E98A; Wed, 18 Nov 2026 01:30:06 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261112-88a3a7ff32-net-bnx2x@mail.sdu.edu.cn> X-Cc: skalluru@marvell.com, manishc@marvell.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org