Repository navigation
Conversation
The default profile allowed socket(2) through open-ended range checks around AF_ALG and AF_VSOCK. Any address family added to Linux later was allowed automatically. List the Linux address families the default profile supports and build the socket rules from that list. AF_ALG and AF_VSOCK stay blocked, and unknown or future domains now get the default EPERM response. A single rule cannot bound both ends of a range, because runc treats repeated comparisons on one argument as OR. The consecutive run starting at AF_UNIX therefore becomes one less-than rule, which is safe because AF_UNSPEC cannot be created. Every other domain gets its own equality rule. This matches the same change in Moby's default seccomp profile. Signed-off-by: Paweł Gronowski <[email protected]>
samuelkarp
approved these changes
Sep 28, 2026
mxpv
approved these changes
Sep 29, 2026
1 task
This was referenced Nov 15, 2026
jackmisbach
added a commit
to METR/hawk
that referenced
this pull request
Nov 16, 2026
#3042) Bottlerocket 1.68.1 ships containerd 2.2.9, whose default seccomp profile filters socket(2) with range checks on the 64-bit domain argument. The kernel reads the low 32 bits, so a high-bit domain opens an AF_VSOCK or AF_ALG socket the profile should refuse (containerd/containerd#14348). Bottlerocket 1.69.0 ships containerd 2.3.7, whose profile allows only the socket domains it lists (containerd/containerd#14248). - default Karpenter pools and the Falcon SSM path: 1.68.1 -> 1.69.0 - Karpenter controller node group: 1.68.1-b4870834 -> 1.69.0-be6a1e85 Kernels are unchanged (6.12.113 on the k8s 1.35 variant, 6.18.56 on 1.36), so the Falcon kernel pin is unaffected. Co-authored-by: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automated cherry-pick of #14245
/assign samuelkarp