New: [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests
https://bugzilla.kernel.org/show_bug.cgi?id=216364
Bug ID: 216364
Summary: [Kernel IBT][kvm] There was "Missing ENDBR" in kvm
when syzkaller tests
Product: Virtualization
Version: unspecified
Kernel Version: v5.19 mainline kernel
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: kvm
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Created attachment 301563
--> https://bugzilla.kernel.org/attachment.cgi?id=301563&action=editHost_kernel_missing_endbr_from_kvm
I used syzkaller and found the "Missing ENDBR: andw_ax_dx+0x0/0x10 [kvm]" BUG in the host.
Platform: ADL-P/TGL-U or TGL-H
Host Kernel: v5.19 mainline kernel with kernel IBT
Guest kernel: v5.19 mainline kernel without kernel IBT, moved kconfig "CONFIG_X86_KERNEL_IBT=y".
Host kernel enabled kernel IBT by adding the KCONFIG "CONFIG_X86_KERNEL_IBT=y".
In syzkaller guest kernel, guest didn't enable kernel IBT and used 5.19 mainline kernel also.
After launched the syzkaller test about 2 hours.
There was "Missing ENDBR: andw_ax_dx+0x0/0x10 [kvm]" info generated in host kernel.
[ 0.000000] Linux version 5.19.0-m2 ([email protected]) (gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-10), GNU ld version 2.36.1-2.el8) #1 SMP PREEMPT_DYNAMIC Mon Aug 1 14:23:55 CST 2022 [ 5048.057266] traps: Missing ENDBR: andw_ax_dx+0x0/0x10 [kvm] [ 5048.057440] ------------[ cut here ]------------ [ 5048.057457] kernel BUG at arch/x86/kernel/traps.c:253!
Host dmesg was in attached.
Thanks!
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216364] [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests
https://bugzilla.kernel.org/show_bug.cgi?id=216364
--- Comment #1 from xupengfe ([email protected]) --- Created attachment 301591
--> https://bugzilla.kernel.org/attachment.cgi?id=301591&action=editFixed_patch_from_Peter_Z
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216364] [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216364
--- Comment #2 from xupengfe ([email protected]) --- Peter Zijlstra <[email protected]> gave the fixed patch. I will have a try to verify the fixed patch.
Thanks!
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216364] [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216364
--- Comment #3 from xupengfe ([email protected]) --- This issue was fixed by the patches in below link:
https://lore.kernel.org/lkml/[email protected]/
Verified it's could not be reproduced with syzkaller test for more than 4 hours on TGL-H and ADL-P.
Could close this issue.
Thanks!
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216364] [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216364
--- Comment #4 from xupengfe ([email protected]) --- This issue was fixed by the patches in below link:
https://lore.kernel.org/lkml/[email protected]/
Verified it could not be reproduced with syzkaller test for more than 4 hours on TGL-H and ADL-P.
Could close this issue.
Thanks!
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216364] [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216364
xupengfe ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIXSignature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.