Re: mlx5: CX7: fw_tracer: crash at mlx5_tracer_print_trace()

From: Breno Leitao

Date: Wed Oct 15 2025 - 08:26:23 EST


Hello Moshe,

On Wed, Oct 15, 2025 at 12:13:29PM +0300, Moshe Shemesh wrote:
> On 10/9/2025 3:42 PM, Breno Leitao wrote:
> >
> > My understanding that we are printf %s with params[0], which is 557514328 (aka
> > 0x213afe58). So, sprintf is trying to access the content of 0x213afe58, which
> > is invalid, and crash.
> >
> > Is this a known issue?
>
> Not a known issue, not expected, thanks for reporting.
> We will send patch to protect from such crash.

Thanks. how do you plan to protect it? I understand that the string is
coming from the firmware and the kernel is just using it in snprintf. Is
it right?

> Please send FW version it was detected on.

`ethtool -i` outputs:
firmware-version: 28.44.2506 (FB_0000000030)

Thanks for your answer,
--breno