Skip to content

chore(deps): bump github.com/cilium/ebpf from v0.16.0 to v0.22.0 in /agent - #5034

Merged
singholt merged 1 commit into
aws:devfrom
amaanx86:chore/bump-cilium-ebpf-v0.22.0
Jul 8, 2026
Merged

singholt merged 1 commit into
aws:devfrom
amaanx86:chore/bump-cilium-ebpf-v0.22.0

Conversation

@amaanx86

@amaanx86 amaanx86 commented Jul 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bumps the indirect dependency github.com/cilium/ebpf in /agent from v0.16.0 to v0.22.0. Refs #5023.

Implementation details

cilium/ebpf is not imported directly; it comes in transitively via containerd/cgroups/v3/cgroup2. Bumped with go get github.com/cilium/ebpf@v0.22.0 in /agent, then go mod tidy and go mod vendor. v0.22.0 requires go 1.25.0, matching the module's existing go directive.

The agent does not reach the CVE-2026-10722 LoadCollectionSpec/BTF path (cgroups builds its eBPF device program programmatically and the agent only uses the cpu/memory controllers), so this is a version bump to clear scanners rather than a fix for a reachable vulnerability.

Testing

GOOS=linux GOARCH=amd64 go build -mod=vendor ./... passes and the vendor tree is consistent with go.mod.

New tests cover the changes: no

Description for the changelog

Housekeeping: Update github.com/cilium/ebpf to v0.22.0

Additional Information

Does this PR include breaking model changes? No.

Does this PR include the addition of new environment variables in the README? No.

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…agent

ebpf is an indirect dependency pulled in via containerd/cgroups/v3/cgroup2.
Updates the module requirements and regenerates vendor/ accordingly.

Signed-off-by: Amaan Ul Haq Siddiqui <amaanulhaq.s@outlook.com>
@amaanx86
amaanx86 requested a review from a team as a code owner July 4, 2026 21:11
@singholt
singholt changed the base branch from master to dev July 8, 2026 17:57
@singholt

singholt commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Thanks for the contribution.

@amaanx86

amaanx86 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

Anytime.. thanks for the review!

@singholt
singholt merged commit 39dfbc2 into aws:dev Jul 8, 2026
45 of 46 checks passed
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.

4 participants