Article View: linux.kernel.netdev
Article #2846Re: [PATCH net] net: alacritech: fix dma_free_coherent() in error path
From: patchwork-bot+netdevbpf
Date: Tue, 13 Oct 2026 13:50
Date: Tue, 13 Oct 2026 13:50
24 lines
6398 bytes
6398 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Tue, 6 Oct 2026 16:09:09 +0200 you wrote:
> In slic_init_stat_queue(), a series of coherent buffers is allocated
> with the length size. The size is then stored in stq->mem_size for
> normal deallocation. However, in the error path, stq->mem_size is also
> used but is not initialized. This error may leave the freed buffers
> mapped, leaking a resource and allowing the device to access freed
> memory.
>
> [...]
Here is the summary with links:
- [net] net: alacritech: fix dma_free_coherent() in error path
https://git.kernel.org/netdev/net-next/c/05b5019b01fb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179189941555.316800.15857623450721648198.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-345652-linux-kernel-netdev=dewy.ruReferences:
<20261006140912.50828-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!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-345652-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: alacritech: fix dma_free_coherent() in error path Date: Tue, 13 Oct 2026 13:50:15 +0000 Organization: Usenet Network Message-ID: <179189941555.316800.15857623450721648198.git-patchwork-notify@kernel.org> References: <20261006140912.50828-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="2113067"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:oKPpelS4El1nN8MmMQfrdThG/EU= sha256:5YsCy3bhaPlKJseWVnjGHy16UKhornqBm8x78g5BHvU= sha1:10BquU8x0ecnSsJ05FeKGWVCrvQ= sha256:VkgbnNANK+SBjd4KbevTSDyuLy0eWcWDWIRvKgWpJNs= 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 28E7810FEAB; Tue, 13 Oct 2026 20:49:55 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.34 X-Spam-Status: No, score=-1.34 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, 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 F52Hv22OqG94; Tue, 13 Oct 2026 20:49:49 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-345652-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 4CDFC10FEA5; Tue, 13 Oct 2026 20:49:39 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 1B3E5A2AE4; Tue, 13 Oct 2026 13:58:04 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E44D3F8712; Tue, 13 Oct 2026 13:50:18 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Tojjyhoc" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6EC7D3F6C58; Tue, 13 Oct 2026 13:50:17 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791899418; cv=none; b=TSRwhbqxAAHJC93ZMQ5MkRFdxWw6SgWfh5SJHNUMNC3E2Svc36y6N7M6YNgVF6157doZ3GdxLUscozQiLkQxXJpNcupYpk5xcUo9qedTef9QaBxVy9SrYg1smwR8TTl6g8m9zTWscNj+yN3D4rQoU691FGgK3DFvCMnaLyhxCDc= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791899418; c=relaxed/simple; bh=cshvhmMpmj1/BGULN8c5GQlFcwoTI7EoColSY6FUwLw=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=OqcaU3F9qw7q+e79w7MUvRqHNGcla2cc59BPu3LcHWfoN3nI1cN/zlJaIGiOZbtUSQqHPAlaBbz/YPjoJlE2EzBcF287o3/q+jg/15/3qKOJtgZcwJamsEOQJrSJ7DdiYCDrBXo0IK5HGq2PMSitxplg6HefE1zudSz+phKlagQ= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Tojjyhoc; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 079191F000FF; Tue, 13 Oct 2026 13:50:17 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791899417; bh=zg2VDZQb+FRJn50eJZLLWaUjmGmkT0kLF6b3QjB13pQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Tojjyhocn1XQxGx7z9MsJCYAMx7xxtEZZvyILR2tzktjKngHJJmaAYycD1hf/kmd6 YJvnlqttPXTiXBY7djPTUvKynqul3JcaQC7EPtC9bYyaxRlXR/P+gOmomMId2UpfAS ln/O3SOmXgexJ9XRxhmS0DpNi8ZbU9onvzwEVmaRrEsr0O+KC77yOKqIm2BkTM50nW m84aP8fYso/0sisguB4nWcr9JJillrKmIhBWLAj5CxBGxqqa++DzeaR5G73jsU5lnx Oa8dBm9+Ic8elzJuVAQoWJaAvRNiCaidA1l/bJ+uuSPYcFgspaWbQZa0I3V+TUSXhT px5Sm8ZYv4YNw== 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 F1643392720A; Tue, 13 Oct 2026 13:50:16 +0000 (UTC) X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261006140912.50828-2-fourier.thomas@gmail.com> X-Cc: stable@vger.kernel.org, LinoSanfilippo@gmx.de, 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