[llvm-branch-commits] [openmp] [OpenMP][AArch64] Fix branch protection in microtasks (#102317) (PR #103491)

Daniel Kiss via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Aug 19 00:16:26 PDT 2024


https://github.com/DanielKristofKiss approved this pull request.

Some Distros(e.g. Fedora) are build by default branch-protection=standard.
Without this patch every application and library that links libopenmp.a will not be protected with BTI ( CFI protection for JOP attacks)
Also libopenmp.so won't be protected as not all file is BTI compatible.
So in security view this is an issue.
Not a regression as this was the case in previous releases.
Not a bug, as code will work just won't be CFI protected.
There are systems out there with BTI as of today with such a distro.


@tuliom do you have usecase for this?
@tru Change is simple and straightforward. I support the backport but leave it up to you.

HTH

https://github.com/llvm/llvm-project/pull/103491


More information about the llvm-branch-commits mailing list