[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 0/2] UBSAN fixes



During Baptiste Le Duc's work on adding CI stuff for RISC-V several UBSAN
issues were found.

This patch series resolves the found issues.

CI tests: https://gitlab.com/xen-project/people/olkur/xen/-/pipelines/2573666715

---
Changes in v3:
 - Reorder patches in the way that ready to be merged go first.
 - Merged to upstream/staging:
   xen/riscv: fix switch_stack_and_jump() for range beyond 1M
 - Add R-by for patch "libfdt: fix UBSAN null pointer in fdt_property()".
 - Address the comments from ML.
---
Changes in v2:
 - Address comments from ML.
---

Oleksii Kurochko (2):
  libfdt: fix UBSAN null pointer in fdt_property()
  xen: introduce CONFIG_HAS_SHARED_INFO for archs without a shared page

 xen/arch/arm/Kconfig       |  1 +
 xen/arch/x86/Kconfig       |  1 +
 xen/common/Kconfig         |  3 +++
 xen/common/Makefile        |  2 +-
 xen/common/domain.c        |  6 +++---
 xen/common/domctl.c        | 11 ++++++++---
 xen/common/event_channel.c | 14 +++++++++++---
 xen/common/event_channel.h |  6 ++++++
 xen/common/event_fifo.c    | 11 ++++++++++-
 xen/common/libfdt/fdt_sw.c |  3 ++-
 xen/common/time.c          |  2 ++
 xen/include/xen/shared.h   |  7 +++++++
 xen/include/xen/time.h     |  4 ++++
 13 files changed, 59 insertions(+), 12 deletions(-)

-- 
2.54.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.