mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
commit8afd1c7da2("x86/speculation: Change FILL_RETURN_BUFFER to work with objtool") does not support intra-function call stack validation, which causes kernel live patching to fail. This commit adds support for this, and after testing, the kernel live patching feature is restored to normal. Fixes:8afd1c7da2("x86/speculation: Change FILL_RETURN_BUFFER to work with objtool") Cc: <stable@vger.kernel.org> # v5.4.250+ Signed-off-by: Rui Qi <qirui.001@bytedance.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>