From 35badf18047c34c4f727962294a037dad1c26dda Mon Sep 17 00:00:00 2001 From: Andrii Moiseiev Date: Sun, 5 Sep 2021 05:31:10 -0400 Subject: [PATCH] Disable UBSAN (#163) The upstream Ubuntu kernel enables UBSAN on 5.14+ and 5.13.14+ builds, leading to boot issues on servers depending on the hardware or module configuration. With hundreds of different kernel modules and thousands different configuration, this change in its current stage is high risk and questionable in general. These issues are impossible to predict and hard to troubleshoot. Therefore, I believe it is worth disabling for now. Resolves #164 and #200 --- debian/changelog | 6 ++++++ debian/config/config.pve | 1 + 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index de4586b..4c60f7c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pve-kernel (5.16.0-1) edge; urgency=medium + + * Disable UBNSAN (see issue #164 and #200). + + -- Fabian Mastenbroek Wed, 10 Nov 2021 10:15:00 +0000 + pve-kernel (5.15.0-1) edge; urgency=medium * Update to Linux 5.15. diff --git a/debian/config/config.pve b/debian/config/config.pve index 45588f1..09076d5 100644 --- a/debian/config/config.pve +++ b/debian/config/config.pve @@ -59,3 +59,4 @@ CONFIG_SECURITY_LOCKDOWN_LSM=n CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=n CONFIG_LSM="yama,integrity,apparmor" CONFIG_PAGE_TABLE_ISOLATION=y +CONFIG_UBSAN=n