]> xenbits.xensource.com Git - xen.git/commit
x86: Drop INDIRECT_JMP
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 22 Dec 2023 18:01:37 +0000 (18:01 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 9 Apr 2024 15:45:01 +0000 (16:45 +0100)
commit62844c4415f50e01ab46fa8bedc127cc098aa77b
tree1ad8b66673f6c80328f67918760c5bacea7de1e0
parent9fd732d18d564001227c98ca8fa5da8eb348ede5
x86: Drop INDIRECT_JMP

Indirect JMPs which are not tailcalls can lead to an unwelcome form of
speculative type confusion, and we've removed the uses of INDIRECT_JMP to
compensate.  Remove the temptation to reintroduce new instances.

This is part of XSA-456 / CVE-2024-2201.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit 0b66d7ce3c0290eaad28bdafb35200052d012b14)
xen/arch/x86/include/asm/asm-defns.h