[PATCH] powerpc/powernv: Free name on error in opal_event_init()
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Oct 30 10:24:21 AEDT 2024
On Fri, 20 Sep 2024 19:35:20 +1000, Michael Ellerman wrote:
> In opal_event_init() if request_irq() fails name is not freed, leading
> to a memory leak. The code only runs at boot time, there's no way for a
> user to trigger it, so there's no security impact.
>
> Fix the leak by freeing name in the error path.
>
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/powernv: Free name on error in opal_event_init()
https://git.kernel.org/powerpc/c/cf8989d20d64ad702a6210c11a0347ebf3852aa7
cheers
More information about the Linuxppc-dev
mailing list