[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <uhlgxrlphs6cufrbm7mkp3nmtkrvhtoxbgd6rt7uojogfrbdoc@4mgzpab3dv3a>
Date: Wed, 15 Oct 2025 05:26:19 -0700
From: Breno Leitao <leitao@...ian.org>
To: Moshe Shemesh <moshe@...dia.com>
Cc: saeedm@...dia.com, itayavr@...dia.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, dcostantino@...a.com, kuba@...nel.org
Subject: Re: mlx5: CX7: fw_tracer: crash at mlx5_tracer_print_trace()
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
Powered by blists - more mailing lists