Re: [PATCH net] net/smc: validate peer CDC cursor against RMBE size before accepting it

From: Ibrahim Hashimov

Date: Fri Jul 24 2026 - 03:22:52 EST


> The insight is yours either way -- may I add your Suggested-by (or
> Co-developed-by)?

Please do, and thanks for running it end to end. Suggested-by is the
honest one -- I pointed at the gap and the advance-bound, you did the
series. If you carry the

if (smc_curs_diff(size, &old, &temp) > size)
return;

verbatim, Co-developed-by is fine too, your call. Either way:

Ibrahim Hashimov <security@xxxxxxxxxxxx>

And your split is right -- advance-bound as the early catch, bytes_to_rcv
after the atomic_add for the accumulation the per-cursor check can't see.

Thanks,
Ibrahim