Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 720E533D5 for ; Sat, 17 Aug 2024 09:22:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723886573; cv=none; b=ZzKlGPnrFzEy+jkLB/MVYqbU3aFb+CA+OQZj86JjY0G7G5FTBFbXXvqf+qg2T5dC3kFZfeWFxhh92Td1+9G2jq3pq6PFAVfefy7/m+8flDrFGZ/gWtYxjRSHtcJS+D7Vh3dqPJ74hfeH9wYU2Y8SaDTyZXYaeG5sPJBSgs8xDAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723886573; c=relaxed/simple; bh=IsodL+BpD3FgLns9ouJa5EIQc9py5Ex8+JtRb+ijFYA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JkaokTwP2hirnOWNQWgPPCQaS755XvVvmaEPASkucUrip8uuD+eo2K4she3d3wJ4JyLOdelniNRUWThMBf0vN73Hg1c+TCsFiykUwmHL9lhMZ7V2o4++3Dpm9kPxPDddx5/WJ/xNrfcdHPXdQCrT3lokYB/n14cAtxhdosUhhkY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Oq9CSdal; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Oq9CSdal" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DD80C116B1; Sat, 17 Aug 2024 09:22:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723886573; bh=IsodL+BpD3FgLns9ouJa5EIQc9py5Ex8+JtRb+ijFYA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Oq9CSdalvVFm61XrsplKFrbIfx6hTmb6I1ngVCZbalUrSRafMnZV09OEqWv9WoHzb +jIgvwAFgSRub3JosNkFiv849GVASHSmqP4Q+QK9VYCtxKw4JHfmS4fgCGNh5gk2OA YZ0XUf9HRCvCEh6vb7eZ728xyV3tmfVtHVMfQ60Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43819: kvm: s390: Reject memory region operations for ucontrol VMs Date: Sat, 17 Aug 2024 11:22:23 +0200 Message-ID: <2024081723-CVE-2024-43819-88ce@gregkh> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2246; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=IsodL+BpD3FgLns9ouJa5EIQc9py5Ex8+JtRb+ijFYA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHsi/cfxj7XPj6x0SBexfcVz9cdUfrUmqv77ugjc66u swP7UwCO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi91cyzLP2eLDnhnjn+arp buav7kwujDM8eoBhnirLulu7JxwJ892Q2p17eWbipoRVMwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: kvm: s390: Reject memory region operations for ucontrol VMs This change rejects the KVM_SET_USER_MEMORY_REGION and KVM_SET_USER_MEMORY_REGION2 ioctls when called on a ucontrol VM. This is necessary since ucontrol VMs have kvm->arch.gmap set to 0 and would thus result in a null pointer dereference further in. Memory management needs to be performed in userspace and using the ioctls KVM_S390_UCAS_MAP and KVM_S390_UCAS_UNMAP. Also improve s390 specific documentation for KVM_SET_USER_MEMORY_REGION and KVM_SET_USER_MEMORY_REGION2. [frankja@linux.ibm.com: commit message spelling fix, subject prefix fix] The Linux kernel CVE team has assigned CVE-2024-43819 to this issue. Affected and fixed versions =========================== Issue introduced in 3.4 with commit 27e0393f15fc and fixed in 6.10.3 with commit 49c9945c054d Issue introduced in 3.4 with commit 27e0393f15fc and fixed in 6.11-rc1 with commit 7816e58967d0 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2024-43819 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: Documentation/virt/kvm/api.rst arch/s390/kvm/kvm-s390.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/49c9945c054df4c22008e2bf87ca74d3e2507aa6 https://git.kernel.org/stable/c/7816e58967d0e6cadce05c8540b47ed027dc2499