From 508db6d247c2c4baef906191dc20e8939ff1f6ca Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Mon, 5 Oct 2026 16:56:52 +0100 Subject: [PATCH] gh-158868: Reduce ASLR in the MSan CI job --- .github/workflows/reusable-san.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/reusable-san.yml b/.github/workflows/reusable-san.yml index da6306a50cf7bc..f63c2b89134aca 100644 --- a/.github/workflows/reusable-san.yml +++ b/.github/workflows/reusable-san.yml @@ -72,6 +72,8 @@ jobs: - name: MSan option setup if: inputs.sanitizer == 'MSan' run: | + sudo sysctl -w vm.mmap_rnd_bits=28 # Reduce ASLR to avoid MSan re-executing + echo "MSAN_OPTIONS=${SAN_LOG_OPTION} allocator_may_return_null=1 handle_segv=0" >> "$GITHUB_ENV" # MSan reports false positives for memory initialized by libraries # that are not built with MSan, so disable modules that use them.