x86/ubsan: fix ubsan on clang + code fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 17 repliesIn review
- v17 patches 25 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | x86/wait: prevent duplicated assembly labelsxen/ | +8 | 1 reply | |
| 2/5 | x86/vga: fix mapping of the VGA text bufferxen/ | +2 | 4 replies | |
| 3/5 | x86/xlat: fix UB pointer arithmetic in COMPAT_ARG_XLAT_VIRT_BASExen/ | +3 | 7 replies | |
| 4/5 | x86/shadow: fix UB pointer arithmetic in sh_mfn_is_a_page_table()xen/ | +2 | 4 replies | |
| 5/5 | kconfig/randconfig: enable UBSAN for randconfigxen/ xen/ xen/ | +5 | 1 reply |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Cooper |
|---|---|
| 1/5 | A-b |
| 2/5 | |
| 3/5 | A-b |
| 4/5 | A-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] x86/ubsan: fix ubsan on clang + code fixes
Hello,
This started as a series to fix UBSAN when using clang, and the first patch do fix that.
Finally patches 2 to 4 fix bugs in the code highlighted by the clang UB pointer arithmetic detection.
Patch 5 was the original goal of the series: be able to enable UBSAN for randconfig.
Thanks, Roger.
Roger Pau Monne (5):
x86/wait: prevent duplicated assembly labels
x86/vga: fix mapping of the VGA text buffer
x86/xlat: fix UB pointer arithmetic in COMPAT_ARG_XLAT_VIRT_BASE x86/shadow: fix UB pointer arithmetic in sh_mfn_is_a_page_table() kconfig/randconfig: enable UBSAN for randconfig
xen/Kconfig | 4 ++++ xen/Kconfig.debug | 2 +- xen/arch/x86/include/asm/x86_64/uaccess.h | 6 +++--- xen/arch/x86/mm/shadow/private.h | 3 ++- xen/common/wait.c | 10 ++++++++-- xen/drivers/video/vga.c | 4 ++-- xen/tools/kconfig/allrandom.config | 1 - 7 files changed, 20 insertions(+), 10 deletions(-)
Signature · 1 line
2.48.1