mbox series

[v3,0/3] xen: fix a potential crash in xen-bus

Message ID 20190913082043.31288-1-paul.durrant@citrix.com (mailing list archive)
Headers show
Series xen: fix a potential crash in xen-bus | expand

Message

Paul Durrant Sept. 13, 2019, 8:20 a.m. UTC
This series fixes a potential segfault caused by NotifierList corruption
in xen-bus. The first two patches lay the groundwork and the third
actually fixes the problem.

Paul Durrant (3):
  xen / notify: introduce a new XenWatchList abstraction
  xen: introduce separate XenWatchList for XenDevice objects
  xen: perform XenDevice clean-up in XenBus watch handler

 hw/xen/trace-events      |   9 +-
 hw/xen/xen-bus.c         | 277 ++++++++++++++++++++++++++++-----------
 include/hw/xen/xen-bus.h |   8 +-
 include/qemu/notify.h    |   2 +
 util/notify.c            |   5 +
 5 files changed, 220 insertions(+), 81 deletions(-)
---
Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>

Comments

Paul Durrant Sept. 13, 2019, 8:21 a.m. UTC | #1
I typo-ed 'xen-devel'. I'll re-send.

  Paul

> -----Original Message-----
> From: Paul Durrant <paul.durrant@citrix.com>
> Sent: 13 September 2019 09:21
> To: qemu-devel@nongnu.org; xen-devrel@lists.xenproject.org
> Cc: Paul Durrant <Paul.Durrant@citrix.com>; Anthony Perard <anthony.perard@citrix.com>; Stefano
> Stabellini <sstabellini@kernel.org>
> Subject: [PATCH v3 0/3] xen: fix a potential crash in xen-bus
> 
> This series fixes a potential segfault caused by NotifierList corruption
> in xen-bus. The first two patches lay the groundwork and the third
> actually fixes the problem.
> 
> Paul Durrant (3):
>   xen / notify: introduce a new XenWatchList abstraction
>   xen: introduce separate XenWatchList for XenDevice objects
>   xen: perform XenDevice clean-up in XenBus watch handler
> 
>  hw/xen/trace-events      |   9 +-
>  hw/xen/xen-bus.c         | 277 ++++++++++++++++++++++++++++-----------
>  include/hw/xen/xen-bus.h |   8 +-
>  include/qemu/notify.h    |   2 +
>  util/notify.c            |   5 +
>  5 files changed, 220 insertions(+), 81 deletions(-)
> ---
> Cc: Anthony Perard <anthony.perard@citrix.com>
> Cc: Stefano Stabellini <sstabellini@kernel.org>
> --
> 2.20.1.2.gb21ebb6