Article View: linux.kernel.netdev
Article #15382Re: [PATCH net-next v2] vmxnet3: stop DMA mapping the adapter structure
From: patchwork-bot+netdevbpf
Date: Thu, 12 Nov 2026 18:40
Date: Thu, 12 Nov 2026 18:40
29 lines
9035 bytes
9035 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 10 Nov 2026 21:10:29 +0530 you wrote:
> vmxnet3_probe_device() maps the whole struct vmxnet3_adapter with
> dma_map_single() and passes its address to the device as the "driver
> data" (misc.ddPA/ddLen) in the shared area.
>
> The adapter is the netdev private area, and alloc_netdev_mqs() allocates
> it with kvzalloc(). struct vmxnet3_adapter embeds 32 tx and 32 rx queues
> and is well above PAGE_SIZE, so when a high-order allocation fails the
> adapter ends up in vmalloc memory. dma_map_single() then warns
> ("rejecting DMA map of vmalloc memory") and returns DMA_MAPPING_ERROR,
> and probe fails with -EFAULT. syzbot hit this with page allocation
> fault injection.
>
> [...]
Here is the summary with links:
- [net-next,v2] vmxnet3: stop DMA mapping the adapter structure
https://git.kernel.org/netdev/net-next/c/42abea827cf2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179450880777.585389.73990303934312950.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362125-linux-kernel-netdev=dewy.ruReferences:
<20261110154048.143227-1-kapoorarnav43@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362125-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v2] vmxnet3: stop DMA mapping the adapter structure Date: Thu, 12 Nov 2026 18:40:07 +0000 Organization: Usenet Network Message-ID: <179450880777.585389.73990303934312950.git-patchwork-notify@kernel.org> References: <20261110154048.143227-1-kapoorarnav43@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1171921"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:cJdusYerCwWOZp4uSzWWtQEDtoc= sha256:Ac9N8NKwjbhYYYbCr8BoH+xhsd6vFlP+fN1A35P2lpo= sha1:b+imhlFArrWP51KXYDUZymgbOBY= sha256:aF9vAjGD6KkgkBAzoKRSu40aVzxEwD2kSglsrjHrFmw= 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 58E6D114384; Thu, 12 Nov 2026 23:35:55 +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 5i_UF-GHpTq8; Thu, 12 Nov 2026 23:35:51 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-362125-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 11E2E11436F; Thu, 12 Nov 2026 23:35:40 +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 36DE26753C; Thu, 12 Nov 2026 18:40:41 +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=1794508810; b=trDFFWXNaqmKwvA3vxI7ACM8MWDrCBGiZOjIHlkoUzFM+4m+GlrQdN6HUTYtrqONcp73 HQF0GHqEW5S5VxeGJAjWMgdrbHJzfdKuQhq3QDMFqzFxaEDhg7pTRZoKjnX2Nz0de4Vcj db7fx6watLnBeSp1UsVsJjma+7TNfUWhu8pb/d9TxGGqjd5MZxCbUt/F5U1IaiUWVxCW1 kOsCASuR317oRu7Di9yZwdWz8+vJu5YwA6Ty80TL+iXhtN7VMVtS2eBQjVraciUhRkJBq io74Z1Qh3D9FkMwoDxN96OwBgKMx+XkqfPLafOtlZIT8WJhmRJ0Ip1goDL6/Fkz1zfA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794508810; 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=OAIkw6rCIhMoz1r7TO6vR7yffvK4hXnx21iyJ/EHltQ=; b=OLYdapwNB+CcQgWyUmI/vek18rbFTnjYHyPUFYkSVR0iEi0Fhp4ZNoZ6pz7VRgHFYw7L 4lSrvLrRvhRTk5W2suFBl6nn9kMAaUuKCB+R7NcC6UrcF6VpIbM/Fu5czoYlHDjeXT9R2 pCQi8nA1xKkGoGvNI2gby106cbSUlEoPD4unteyd/E+H5amoJLe3y6KaJYmzBnyBvizqV LqauT8OT5JrGIeu4+3/QLeO2ITzEbE6uxj8WRnERfoxgR9jY69tZJiHOFwupcYqnsVHCW wo4xMyB0D/wIwpShcxePNriFx1uT8uIUzG9JEBj/9O6BCOVERyVWpOeMjG85h2fRMQA== 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=SW3TDUyV; 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 9B766606A8B3; Thu, 12 Nov 2026 18:40:10 +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=SW3TDUyV 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=1794508809; b=pFN9JueNjTEQbWQiOCS1Zcq7S45n1TfblE+eUOkPHoY3AqwP5gymwBfPEXimzTGuMPlu N7YWU4Gp6B+L403wOgpbxs+9etQOhmyta+IseQAd9vHmXjurhM8Ubl26BdkkPgN3eX6oI hqCHA/mQvxVKj5RweXFVY1d4IQ0Ezfn2gMyHMuFEnVOCHHBvoHxIKlY8mPJbT6JJ1N58I NrDRTuS7KGrImnr/7fNljVBtiin6WurhmhlvpToZHmmERehHyAvnXlnEA9SErdVbQuHHk C8PIlqljTg3049SmFSB0nFGVzap/3sARLo6eeV+XRr86LC3rlOJjt1sOoDnTGT8Tx9w== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794508809; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=OAIkw6rCIhMoz1r7TO6vR7yffvK4hXnx21iyJ/EHltQ=; b=p79uJWDoIHu4yRXHupo3pXcv1GZ+L6B3qFhe6PB+cze39MCs1gKTMJiajeZG1zuxkPfp t6MHKOmvO5RTPKRfBnoJzZVAky/HoZHEtuMlcANgb78e9ilNecKQw1+BbN+gzqw8TXAt/ 60HHlqIJ+oh4XLi7gF2sLEJPZJgSXifS1XnLakJmB5Dd6V1jrr7eZgCzf66Lfnb1A3B0C Mrk8Rf/flLHmpVO8jZVdCxVIgumdR0eaoTcLrfMdCvkjMe2009bzL9CdtCRNSqZbzL0A6 2ilZ2aZb1E6uH8gsTk5DCco/C6RZh17BG6KugP07CoavtKhhtg7DsI/6kmNN1gRaGDQ== 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=SW3TDUyV; 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 B5F99606A32E; Thu, 12 Nov 2026 18:40:09 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4575A1F000C4; Thu, 12 Nov 2026 18:40:09 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794508809; bh=OAIkw6rCIhMoz1r7TO6vR7yffvK4hXnx21iyJ/EHltQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=SW3TDUyVZHG9XU+aYqqnDeaTZi5wx2RU29TD0tD8rFECwra5QdmrzmC2//aZ0FheL VawBgcsTltOH6Jr6JyVPHzMfrlybd7dIINVXcNmCSnLorSIBzCKAnnqLwMWY48pJSB Ba0BH97C6HoaR4FNRdjtUrQTkztmO/t29Dst4Hijp6boBNcMQsIEk+BUKFgDACN2xk ITzDEZDnM+lKt5pfKgoawNOZV3CHmJbFunKsrgusITkQmEq/ALPLHT74hcmCkGXD4N guHul5ANi2ZkcAgaLegQKc6EvEXCWro0zgLowpXgbkrOcJdczaO5V/cLC1WA4xZ1hQ qUgxeUshTdyaQ== 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 3A36A380AAFF; Thu, 12 Nov 2026 18:40:09 +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: <20261110154048.143227-1-kapoorarnav43@gmail.com> X-Cc: ronak.doshi@broadcom.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, bcm-kernel-feedback-list@broadcom.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot+8eed6f83440ecdaf4be6@syzkaller.appspotmail.com