Skip to content

ci(release): the arm64 helper check requires PAC and explains the missing BTI note: Ubuntu 24.04's glibc startup objects (#2786) [backport 0.9] - #2936

Merged
mgradwohl merged 1 commit into
release/0.9from
backport-2914-to-release-0.9-manual
Oct 25, 2026
Merged

mgradwohl merged 1 commit into
release/0.9from
backport-2914-to-release-0.9-manual

Conversation

@mgradwohl

Copy link
Copy Markdown
Owner

Backport of #2914 to release/0.9 (#2741), cherry-picked by hand (git cherry-pick -x 3b70690a) because backport.yml's pick conflicted.

The conflict: one line of SECURITY.md. release/0.9 still says the helper "runs as root", since the UID drop isn't on this line. That wording stays, and the PAC/BTI text replaces the old "no BTI/PAC note until #2786" clause. release.yml picked cleanly.

Fixes #2786 on v0.9.1.

🤖 Generated with Claude Code

…sing BTI note: Ubuntu 24.04's glibc startup objects (#2786) (#2914)

The note was blamed on apt.llvm.org's static libc++; it isn't that (every libc++/libc++abi object
carries BTI, PAC). lld drops it because noble's glibc 2.39 Scrt1.o, crti.o and crtn.o aren't built
with branch protection and have no landing pads, so no executable linked on 24.04 can carry it, and
-z force-bti would fault at _start. On arm64 the step now fails when main() doesn't open with
paciasp (the helper lost -mbranch-protection=standard) and warns, with the real reason, when the
BTI/PAC note is missing. SECURITY.md says PAC on AArch64, BTI not enforced, and why.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 3b70690)
@mgradwohl mgradwohl added ci Refers to issues in the ci workflow security agent:WSL Owned by the Linux/WSL Claude session (bug-fix conveyor) labels Oct 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions Bot added documentation Improvements or additions to documentation release labels Oct 25, 2026
@mgradwohl
mgradwohl enabled auto-merge (squash) October 25, 2026 13:58
@mgradwohl
mgradwohl merged commit 23c5998 into release/0.9 Oct 25, 2026
40 of 46 checks passed
@mgradwohl
mgradwohl deleted the backport-2914-to-release-0.9-manual branch October 25, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:WSL Owned by the Linux/WSL Claude session (bug-fix conveyor) ci Refers to issues in the ci workflow documentation Improvements or additions to documentation release security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant