Skip to content

UBSAN fixes

Oleksii Kurochko xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 10 repliesIn review
  2. v23 patches 19 repliesSuperseded
  3. v13 patches 26 repliesSuperseded

Changes in v3 from the cover letter

- 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.
---

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libfdt: fix UBSAN null pointer in fdt_property()xen/common/libfdt/fdt_sw.c+2 -10 replies
2/2xen: introduce CONFIG_HAS_SHARED_INFO for archs without a shared pagexen/arch/arm/Kconfig xen/arch/x86/Kconfig xen/common/Kconfig +9 more+57 -1110 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchBaptiste Le DucMichal OrzelOleksii Kurochko
1/2R-b R-b Release-Acked-by
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [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(-)
Signature · 1 line
2.54.0