On Tue, Nov 24, 2026 at 10:00:57PM +0000, netd…@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue(s) to consider.
>
> Critical: 0 · High: 0 · Medium: 1 · Low: 0
>
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
>
> - [Medium] The patch "ixgbe: fix incomplete ACI command buffer backup on
> retry" has the wrong Fixes: tag.
>
> --
>
> ixgbe: fix incomplete ACI command buffer backup on retry
>
> This commit changes the EBUSY retry backup in ixgbe_aci_send_cmd(). It
> now copies the whole indirect command buffer with kmemdup() instead of
> saving only the first byte. It also skips the backup when buf_size is 0
> and keys the restore off buf_cpy, to match ice_sq_send_cmd_retry().
>
> > Fixes: c9e563cae19e ("ixgbe: add support for devlink reload")
>
> [Severity: Medium]
> Is this the right commit for the Fixes: tag?
>
> In c9e563cae19e, the only change to ixgbe_e610.c is the new
> ixgbe_aci_nvm_update_empr(). That function sends a direct command:
>
> return ixgbe_aci_send_cmd(hw, &desc, NULL, 0);
>
> Its opcode, ixgbe_aci_opc_nvm_update_empr, is not listed in
> ixgbe_should_retry_aci_send_cmd_execute(). With buf == NULL it also never
> reaches the buf_cpy path.
>
> The code this patch fixes in ixgbe_aci_send_cmd() looks like it came in
> with the original ACI support. Running git blame on the baseline points the
> backup:
>
> if (buf) {
> buf_cpy = kmalloc(buf_size, GFP_KERNEL);
> if (!buf_cpy)
> return -ENOMEM;
> *buf_cpy = *(u8 *)buf;
> }
>
> and the restore:
>
> if (buf)
> memcpy(buf, buf_cpy, buf_size);
>
> to 46761fd52a88 ("ixgbe: Add support for E610 FW Admin Command Interface").
>
> Kernels that have 46761fd52a88 but not c9e563cae19e still have this bug.
> Stable and CVE tooling would treat them as unaffected with the current tag.
>
> Should the tag be the following instead?
>
> Fixes: 46761fd52a88 ("ixgbe: Add support for E610 FW Admin Command Interface")
This does seem to be a valid point.
It does seem that the buggy code both exists and is wired-up as of 46761fd52a88.