[PATCH] trace: fix out of bounds write in __rte_trace_mem_get

David Marchand david.marchand at redhat.com
Thu Apr 3 11:25:56 CEST 2025


On Wed, Apr 2, 2025 at 11:35 AM Oleksandr Nahnybida
<oleksandrn at interfacemasters.com> wrote:
>
> Offset should be aligned first before checking if there is free space for
> another write.
>
> Bugzilla ID: 1665
> Fixes: ebaee6409702 ("trace: simplify trace point headers")

This commit ebaee6409702 ("trace: simplify trace point headers") just
moved code around.

I think the bug was present since the first implementation, so:
Fixes: 032a7e5499a0 ("trace: implement provider payload")


-- 
David Marchand



More information about the dev mailing list