All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 216364] New: [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests
@ 2022-08-15  6:25 bugzilla-daemon
  2022-08-17 11:05 ` [Bug 216364] " bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2022-08-15  6:25 UTC (permalink / raw)
  To: kvm

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: virtualization_kvm@kernel-bugs.osdl.org
          Reporter: pengfei.xu@intel.com
        Regression: No

Created attachment 301563
  --> https://bugzilla.kernel.org/attachment.cgi?id=301563&action=edit
Host_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 (root@xpf.sh.intel.com) (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!

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 216364] [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests
  2022-08-15  6:25 [Bug 216364] New: [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests bugzilla-daemon
@ 2022-08-17 11:05 ` bugzilla-daemon
  2022-08-17 11:05 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2022-08-17 11:05 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216364

--- Comment #1 from xupengfe (pengfei.xu@intel.com) ---
Created attachment 301591
  --> https://bugzilla.kernel.org/attachment.cgi?id=301591&action=edit
Fixed_patch_from_Peter_Z

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 216364] [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests
  2022-08-15  6:25 [Bug 216364] New: [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests bugzilla-daemon
  2022-08-17 11:05 ` [Bug 216364] " bugzilla-daemon
@ 2022-08-17 11:05 ` bugzilla-daemon
  2022-08-19  5:57 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2022-08-17 11:05 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216364

--- Comment #2 from xupengfe (pengfei.xu@intel.com) ---
Peter Zijlstra <peterz@infradead.org> gave the fixed patch.
I will have a try to verify the fixed patch.

Thanks!

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 216364] [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests
  2022-08-15  6:25 [Bug 216364] New: [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests bugzilla-daemon
  2022-08-17 11:05 ` [Bug 216364] " bugzilla-daemon
  2022-08-17 11:05 ` bugzilla-daemon
@ 2022-08-19  5:57 ` bugzilla-daemon
  2022-08-19  6:09 ` bugzilla-daemon
  2022-08-19  6:13 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2022-08-19  5:57 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216364

--- Comment #3 from xupengfe (pengfei.xu@intel.com) ---
This issue was fixed by the patches in below link:

https://lore.kernel.org/lkml/64365019-57dc-b449-8178-30428e09adf8@redhat.com/



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!

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 216364] [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests
  2022-08-15  6:25 [Bug 216364] New: [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests bugzilla-daemon
                   ` (2 preceding siblings ...)
  2022-08-19  5:57 ` bugzilla-daemon
@ 2022-08-19  6:09 ` bugzilla-daemon
  2022-08-19  6:13 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2022-08-19  6:09 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216364

--- Comment #4 from xupengfe (pengfei.xu@intel.com) ---
This issue was fixed by the patches in below link:

https://lore.kernel.org/lkml/64365019-57dc-b449-8178-30428e09adf8@redhat.com/



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!

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 216364] [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests
  2022-08-15  6:25 [Bug 216364] New: [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests bugzilla-daemon
                   ` (3 preceding siblings ...)
  2022-08-19  6:09 ` bugzilla-daemon
@ 2022-08-19  6:13 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2022-08-19  6:13 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=216364

xupengfe (pengfei.xu@intel.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-19  6:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-15  6:25 [Bug 216364] New: [Kernel IBT][kvm] There was "Missing ENDBR" in kvm when syzkaller tests bugzilla-daemon
2022-08-17 11:05 ` [Bug 216364] " bugzilla-daemon
2022-08-17 11:05 ` bugzilla-daemon
2022-08-19  5:57 ` bugzilla-daemon
2022-08-19  6:09 ` bugzilla-daemon
2022-08-19  6:13 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.