Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FF11606A322 for ; Fri, 4 Dec 2026 03:57:36 +0000 (UTC) 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=HeQ4Whdl Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1880D10E127; Fri, 4 Dec 2026 03:57:31 +0000 (UTC) Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 636E110E127 for ; Fri, 4 Dec 2026 03:57:25 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 227FC43DFA; Fri, 4 Dec 2026 03:57:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E75631F000C2; Fri, 4 Dec 2026 03:57:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796356645; bh=UQmCuC4/hr+nWnXLr1w+WOszkykC1Bo2TbQPaiOaTIw=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=HeQ4WhdlcwxQ1ytQkzdsmrqg7VItsq7gRegnuQt8rN8qdyiIExQ92IvfWGsVHjhqH 8S1kz+EBep5oDHmF2DBJrNzERoKX7kp4XeQ+i8LRSHI49jxoVGem52q9C5hbzCPxqi a4vByOVIUhjgSUPXvPXBrm/OQ6qPUsljqBnI6Tdq52N8RnDjgLJwHLFTeZA0Hb9Pio aFzlJP+g1AmsQOe3G59ytGQ3e2SV5lrRUfK8GTy+BG3O4KTNv10r5+COU/PEHhbv4I 08Q5i/h2llxy9hxgoTnaNIefJ0sGz1fOtB2O3PQv5zVLCY+0deiedm7flvLVeWs3/5 zhcY552pp15WQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] drm/amdgpu: reject UALink peers outside the vPod active set To: "Mukul Joshi" , amd-gfx@lists.freedesktop.org In-Reply-To: <20261204034336.940330-1-mukul.joshi@amd.com> References: <20261204034336.940330-1-mukul.joshi@amd.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 03:57:24 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "amd-gfx" X-Spam-Status: No, score=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] drm/amdgpu: missing Fixes trailers on UALink peer validation bug-fix commit -- commit 37d1bf77df3bc8c5b8bf6a9b288a54b6e7fd9a36 Author: Mukul Joshi > drm/amdgpu: reject UALink peers outside the vPod active set > > remote->peer[] is only set up for active vPod members other than this > GPU, but the import ioctl and HELLO processing only range-check the > accelerator id. An unused id makes connection setup run on a zeroed > peer: an uninitialized mutex and scheduler entity, and GPU address 0. > > Reject such ids in the import ioctl, connection setup and HELLO > processing. > > Signed-off-by: Mukul Joshi [Severity: Low] This fixes missing active vPod peer checks in the connection management and import ioctl paths. Should this include: Fixes: 2b4c5569d888 ("drm/amdgpu: Add connection state management") Fixes: a9a7035e2ec9 ("drm/amdgpu: Implement UALink handle import ioctl") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204034336.9403= 30-1-mukul.joshi@amd.com?part=3D1