Re: [PATCH] powerpc/powernv: Free name on error in opal_event_init()

From
Michael Ellerman <hidden>
Date
2024-10-29 23:25:01
Reply to
Michael Ellerman, 2024-09-20
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
Thread (2 messages) 2 messages, 2 authors, last reply 2024-10-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help