Skip to content

[Ubuntu] Decrease vm.mmap_rnd_bit to prevent ASLR ASAN issues#9513

Merged
Alexey-Ayupov merged 1 commit intomainfrom
ubuntu_sysctl_asan
Mar 15, 2024
Merged

[Ubuntu] Decrease vm.mmap_rnd_bit to prevent ASLR ASAN issues#9513
Alexey-Ayupov merged 1 commit intomainfrom
ubuntu_sysctl_asan

Conversation

@mikhailkoliada
Copy link
Contributor

Description

Getting the number decreased to bypass ASL problem when compiling with LLVM and ASAN turned on.

Related issue: #9491

Check list

  • Related issue / work item is attached
  • Tests are written (if applicable)
  • Documentation is updated (if applicable)
  • Changes are tested and related VM images are successfully generated

@mikhailkoliada
Copy link
Contributor Author

/azp run ubuntu2004,ubuntu2204

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@Alexey-Ayupov Alexey-Ayupov merged commit 9485052 into main Mar 15, 2024
@Alexey-Ayupov Alexey-Ayupov deleted the ubuntu_sysctl_asan branch March 15, 2024 10:06
supervacuus added a commit to getsentry/sentry-native that referenced this pull request Mar 15, 2024
supervacuus added a commit to getsentry/sentry-native that referenced this pull request Mar 15, 2024
* Update Python test dependencies
* Update clang on Linux to 15.0.7
* Adapt mmap_rnd_bit according to actions/runner-images#9513
dscho pushed a commit to git-for-windows/git that referenced this pull request Mar 17, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Cherry-picked-from: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to git-for-windows/git that referenced this pull request Mar 17, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to git-for-windows/git that referenced this pull request Mar 17, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to git-for-windows/git that referenced this pull request Mar 17, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to dscho/git that referenced this pull request Mar 17, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to dscho/git that referenced this pull request Mar 17, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to dscho/git that referenced this pull request Mar 17, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to dscho/git that referenced this pull request Mar 18, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to git-for-windows/git that referenced this pull request Mar 18, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to git-for-windows/git that referenced this pull request Mar 18, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 1, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 2, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 2, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 2, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 3, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 3, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 3, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 3, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 3, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 3, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 4, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to git-for-windows/git that referenced this pull request Apr 5, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to git-for-windows/git that referenced this pull request Apr 5, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 5, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 5, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 5, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 6, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to git-for-windows/git that referenced this pull request Apr 9, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho pushed a commit to git-for-windows/git that referenced this pull request Apr 9, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 9, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 9, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 10, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 10, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 10, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 10, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 10, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 11, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 12, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-for-windows-ci pushed a commit to git-for-windows/git that referenced this pull request Apr 12, 2024
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants