Re: [PATCH net] liquidio: Fix possible memory leak in lio_reset_queues()

From: Paolo Abeni

Date: Thu Jul 30 2026 - 07:36:24 EST


On 7/28/26 12:55 AM, Jacob Keller wrote:
> On 7/27/2026 1:02 AM, Abdun Nihaal wrote:
>> The memory allocated in lio_setup_glists() and setup_rx_oom_poll_fn() is
>> not freed in some of the error paths in lio_reset_queues().
>> Fix that by adding the corresponding free functions to the error paths.
>>
>> Fixes: 4b6e326b2d34 ("liquidio: Per queue oom work queue")
>> Cc: stable@xxxxxxxxxxxxxxx
>> Signed-off-by: Abdun Nihaal <nihaal@xxxxxxxxxxxxxx>
>> ---
>> Compile tested only. Issue found using static analysis.
>>
>
> Would be nice if we had a reproduction but I suspect this is tricky to
> do without some kind of fault injection.

We are actually requesting such info, especially for patch touching less
active device drivers.

Also sashiko has a bit to say:

https://sashiko.dev/#/patchset/20260727080258.86279-1-nihaal%40cse.iitm.ac.in

/P