diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 027f142e3b1..9366970e6c1 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -142,6 +142,14 @@ jobs: if: matrix.m32 == '' run: sudo apt install -y libunbound-dev libunwind-dev + - name: Reduce ASLR entropy + if: matrix.asan != '' || matrix.ubsan != '' + # Asan in llvm 14 provided in ubuntu-22.04 is incompatible with + # high-entropy ASLR configured in much newer kernels that GitHub + # runners are using leading to random crashes: + # https://github.com/actions/runner-images/issues/9491 + run: sudo sysctl -w vm.mmap_rnd_bits=28 + - name: prepare run: ./.ci/linux-prepare.sh