Thread (6 messages) 6 messages, 3 authors, 2025-11-04

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

flat view

From: Breno Leitao <leitao@debian.org>
Date: 2025-10-15 12:26:23
Also in: lkml

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:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help