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
This commit is contained in:
Andrii Moiseiev 2021-09-05 05:31:10 -04:00 committed by Fabian Mastenbroek
parent 9614ffe091
commit 35badf1804
No known key found for this signature in database
GPG key ID: 405FC6F81F0A7B85
2 changed files with 7 additions and 0 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
pve-kernel (5.16.0-1) edge; urgency=medium
* Disable UBNSAN (see issue #164 and #200).
-- Fabian Mastenbroek <mail.fabianm@gmail.com> Wed, 10 Nov 2021 10:15:00 +0000
pve-kernel (5.15.0-1) edge; urgency=medium pve-kernel (5.15.0-1) edge; urgency=medium
* Update to Linux 5.15. * Update to Linux 5.15.

View file

@ -59,3 +59,4 @@ CONFIG_SECURITY_LOCKDOWN_LSM=n
CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=n CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=n
CONFIG_LSM="yama,integrity,apparmor" CONFIG_LSM="yama,integrity,apparmor"
CONFIG_PAGE_TABLE_ISOLATION=y CONFIG_PAGE_TABLE_ISOLATION=y
CONFIG_UBSAN=n