# 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/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 bc4188a2f56e821ea057aca6bf444e138d06c252 # < make -s -j 48 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- defconfig # < make -s -j 48 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- help # make -s -j 48 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- olddefconfig # make -s -j 48 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- :1515:2: warning: #warning syscall clone3 not implemented [-Wcpp] WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version ... Is "_mcount" prototyped in ? kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 # Build took: 0:01:22.136055