]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
objtool: Update Retpoline validation
authorPeter Zijlstra <peterz@infradead.org>
Tue, 14 Jun 2022 21:15:59 +0000 (23:15 +0200)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Tue, 19 Jul 2022 19:20:05 +0000 (16:20 -0300)
commit703744aedb1509745b1bc83f98f84624a7ea056c
treee90d3771e3f7a26f76652cf516e1fd80b738a6eb
parent44ba0d1d601ae05ed3ecc17ab3e07b5a88253bdb
objtool: Update Retpoline validation

commit 9bb2ec608a209018080ca262f771e6a9ff203b6f upstream.

Update retpoline validation with the new CONFIG_RETPOLINE requirement of
not having bare naked RET instructions.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
[cascardo: conflict fixup at arch/x86/xen/xen-head.S]
CVE-2022-29900
CVE-2022-29901
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
arch/x86/include/asm/nospec-branch.h
arch/x86/mm/mem_encrypt_boot.S
arch/x86/xen/xen-head.S
tools/objtool/check.c