Re: [PATCH] ARM: module: Reclaim the unwind list of module on kmalloc failed

From: Linus Walleij
Date: Tue Nov 08 2022 - 09:06:13 EST


On Thu, Nov 3, 2022 at 2:20 AM Liao Chang <liaochang1@xxxxxxxxxx> wrote:

> When unwind table allocation failed, it needs to reclaim the unwind list
> of module to avoid potential NULL pointer exception and memory leakage.
>
> Fixes: b6f21d14f1ac ("ARM: 9204/2: module: Add all unwind tables when load module")
> Signed-off-by: Liao Chang <liaochang1@xxxxxxxxxx>
> Cc: Chen Zhongjin <chenzhongjin@xxxxxxxxxx>

Looks good to me:
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Please put this into Russells patch tracker.

Yours,
Linus Walleij