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 0E8C428C006 for ; Tue, 30 Dec 2025 12:10:34 +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=1767096635; cv=none; b=TswEmfFGgptSuMRCHqBfQ2HKki4ru1uC73ujwtq0ykF9E0wxe3WWGSrJ46dXWDz5XtdnGjjzAioqvK6QgaEDCJW+apYgtGsFnEFVyYVr+ShCUxOidZJxq4Fy88GykyOn+4yODB4+c0Eavc0uycFcfH7CMTH2mwn1uONQ4L8jjTo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096635; c=relaxed/simple; bh=kAklbjoPTPp38fAJlaqDPIIhnee8wKJKN0evUGQ8+JQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UETWxR259G4mGoD/CiyGBCtZ7RKR7NtvK8QRobaHFZbc360o7cEpm1paHNpu+4NX5VVXTPmVJn/QltcvfCYoz5UqEvjL81s4drSl7pZEL55bwf0u+20PIxJr9nemhG+j2/ummCMPffcMQb6ySs4KIbdBqz5h4lv3SeXoZB0IXnk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cxy/hT19; 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="cxy/hT19" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A2B6C4CEFB; Tue, 30 Dec 2025 12:10:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096634; bh=kAklbjoPTPp38fAJlaqDPIIhnee8wKJKN0evUGQ8+JQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=cxy/hT19mhl+fO3aAOsfp/3MXRqhiPM2rVpZTdussOVUP14Jf182E4AM+6iQJ3qaB mggL0M4lM9MA6nDVLIWFYNftmmdG8r5yVY8yryTmckT81APxveUWBvxCECTIFI7e33 9OAZSeoGpi3LCSJbEb1A26f5uezCKH6po1vnRuDI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54172: x86/hyperv: Disable IBT when hypercall page lacks ENDBR instruction Date: Tue, 30 Dec 2025 13:09:40 +0100 Message-ID: <2025123021-CVE-2023-54172-bcdc@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2511; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RSl2oRjw9ao0Vqg4r/FKyEBBjdDcawjUmRHa+4QoRUs=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBBz4G9+2qi/2Y+3yu4rZjT212r4qMD9x0xOTvYy6jd Nk5D+/f6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJnNnNMD/gRG2g3/klzc1L FFvcEo+/OlwWI8mw4IqTVP+NZ8bFjE8+m7PWRGi9Z9UQBgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: x86/hyperv: Disable IBT when hypercall page lacks ENDBR instruction On hardware that supports Indirect Branch Tracking (IBT), Hyper-V VMs with ConfigVersion 9.3 or later support IBT in the guest. However, current versions of Hyper-V have a bug in that there's not an ENDBR64 instruction at the beginning of the hypercall page. Since hypercalls are made with an indirect call to the hypercall page, all hypercall attempts fail with an exception and Linux panics. A Hyper-V fix is in progress to add ENDBR64. But guard against the Linux panic by clearing X86_FEATURE_IBT if the hypercall page doesn't start with ENDBR. The VM will boot and run without IBT. If future Linux 32-bit kernels were to support IBT, additional hypercall page hackery would be needed to make IBT work for such kernels in a Hyper-V VM. The Linux kernel CVE team has assigned CVE-2023-54172 to this issue. Affected and fixed versions =========================== Fixed in 6.1.45 with commit 98cccbd0a19a161971bc7f7feb10577adc62c400 Fixed in 6.4.10 with commit 73626b70b361ddda7c380e52c236aa4f2487c402 Fixed in 6.5 with commit d5ace2a776442d80674eff9ed42e737f7dd95056 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-2023-54172 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/hyperv/hv_init.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/98cccbd0a19a161971bc7f7feb10577adc62c400 https://git.kernel.org/stable/c/73626b70b361ddda7c380e52c236aa4f2487c402 https://git.kernel.org/stable/c/d5ace2a776442d80674eff9ed42e737f7dd95056