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 C500B192589 for ; Tue, 24 Dec 2024 09:24: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=1735032293; cv=none; b=OUzC1KDai7Zc3PC9eZeNjJ/rGWp+wcV5DV4qrnins+O1xsdb9aBmo+7qxojIATxKVbN8gZsvupjcTPfWvTC+M+g/nMedmOv6aKwF+toY+ZAaZcWUBIg6jFQ4bZUn7iaYVhbiVzb7h5W875EzVtKooOX5kjNvXkTxldAseoKUBLM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735032293; c=relaxed/simple; bh=Fp3Z6qU34mAPHvsBDg707b0JCAUkkguvEJ1UtfcIZ2I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZRD9YqyYzRgHRynIza0p0JxKOCvdcEAGadcFfsCbC01uUBV+SxTJAaIu3AtaMJY9DOqu4kvLYRiP805AMoZuY50E+A/LMyemzmIEqYyJxnM1SbTnoTTyn6bj4I9cQ8P+hFGGoJ5aImkA73pvWlzc4I1KLgxexu1ipa2g9sZckCI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=I/ML10PW; 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="I/ML10PW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1236C4CED0; Tue, 24 Dec 2024 09:24:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735032293; bh=Fp3Z6qU34mAPHvsBDg707b0JCAUkkguvEJ1UtfcIZ2I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=I/ML10PW2apM32veSmtCaTMYsBNM3afXjyObAOhTrVXAqRtPvN1gS1LauKP8gMns/ PkQ5xE1cIiMmxmiXa9DYEonYvGQqzDKncYYqPS1covJ4Luv6rBmh4sviLgFVOnaQP8 DxM8dqqrWGWN12exqti506oVeefkzCnwzfIW6izU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53241: x86/xen: don't do PV iret hypercall through hypercall page Date: Tue, 24 Dec 2024 10:24:50 +0100 Message-ID: <2024122449-CVE-2024-53241-597b@gregkh> X-Mailer: git-send-email 2.47.1 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=2501; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Fp3Z6qU34mAPHvsBDg707b0JCAUkkguvEJ1UtfcIZ2I=; b=kA0DAAIRMUfUDdst+ykByyZiAGdqfeGhVplzVkozITQSp3oEv2w/mq5MCNz8kuZdXZvMjWaME IhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmdqfeEACgkQMUfUDdst+ynMQwCeNBII VahTsTyS5uUUVSDsilvazkoAn2A7NUGPEu9XfOLKGyrbdgNrBSIz 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: x86/xen: don't do PV iret hypercall through hypercall page Instead of jumping to the Xen hypercall page for doing the iret hypercall, directly code the required sequence in xen-asm.S. This is done in preparation of no longer using hypercall page at all, as it has shown to cause problems with speculation mitigations. This is part of XSA-466 / CVE-2024-53241. The Linux kernel CVE team has assigned CVE-2024-53241 to this issue. Affected and fixed versions =========================== Fixed in 5.10.232 with commit 05df6e6cd9a76b778aee33c3c18c9f3b3566d4a5 Fixed in 5.15.175 with commit c7b4cfa6213a44fa48714186dfdf125072d036e3 Fixed in 6.1.121 with commit fa719857f613fed94a79da055b13ca51214c694f Fixed in 6.6.67 with commit 82c211ead1ec440dbf81727e17b03b5e3c44b93d Fixed in 6.12.6 with commit f7c3fdad0a474062d566aae3289d490d7e702d30 Fixed in 6.13-rc4 with commit a2796dff62d6c6bfc5fbebdf2bee0d5ac0438906 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-53241 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: arch/x86/xen/xen-asm.S 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/05df6e6cd9a76b778aee33c3c18c9f3b3566d4a5 https://git.kernel.org/stable/c/c7b4cfa6213a44fa48714186dfdf125072d036e3 https://git.kernel.org/stable/c/fa719857f613fed94a79da055b13ca51214c694f https://git.kernel.org/stable/c/82c211ead1ec440dbf81727e17b03b5e3c44b93d https://git.kernel.org/stable/c/f7c3fdad0a474062d566aae3289d490d7e702d30 https://git.kernel.org/stable/c/a2796dff62d6c6bfc5fbebdf2bee0d5ac0438906