DPDK CI discussions
 help / color / mirror / Atom feed
* Re: [PATCH] github: Reduce ASLR entropy to be compatible with asan in llvm 14.
       [not found] <20240312114750.68295-1-i.maximets@ovn.org>
@ 2024-03-12 13:28 ` Aaron Conole
  0 siblings, 0 replies; only message in thread
From: Aaron Conole @ 2024-03-12 13:28 UTC (permalink / raw)
  To: Ilya Maximets
  Cc: ovs-dev, Eelco Chaudron, Dumitru Ceara, David Marchand, ci, dev

Ilya Maximets <i.maximets@ovn.org> writes:

> Starting with image version 20240310.1.0, GitHub runners are using
> 32-bit entropy for ASLR:
>
>   $ sudo sysctl -a | grep vm.mmap.rnd
>   vm.mmap_rnd_bits = 32
>   vm.mmap_rnd_compat_bits = 16
>
> This breaks all the asan-enabled builds, because older asan gets
> confused by memory mappings and crashes with segmentation fault.
>
> The issue is fixed in newer releases of llvm:
>   https://github.com/llvm/llvm-project/commit/fb77ca05ffb4f8e666878f2f6718a9fb4d686839
>   https://reviews.llvm.org/D148280
>
> But these are not available in Ubuntu 22.04 image.
>
> This should be fixed by GitHub, but until new images are available
> reducing ASLR entropy manually to 28 bits to make builds work.
>
> Reported-at: https://github.com/actions/runner-images/issues/9491
> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
> ---

Acked-by: Aaron Conole <aconole@redhat.com>

We'll probably need something similar in other projects, too... What a
mess.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-12 13:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240312114750.68295-1-i.maximets@ovn.org>
2024-03-12 13:28 ` [PATCH] github: Reduce ASLR entropy to be compatible with asan in llvm 14 Aaron Conole

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).