]> www.infradead.org Git - users/jedix/linux-maple.git/commit
objtool/x86: allow syscall instruction
authorJuergen Gross <jgross@suse.com>
Fri, 29 Nov 2024 14:47:49 +0000 (15:47 +0100)
committerJuergen Gross <jgross@suse.com>
Fri, 13 Dec 2024 08:28:21 +0000 (09:28 +0100)
commitdda014ba59331dee4f3b773a020e109932f4bd24
tree36706823f8ff905afc600701913807230b3efce3
parentefbcd61d9bebb771c836a3b8bfced8165633db7c
objtool/x86: allow syscall instruction

The syscall instruction is used in Xen PV mode for doing hypercalls.
Allow syscall to be used in the kernel in case it is tagged with an
unwind hint for objtool.

This is part of XSA-466 / CVE-2024-53241.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Co-developed-by: Peter Zijlstra <peterz@infradead.org>
tools/objtool/check.c