All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 209845] New: ignore_msrs kernel NULL pointer dereference since 12bc2132b15e0a969b3f455d90a5f215ef239eff
@ 2020-10-25 11:28 bugzilla-daemon
  2020-10-25 16:24 ` Peter Xu
  2020-10-25 16:24 ` [Bug 209845] " bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2020-10-25 11:28 UTC (permalink / raw)
  To: kvm

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

            Bug ID: 209845
           Summary: ignore_msrs kernel NULL pointer dereference since
                    12bc2132b15e0a969b3f455d90a5f215ef239eff
           Product: Virtualization
           Version: unspecified
    Kernel Version: 5.9
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: kvm
          Assignee: virtualization_kvm@kernel-bugs.osdl.org
          Reporter: kernel-bugs@steffen.cc
        Regression: No

Created attachment 293183
  --> https://bugzilla.kernel.org/attachment.cgi?id=293183&action=edit
dmesg section

Since commit 12bc2132b15e0a969b3f455d90a5f215ef239eff kvm crashes with a null
pointer dereference when ignore_msrs is set (log in attachement) 

Hardware: AMD Ryzen 3700x


other reports:
-
https://www.reddit.com/r/VFIO/comments/jdh9pp/so_i_just_updated_to_kernel_591_and/ 


- https://forum.manjaro.org/t/kernel-5-9-no-virtualization/31562

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

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

* Re: [Bug 209845] New: ignore_msrs kernel NULL pointer dereference since 12bc2132b15e0a969b3f455d90a5f215ef239eff
  2020-10-25 11:28 [Bug 209845] New: ignore_msrs kernel NULL pointer dereference since 12bc2132b15e0a969b3f455d90a5f215ef239eff bugzilla-daemon
@ 2020-10-25 16:24 ` Peter Xu
  2020-10-25 16:24 ` [Bug 209845] " bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Xu @ 2020-10-25 16:24 UTC (permalink / raw)
  To: bugzilla-daemon; +Cc: kvm

On Sun, Oct 25, 2020 at 11:28:21AM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=209845
> 
>             Bug ID: 209845
>            Summary: ignore_msrs kernel NULL pointer dereference since
>                     12bc2132b15e0a969b3f455d90a5f215ef239eff
>            Product: Virtualization
>            Version: unspecified
>     Kernel Version: 5.9
>           Hardware: x86-64
>                 OS: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: kvm
>           Assignee: virtualization_kvm@kernel-bugs.osdl.org
>           Reporter: kernel-bugs@steffen.cc
>         Regression: No
> 
> Created attachment 293183
>   --> https://bugzilla.kernel.org/attachment.cgi?id=293183&action=edit
> dmesg section
> 
> Since commit 12bc2132b15e0a969b3f455d90a5f215ef239eff kvm crashes with a null
> pointer dereference when ignore_msrs is set (log in attachement) 
> 
> Hardware: AMD Ryzen 3700x

kvm_msr_ignored_check() should consider vcpu null case for kvm vm get msr
features..  I'll post a fix soon, probably with a selftest too.  Thanks,

-- 
Peter Xu


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

* [Bug 209845] ignore_msrs kernel NULL pointer dereference since 12bc2132b15e0a969b3f455d90a5f215ef239eff
  2020-10-25 11:28 [Bug 209845] New: ignore_msrs kernel NULL pointer dereference since 12bc2132b15e0a969b3f455d90a5f215ef239eff bugzilla-daemon
  2020-10-25 16:24 ` Peter Xu
@ 2020-10-25 16:24 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2020-10-25 16:24 UTC (permalink / raw)
  To: kvm

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

--- Comment #1 from peterx@redhat.com ---
On Sun, Oct 25, 2020 at 11:28:21AM +0000, bugzilla-daemon@bugzilla.kernel.org
wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=209845
> 
>             Bug ID: 209845
>            Summary: ignore_msrs kernel NULL pointer dereference since
>                     12bc2132b15e0a969b3f455d90a5f215ef239eff
>            Product: Virtualization
>            Version: unspecified
>     Kernel Version: 5.9
>           Hardware: x86-64
>                 OS: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: kvm
>           Assignee: virtualization_kvm@kernel-bugs.osdl.org
>           Reporter: kernel-bugs@steffen.cc
>         Regression: No
> 
> Created attachment 293183
>   --> https://bugzilla.kernel.org/attachment.cgi?id=293183&action=edit
> dmesg section
> 
> Since commit 12bc2132b15e0a969b3f455d90a5f215ef239eff kvm crashes with a null
> pointer dereference when ignore_msrs is set (log in attachement) 
> 
> Hardware: AMD Ryzen 3700x

kvm_msr_ignored_check() should consider vcpu null case for kvm vm get msr
features..  I'll post a fix soon, probably with a selftest too.  Thanks,

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

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

end of thread, other threads:[~2020-10-25 16:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-25 11:28 [Bug 209845] New: ignore_msrs kernel NULL pointer dereference since 12bc2132b15e0a969b3f455d90a5f215ef239eff bugzilla-daemon
2020-10-25 16:24 ` Peter Xu
2020-10-25 16:24 ` [Bug 209845] " 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.