Skip to content

misc hardening and some cleanup

Jan Beulich xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6EFI: re-check {get, set}-variable name strings after copying inxen/common/efi/boot.c xen/common/efi/efi.h xen/common/efi/runtime.c+26 -130 replies
2/6EFI: don't leak heap contents through XEN_EFI_get_next_variable_namexen/common/efi/runtime.c+1 -10 replies
3/6xmalloc: guard against integer overflowxen/common/xmalloc_tlsf.c+19 -10 replies
4/6Arm/GICv2: don't needlessly use xzalloc_bytes()xen/arch/arm/gic-v2.c+1 -11 reply
4/6sysctl: use xmalloc_array() for XEN_SYSCTL_page_offline_opxen/common/sysctl.c+7 -33 replies
6/6domctl/vNUMA: avoid arithmetic overflowxen/common/domctl.c+3 -21 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchGeorge DunlapJulien GrallWei Liu
1/6R-b
2/6R-b
3/6R-b
4/6A-b
4/6A-b
6/6R-b

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 v1 thread

Cover letter [Xen-devel] [PATCH 0/6] misc hardening and some cleanup

Ilja has reported a couple of issues which were on the boundary of needing an XSA, due to some vagueness of the statements resulting from XSA-77. The first 3 patches here address these reports, after having settled within the Security Team that we can't find anyone / anything actually being potentially affected in reality.

In the course of auditing for possible actual issues resulting from the missing overflow check addressed by patch 3, a few more cleanup opportunities were noticed, which the remaining 3 patches take care of.

1: EFI: re-check {get,set}-variable name strings after copying in 2: EFI: don't leak heap contents through XEN_EFI_get_next_variable_name 3: xmalloc: guard against integer overflow
4: Arm/GICv2: don't needlessly use xzalloc_bytes()
5: sysctl: use xmalloc_array() for XEN_SYSCTL_page_offline_op 6: domctl/vNUMA: avoid arithmetic overflow

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel