🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25819

Re: (subset) [PATCH V3 rdma-next 00/21] mlx5: Adversarial mode for confidential computing guests

#25819
From: Leon Romanovsky
Date: Wed, 02 Dec 2026 14:01
50 lines
10481 bytes
On Sun, 29 Nov 2026 19:41:25 +0200, Yishai Hadas wrote:
> In a confidential computing (CC) guest, the hypervisor and any device
> assigned to the guest are outside its trust boundary. The mlx5 drivers,
> like most drivers, trust the NIC: they use the capabilities, events and
> completions it reports to size buffers, index arrays and pick the memory
> they work on. A malicious or compromised NIC can turn that trust into
> memory corruption or information leaks inside the guest.
> 
> [...]

Applied, thanks!

[06/21] RDMA/mlx5: Reject QP transport types not enabled by FW capability
        https://git.kernel.org/rdma/rdma/c/19e6206e37fa56
[07/21] RDMA/mlx5: Require IB_QPT_DRIVER for the DC vendor QP types
        https://git.kernel.org/rdma/rdma/c/1b10cfb2d2ed27
[08/21] RDMA/core: Suppress kverbs_provider for adversarial_mode devices
        https://git.kernel.org/rdma/rdma/c/74015e71efec30
[09/21] RDMA/mlx5: Set ib_device::adversarial_mode from mlx5_core
        https://git.kernel.org/rdma/rdma/c/29d87125f3aa1b
[10/21] RDMA/mlx5: Remove duplicate mlx5_ib_umr_context struct
        https://git.kernel.org/rdma/rdma/c/14dec112c93e1c
[11/21] RDMA/mlx5: Add shadow FIFO infrastructure for UMR completions
        https://git.kernel.org/rdma/rdma/c/9481ebbd5b29fb
[12/21] RDMA/mlx5: Verify UMR CQ polling against a hostile NIC
        https://git.kernel.org/rdma/rdma/c/d9aa36f52b3f75
[13/21] RDMA/mlx5: Keep the UMR QP failed once a forged CQE is detected
        https://git.kernel.org/rdma/rdma/c/132ddd95112d23
[14/21] RDMA/core: Set the CQ comp_handler after its poll context is set up
        https://git.kernel.org/rdma/rdma/c/26bde9ad7732a8
[15/21] RDMA/mlx5: Ignore completion events for a kernel CQ that is not ready
        https://git.kernel.org/rdma/rdma/c/3812e2800a1efe
[16/21] RDMA/mlx5: Validate EQE port and GSI port before indexing devr.ports[]
        https://git.kernel.org/rdma/rdma/c/e562548fa2852c
[17/21] RDMA/mlx5: Validate firmware RQ/SQ state before sqrq_trans[] lookup
        https://git.kernel.org/rdma/rdma/c/8c77b6cd6b8400
[18/21] RDMA/mlx5: Clamp log_max_cq_sz shift in CQ size checks
        https://git.kernel.org/rdma/rdma/c/b0693972d24293
[19/21] RDMA/mlx5: Clamp log_max_* shifts in QP and WQ limit checks
        https://git.kernel.org/rdma/rdma/c/ae946a93eebb4c
[20/21] RDMA/mlx5: Clamp log_max_* shifts in query_device and ucontext paths
        https://git.kernel.org/rdma/rdma/c/0a147a2a8112e3
[21/21] RDMA/core: Report and enforce adversarial mode via GET_CONTEXT
        https://git.kernel.org/rdma/rdma/c/846cb60820e283

Best regards,
-- 
Leon Romanovsky <leon@kernel.org>
Technical Details
Message-ID: <179622007505.667696.1489122271551381676.b4-ty@b4>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375827-linux-kernel-netdev=dewy.ru
References: <20261129174146.34295-1-yishaih@nvidia.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375827-linux-kernel-netdev=dewy.ru
From: leon@kernel.org (Leon Romanovsky)
Newsgroups: linux.kernel.netdev
Subject: Re: (subset) [PATCH V3 rdma-next 00/21] mlx5: Adversarial mode for
 confidential computing guests
Date: Wed, 02 Dec 2026 16:01:15 +0200
Organization: Usenet Network
Message-ID: <179622007505.667696.1489122271551381676.b4-ty@b4>
References: <20261129174146.34295-1-yishaih@nvidia.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1985131"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:jNWv+tmcllIWRc66dRFIn5cmTJ0= sha256:mJbxvITSIGat2HbEiz2kNV6Mmruv+Zpvjo7soCzrsKQ=
	sha1:WEpTWjG8dLS2ELyhC7e9yK5dF/A= sha256:mEricH00ntsmx3MdI2Bv9DCXpCyAZbeVysvzJprdGrk=
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 625DC11765D; Wed,  2 Dec 2026 17:01:49 +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 LpusMuHuciFT;
	Wed,  2 Dec 2026 17:01:41 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-375827-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 677DF117656; Wed,  2 Dec 2026 17:01:22 +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 BC22F2A819; Wed,  2 Dec 2026 14:01:20 +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=1796220080;
	b=cHsHX3WWAoAwR3Yp57S9S9B0ceOLxofGhp9ItbLCOiE4h5+Gugj89UqFCU3XTbsyDY1+
	 KtnUtcjueUf+iagRmXBHy6nm0VDrZ+P5ih/coWOj5RwlZtBie1sLwxAufRaiKY+SLxdgV
	 4ge37DXxXK58Jo+ZumvYQfTV9xCnwIV6q0v21jUAWM46TWvRkta8xIaJQ3w9Zp2TwU0OB
	 mfPT6i06mHzMz/2Uyv5MxrTOummLJKiK0YqbB6lvXGOAwf1MMRy+kcGRQ6HE9FLJmpgt8
	 qRhVXRjydclGxEUOHoRk0d6EK/9Ub85u8KPmCC2+XVZPQ4dzO1bv5p1ENAo8vJO8IJw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796220080;
	h=X-Original-To:Received:Received:DKIM-Signature:From:To:Cc:
	 In-Reply-To:References:Subject:Message-Id:Date:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding:
	 X-Mailer;
	bh=r7ee8KM5G/bpyVOo4mUxRZsE0DSmYziOojJ5CkEU/xc=;
	b=4cT59E6p0D0Z2ZudepbTpMn+w5gw9aEzmtQSUVDkUVPSh/mgu7VKBEuBUoPdWI1NKbtI
	 FXU68/MEYDm6spnc3GuuNLLYH+s6WWM+VbOllSWkDz/nRjukkJ4B0GGEINpXQmFax0Yif
	 VRKeVrfy534mLL/Nw9NzdJEEnhXP2lxcs3kjJPVMrtC/lbmKm63R7DFWBuWwvv8kHIyah
	 aXz9k8+UMG4SZE5Y//qq20kw4ePKOghHE39rpjUxjvCJsan0Hyy6FA2i7bGiCpNyqIu+X
	 jsXFpkpUHOtIjK6y4WGbgKCSdPyF63I6NR/l4fcu33RZbumAl3yuexuZCL/8Q/lwZ6g==
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=OyQ27cs5;
	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 6954B606A322;
	Wed,  2 Dec 2026 14:01:20 +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=OyQ27cs5
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=1796220079;
	b=RbCuQH7k9Xyl7paPQZOB6ksEviyg6CMMeBbuGXXMp5r8oiaVNqep1kYkGMnM008U90Dg
	 jwwYhEpF8/b6UREvnOzbs6zURr6N6AXpycn83nLhLFNyGxtv6jewBtnEZFGhBBA+Iu8Vn
	 f8llt/wnyPzR/+xMJaicplabKap5hBg9zP3FjIFHOnt2ZpNuJr+CfovKShVv5Ivvmy8iZ
	 jcpQg0CrQde6XAHgAYNveAF+DslqgehOvQhfZkwPQFkF0zSknVv6JwTxgba41J7FLc+AZ
	 Ov2cO8Bk01LyDwEHfQOopUPtSL6JA/eePwzinqNHhRg+XUgr3EUZN86o//jKnkNkYzA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796220079;
	h=Received:DKIM-Signature:From:To:Cc:In-Reply-To:References:Subject:
	 Message-Id:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:
	 X-Mailer;
	bh=r7ee8KM5G/bpyVOo4mUxRZsE0DSmYziOojJ5CkEU/xc=;
	b=X3e2CcjIUNratdRZcoPqOkxxmIIEOtHItrdrTfbMcrwdU3w/ZaAFdt+v26kllBk51H6u
	 usJ/Yx4nYpx6kjqGFYPOI37A72vj5PPbK2Wjtny1C19Tacq+R1Vfu3rDfD7XybMRqCg5O
	 0EUWSuiu+oN/3pNgPUvJlunqaklsAnB2FFS1tal6du5anOcWHOl3q/76WsbUODeB8aVW9
	 hnQCR3Q8LgdjtFf9b3Cd3DB/H6UpYE/DL/w52e98+w1UrjZKp9JXF1HunrhAuADQ1bH1+
	 dveFVrMvEr4qGr9cp7noWrzM86QnXo4DBlHaQ6XPWDNEodev67AQVEgo/nrNJQo+Ryg==
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=OyQ27cs5;
	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 8B4EC606A32D;
	Wed,  2 Dec 2026 14:01:19 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 982591F00919;
	Wed,  2 Dec 2026 14:01:18 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796220079;
	bh=r7ee8KM5G/bpyVOo4mUxRZsE0DSmYziOojJ5CkEU/xc=;
	h=From:To:Cc:In-Reply-To:References:Subject:Date;
	b=OyQ27cs5BlK1eBBk4+braBE5ZSHqSz/g2aKvDS4SVD6qIXHWMz34TCkTKOi/btj+o
	 Hqydn9BYSiHBGkaEteecuR9/lxGx5zfgZYMX+HKf69M5BMK3JHxBnevx4v2tEMsns8
	 FdJJSOtLjXsY3VY/FoUFJFbHTiRoDeNvJ864fQebLGmiNBm4D5BNzvNSuRSUdUxFLV
	 KYnA2hijjD1PyUtenTuRWjJUUDE5s9zImtq5CFh3v/PUNoBglZut8R7NYB6R8IRkxx
	 RJJ0B2QxhD5MBndCXBAexCgYV6wdyVswwMNU/r54L+7WcavjgiObfKuqvDc86yTlBq
	 9D+LyxZvxaMxQ==
X-Cc: linux-rdma@vger.kernel.org, netdev@vger.kernel.org, saeedm@nvidia.com, 
 tariqt@nvidia.com, mbloch@nvidia.com, kuba@kernel.org, pabeni@redhat.com, 
 edumazet@kernel.org, davem@davemloft.net, andrew+netdev@lunn.ch, 
 dtatulea@nvidia.com, moshe@nvidia.com, maorg@nvidia.com
X-In-Reply-To: <20261129174146.34295-1-yishaih@nvidia.com>
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-Mailer: b4 0.17-dev-d2b70