Article View: linux.kernel.netdev
Article #9076Re: [PATCH net,v2] net: ipa: Fix double free of the interrupt structure on config error
From: patchwork-bot+netdevbpf
Date: Sat, 31 Oct 2026 02:10
Date: Sat, 31 Oct 2026 02:10
25 lines
8759 bytes
8759 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 29 Oct 2026 09:20:55 +0100 you wrote:
> Since ipa_interrupt_init() allocates struct ipa_interrupt in ipa_probe(),
> the structure is owned by ipa_probe() and released with
> ipa_interrupt_exit() on its error paths and in ipa_remove(). The error
> path of ipa_interrupt_config() still frees it with kfree(). If
> ipa_interrupt_config() fails (called from ipa_config() via ipa_setup()),
> ipa_probe() unwinds through err_interrupt_exit, which frees the same
> structure again.
>
> [...]
Here is the summary with links:
- [net,v2] net: ipa: Fix double free of the interrupt structure on config error
https://git.kernel.org/netdev/net/c/cb284914e749
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179341260505.1900554.6200995720286463519.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354012-linux-kernel-netdev=dewy.ruReferences:
<20261029082100.17722-2-fourier.thomas@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354012-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net,v2] net: ipa: Fix double free of the interrupt structure on config error Date: Sat, 31 Oct 2026 02:10:05 +0000 Organization: Usenet Network Message-ID: <179341260505.1900554.6200995720286463519.git-patchwork-notify@kernel.org> References: <20261029082100.17722-2-fourier.thomas@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2359025"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:3j1b/gKP0XDZT1DF6JCiSjY4zQU= sha256:FqdLhxbNJFTCui5sKrqgJOLDa3AxtXn5eAxTQHcNi0w= sha1:EUCwLk04nDBc1o8sxG+WXAKs+/U= sha256:aJudZ90YXjixY56vbyHZRcRCLIOrODEuROB9R5AQXUc= 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 AB01C125CB2; Sat, 31 Oct 2026 05:12:13 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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 ydZyrDSFrimD; Sat, 31 Oct 2026 05:12:10 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-354012-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id A265B125CB0; Sat, 31 Oct 2026 05:12:02 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 347632DF0D; Sat, 31 Oct 2026 02:10:13 +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=1793412612; b=OivshxUSHZ8wuW+21Re4fCZx/9FsZujyVs097Cc1D2GDnL6uQ82coqXQ0T4vBjqsku0l GjijlYToNai51KU/zP+OTeniX9kHm0udUF5hlXC3atzGJo6rt9FUmQrXNolyCquReUoe5 vdtBZAYEysJPiaPV85wR3zqxyiHbhSI8JCfeEIT5zImqVk32Ka/ponhZb/nCMnBxEmdmk F4+6VIZ9XHQIlXWxCheLdQ7eqVMcEiyhpOcJmeomggAPkzfy8ukhLeACxNQt+qdv9fM6V O+5s63CBxJ4MEvVQO7oj5u61LbEQ9VtwAnPTUfMzYNntuVkzZgziFLUZO7IdeVsMh7w== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793412612; 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=Wze92pAkEVKTzAAivNFkrMcbBfdNBRMgj3JMk5sLv6A=; b=QVMLvfynHoQaMhKhgKl7Qx9phmO+nNB46Z8b6q+ID06L3Id6kaTlCPaiLG6YIySqMLm6 TZal2d7k/fzrQGp7lpCJQXwZ7U7tsYs8x0bZsXuXk0VC1EwCAzLfi8KwO13QsQtlzPRFR +N7+jSCKc0OB0SYRgrggy4DBNLmkoiDXHzOayQfkmsgse4+Ch8cq6QI9IfdX98fcFb/RD dUdiX3o1pg7/Malx+xPLVslFuWcXEiQzHWPsLjgX73bPKlDGUa1aucsqfjVnLdOXlw2qs 0MZ9UIcpWzwRdb5o7R0zeiZbEThVGTlY0HUZWGsNkEwHCQHeO20TSu56G53wmV53r1Q== 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=ACMjgBvc; 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 D0EF3606A325; Sat, 31 Oct 2026 02:10:12 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ACMjgBvc 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=1793412607; b=PIK1yQdlc0vEdSJD8pwIcp0fGFCHm9+q71Mf0e2EY19YBWpNzU2jPBJACXF6EtnYVtnR qlpYm2/Xp8aX0iTFNU/1JPX1bvrMxjxwKFbRe+OcaM3iZV7bTGRbDfYEZhGeKz88ejEDP LCKuVzIA4Ymr+ii4xajiYcXNIpz4pveLslNdBQvN1NF83n8/GnKmb3IWbEoropWHWYTGW y7aR/HlEOdDPHUtbXfBUTPHXYSIuW8/ngdQ5vpHtz3Z1xdwMOFhDhBxRMRE11SDHS2axS Y6Pzp/n4xk5DY3OK5DcytQM5F3NnM4gBjcbO33AKn6JcgVG0jrUF8VA03VRONDF0ahA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793412607; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=Wze92pAkEVKTzAAivNFkrMcbBfdNBRMgj3JMk5sLv6A=; b=Eio1GJr7alRB/QL7tCyct4DniwOSKusmtnx1J1QgHEsPyzHcNAXoi8GtStw4LjS/C3C0 WFkcXKurhGQ6hIpaW9V06SBKcAgGybYZGAQzNUtFRmhinVUqILqbXYknL2sMJCmA/v6dD pKeDhdtKwQDEQRFI1JdEuCsqux3omNYy551nX+Z7axbrZEVm5sO6S+gV9rKsU8tV9o8S5 wJNp8FNwx+C8oylu6MyewbNZF9PwUnH7LLPqX24aFciMJ/cWBt8ElknnfJaGpLRxlVMIv Ix49Vqy6ED9l6r/3HDSusbVzqjmUxxeIpcCavv73TCBlUIhf0lbkj1qpg2NiNy+HzWw== 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=ACMjgBvc; 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 B0C9A606A31A; Sat, 31 Oct 2026 02:10:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 498BF1F000C1; Sat, 31 Oct 2026 02:10:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793412606; bh=Wze92pAkEVKTzAAivNFkrMcbBfdNBRMgj3JMk5sLv6A=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=ACMjgBvcO8F1NSj5Y02ujXb3wTKQi9p7oBk9xKj/VMvdexcRuAFd3QSZwV2mndvjm CGK8htpHh0dZUsbefdUN1Z6FvfhzZmQ1JD3xj2F1JpaQmKB63K2zv6pqKrFkN9i+X6 beD4fb4OHqqlUwM3KoFkzIGdW5vHDMfKSYtI1nT2NI2jqwLf2ohBqwrYULrKT49wOF IeS1tiTY1ld77P72WUDF9oe2XkW7t1PEQkuQsUfZwfUOreK8bl/pSWrBL4UG0k2ApN PesmFSrkSbdvCt2kYUkrR10VcAitw/tNjaoPqB4D/SSfe2ULan+wZXx6feNp977lFd QCWXQj4hcA4Ew== 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 401EB3800479; Sat, 31 Oct 2026 02:10: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: <20261029082100.17722-2-fourier.thomas@gmail.com> X-Cc: elder@kernel.org, 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