# git rev-parse -q --verify bc4188a2f56e821ea057aca6bf444e138d06c252^{commit} bc4188a2f56e821ea057aca6bf444e138d06c252 already have revision, skipping fetch # git checkout -q -f -B kisskb bc4188a2f56e821ea057aca6bf444e138d06c252 # git clean -qxdf # < git log -1 # commit bc4188a2f56e821ea057aca6bf444e138d06c252 # Author: Nicholas Piggin # Date: Fri Jul 16 12:43:10 2021 +1000 # # KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak # # vcpu_put is not called if the user copy fails. This can result in preempt # notifier corruption and crashes, among other issues. # # Fixes: b3cebfe8c1ca ("KVM: PPC: Move vcpu_load/vcpu_put down to each ioctl case in kvm_arch_vcpu_ioctl") # Reported-by: Alexey Kardashevskiy # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20210716024310.164448-2-npiggin@gmail.com # < /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 bc4188a2f56e821ea057aca6bf444e138d06c252 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_eiger_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/eiger_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_eiger_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_eiger_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_eiger_defconfig_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_44x_eiger_defconfig_powerpc-gcc5 # Build took: 0:00:44.192755