diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0cb9817754..5c9d35ac0a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -225,6 +225,14 @@ jobs: sudo chmod +x /usr/bin/crun echo "New crun version: "$(crun --version) + - name: Reduce ASLR entropy + if: matrix.sanitizers != '' + # 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: load image run: | sudo podman load -i /tmp/image.tar