From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 499EAC8D1 for ; Fri, 9 Aug 2024 08:12:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723191152; cv=none; b=BgymMYb3VBhR3b53iNbpN0R+RLRD87eROICzlqq5WkW5mmdYeinT2I52H2gzRAOYI0O7f8AG8W556yMhhIUKcxUjcOsM+l41jsVZkCn+Xkm/XAxscGtVS+ht1rKTWMivvFsvmONXqJeq4BqDTJfL5gm7XqMniagcb14sEbE4T7c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723191152; c=relaxed/simple; bh=kHDhDSR2+w+Ph+NdsUodVPwydVWb2V+/ba4K3JJ4EvM=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=WurSsPk8URSz47szhXYSMNVjvMjMAKeC1k+76qGJRY/Q7fCTf3/HGeTwpWJVK3ZQySEhpTg5QJxBX2lWKjNq3nqIs66zxsGFOZTwP1PL7zuakdMl5cUSqpLN9guDd39dzuVo6wSUHqa74RYe7b9uj2cBKIDNT3lWbHByJ2U60Fs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=OeVRqCC1; arc=none smtp.client-ip=95.215.58.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="OeVRqCC1" Date: Fri, 9 Aug 2024 01:12:19 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1723191146; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=ZHuIVP7wwieh91FvNO32MlwMqME40e728uT/JCQsoZ8=; b=OeVRqCC1RsSwvbLdaEG7URAMTfh5Eum+qKE4wrIElDzzFHGHjeZVNhU8LfsYEsQcQdeMvD jSIlNjv154Swu/c7f9AoAm3t/9qOg0t6CdU0PK1T13NSySCLD5gnajIhzFDUgvwp2yKuO9 pEP0IWiyo2Po/D10G6h869HaEs/u3hw= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Paolo Bonzini Cc: Marc Zyngier , Alexander Potapenko , Mark Brown , Fuad Tabba , Zenghui Yu , Takahiro Itazuri , Sebastian Ott , Danilo Krummrich , kvm@vger.kernel.org, kvmarm@lists.linux.dev Subject: [GIT PULL] KVM/arm64 fixes for 6.11, round #1 Message-ID: Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Migadu-Flow: FLOW_OUT Hi Paolo, Decent bit of fixes this time around. The most noteworthy among these is probably Marc's vgic fix that closes a race which can precipitate a UAF, as seen w/ syskaller. Please pull. -- Thanks, Oliver The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.11-1 for you to fetch changes up to 9eb18136af9fe4dd688724070f2bfba271bd1542: KVM: arm64: vgic: Hold config_lock while tearing down a CPU interface (2024-08-08 16:58:22 +0000) ---------------------------------------------------------------- KVM/arm64 fixes for 6.11, round #1 - Use kvfree() for the kvmalloc'd nested MMUs array - Set of fixes to address warnings in W=1 builds - Make KVM depend on assembler support for ARMv8.4 - Fix for vgic-debug interface for VMs without LPIs - Actually check ID_AA64MMFR3_EL1.S1PIE in get-reg-list selftest - Minor code / comment cleanups for configuring PAuth traps - Take kvm->arch.config_lock to prevent destruction / initialization race for a vCPU's CPUIF which may lead to a UAF ---------------------------------------------------------------- Danilo Krummrich (1): KVM: arm64: free kvm->arch.nested_mmus with kvfree() Fuad Tabba (1): KVM: arm64: Tidying up PAuth code in KVM Marc Zyngier (2): KVM: arm64: Enforce dependency on an ARMv8.4-aware toolchain KVM: arm64: vgic: Hold config_lock while tearing down a CPU interface Mark Brown (1): KVM: selftests: arm64: Correct feature test for S1PIE in get-reg-list Sebastian Ott (3): KVM: arm64: fix override-init warnings in W=1 builds KVM: arm64: fix kdoc warnings in W=1 builds KVM: arm64: vgic: fix unexpected unlock sparse warnings Takahiro Itazuri (1): docs: KVM: Fix register ID of SPSR_FIQ Zenghui Yu (1): KVM: arm64: vgic-debug: Exit the iterator properly w/o LPI Documentation/virt/kvm/api.rst | 2 +- arch/arm64/include/asm/kvm_ptrauth.h | 2 +- arch/arm64/kvm/Kconfig | 1 + arch/arm64/kvm/Makefile | 3 +++ arch/arm64/kvm/arm.c | 15 +++++---------- arch/arm64/kvm/hyp/include/hyp/switch.h | 1 - arch/arm64/kvm/hyp/nvhe/Makefile | 2 ++ arch/arm64/kvm/hyp/nvhe/switch.c | 5 ++--- arch/arm64/kvm/hyp/vhe/Makefile | 2 ++ arch/arm64/kvm/nested.c | 2 +- arch/arm64/kvm/vgic/vgic-debug.c | 5 +++-- arch/arm64/kvm/vgic/vgic-init.c | 3 +-- arch/arm64/kvm/vgic/vgic-irqfd.c | 7 ++++--- arch/arm64/kvm/vgic/vgic-its.c | 18 +++++++++++------- arch/arm64/kvm/vgic/vgic-v3.c | 2 +- arch/arm64/kvm/vgic/vgic.c | 2 +- arch/arm64/kvm/vgic/vgic.h | 2 +- tools/testing/selftests/kvm/aarch64/get-reg-list.c | 4 ++-- 18 files changed, 42 insertions(+), 36 deletions(-)