Considering that CONFIG_X86_5LEVEL is enabled in openEuler 5.10, Backport patch from 5.10.199 LTS to fix CVE-2023-52504.
https://nvd.nist.gov/vuln/detail/CVE-2023-52504
Kirill A. Shutemov (1): x86/alternatives: Disable KASAN in apply_alternatives()
arch/x86/kernel/alternative.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)