Hi Shawn,
05 Dec 2026 06:43:09 Shawn Shao <shaw…@163.com>:
>
> mptcp_getsockopt_info() reads optlen as a signed int but converts it to
> unsigned int in min_t(). A negative value therefore selects the full
> MPTCP_INFO structure instead of being rejected.
>
> Reject negative lengths before the zero-length check and unsigned
> conversion.
Thanks!
Reviewed-by: Matthieu Baerts (NGI0) <matt…@kernel.org>
While at it:
Cc: stab…@vger.kernel.org
Cheers,
Matt