linux/arch/powerpc
Michael Ellerman cf8989d20d powerpc/powernv: Free name on error in opal_event_init()
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.

Reported-by: 2639161967 <2639161967@qq.com>
Closes: https://lore.kernel.org/linuxppc-dev/87wmjp3wig.fsf@mail.lhotse
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20240920093520.67997-1-mpe@ellerman.id.au
2024-10-16 09:26:50 +11:00
..
boot
configs ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
crypto move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
include ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
kernel powerpc/8xx: Fix kernel DTLB miss on dcbz 2024-10-11 15:53:06 +11:00
kexec
kvm struct fd layout change (and conversion to accessor helpers) 2024-09-23 09:35:36 -07:00
lib powerpc/vdso32: Fix use of crtsavres for PPC64 2024-09-20 19:06:19 +10:00
math-emu
mm ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
net
perf
platforms powerpc/powernv: Free name on error in opal_event_init() 2024-10-16 09:26:50 +11:00
purgatory
sysdev
tools
xmon
Kbuild
Kconfig dma-mapping updates for linux 6.12 2024-09-19 11:12:49 +02:00
Kconfig.debug
Makefile
Makefile.postlink