Skip to content

xen: fix a potential crash in xen-bus

Paul Durrant qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/23 patches 1 replyIn review
  2. v3 posting 1/23 patches 1 replySuperseded
  3. v23 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches4 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen / notify: introduce a new XenWatchList abstractionhw/xen/trace-events hw/xen/xen-bus.c include/hw/xen/xen-bus.h +2 more+87 -450 replies
2/3xen: introduce separate XenWatchList for XenDevice objectshw/xen/trace-events hw/xen/xen-bus.c include/hw/xen/xen-bus.h+62 -140 replies
3/3xen: perform XenDevice clean-up in XenBus watch handlerhw/xen/trace-events hw/xen/xen-bus.c include/hw/xen/xen-bus.h+74 -250 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAnthony Perard
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [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 <[email protected]>
Cc: Stefano Stabellini <[email protected]>

Signature · 1 line
2.20.1.2.gb21ebb6