# 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-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 bc4188a2f56e821ea057aca6bf444e138d06c252 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_klondike_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- 40x/klondike_defconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_klondike_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_klondike_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_klondike_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1182:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ Completed OK # rm -rf /kisskb/build/powerpc-fixes_40x_klondike_defconfig_powerpc-gcc4.9 # Build took: 0:00:37.188145