# git rev-parse -q --verify cf8989d20d64ad702a6210c11a0347ebf3852aa7^{commit} cf8989d20d64ad702a6210c11a0347ebf3852aa7 already have revision, skipping fetch # git checkout -q -f -B kisskb cf8989d20d64ad702a6210c11a0347ebf3852aa7 # git clean -qxdf # < git log -1 # commit cf8989d20d64ad702a6210c11a0347ebf3852aa7 # Author: Michael Ellerman # Date: Fri Sep 20 19:35:20 2024 +1000 # # 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 # Link: https://patch.msgid.link/20240920093520.67997-1-mpe@ellerman.id.au # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 cf8989d20d64ad702a6210c11a0347ebf3852aa7 # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_RELOCATABLE=n # Added to kconfig CONFIG_STRICT_KERNEL_RWX=y # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc5 # Build took: 0:02:26.205149