From: sashiko-bot@kernel.org
To: "Mukul Joshi" <mukul.joshi@amd.com>, amd-gfx@lists.freedesktop.org
Subject: Re: [PATCHv2] drm/amdgpu: reject UALink peers outside the vPod active set
Date: Fri, 04 Dec 2026 15:00:43 +0000 [thread overview]
Message-ID: <sashiko-outbox-250044@kernel.org> (raw)
In-Reply-To: <20261204144157.965052-1-mukul.joshi@amd.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/amdgpu: Fixes trailers cite non-ancestor SHAs and omit
2b4c5569d888
--
commit b5c8acd96109737ef58dfc89d5be3e7a729e1358
Author: Mukul Joshi <mukul.joshi@amd.com>
> 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.
>
> Fixes: 8c583a03f24c ("drm/amdgpu: Implement UALink handle import ioctl")
> Fixes: aa574f2570d6 ("drm/amdgpu: Resync UALink ring wptr after reboot")
> Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
[Severity: Low]
The two Fixes tags cite commits 8c583a03f24c ("drm/amdgpu: Implement UALink
handle import ioctl") and aa574f2570d6 ("drm/amdgpu: Resync UALink ring wptr
after reboot"), which are not in this tree's ancestry.
In addition, 2b4c5569d888 ("drm/amdgpu: Add connection state management")
originally introduced the unvalidated peer access in
amdgpu_ualink_process_hello_msg() and amdgpu_ualink_setup_connection().
Should the trailers be updated to the merged commits in tree history:
Fixes: 2b4c5569d888 ("drm/amdgpu: Add connection state management")
Fixes: a9a7035e2ec9 ("drm/amdgpu: Implement UALink handle import ioctl")
Fixes: 61c057105de5 ("drm/amdgpu: Resync UALink ring wptr after reboot")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204144157.965052-1-mukul.joshi@amd.com?part=1
prev parent reply other threads:[~2026-12-04 15:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 14:41 [PATCHv2] drm/amdgpu: reject UALink peers outside the vPod active set Mukul Joshi
2026-12-04 15:00 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-250044@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=amd-gfx@lists.freedesktop.org \
--cc=mukul.joshi@amd.com \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox