Skip to content

fix(agent): process-exec probe attaches to security_bprm_check (JEF-53)#27

Merged
thejefflarson merged 1 commit into
mainfrom
fix/jef-53-bprm-hook-symbol
Jun 21, 2026
Merged

fix(agent): process-exec probe attaches to security_bprm_check (JEF-53)#27
thejefflarson merged 1 commit into
mainfrom
fix/jef-53-bprm-hook-symbol

Conversation

@thejefflarson

Copy link
Copy Markdown
Owner

On-node (v0.3.41) the process-exec probe failed: Unknown BTF type bprm_check_security — not a BTF function on 6.8. The exported LSM call is security_bprm_check (in BTF, matching every other security_* probe). Swaps the fentry target + attach-table row; the bprm->filename read is unchanged. privilege-change (JEF-54) already attached cleanly on-node. eBPF check + Docker builder green. 🤖

On-node (v0.3.41 deploy) the bprm_check probe failed to attach: "Unknown BTF type
`bprm_check_security`" — that symbol isn't a BTF function on 6.8. The exported LSM call
IS `security_bprm_check` (in BTF, like every other `security_*` probe we attach). Swap
the fentry target + the attach-table row; bprm->filename read is unchanged.

privilege-change (security_task_fix_setuid) already attached cleanly on-node; this fixes
the one probe that didn't. eBPF nightly check + Docker builder link green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VtjoJttCvBY4dzCoE4f9vP
@thejefflarson thejefflarson merged commit eac6e5f into main Jun 21, 2026
4 checks passed
@thejefflarson thejefflarson deleted the fix/jef-53-bprm-hook-symbol branch June 21, 2026 20:07
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.

1 participant