Skip to content

[release/2.1] Fix nil pointer dereference in NRI GetIPs#13695

Merged
mxpv merged 1 commit into
containerd:release/2.1from
k8s-infra-cherrypick-robot:cherry-pick-13683-to-release/2.1
Jun 30, 2026
Merged

[release/2.1] Fix nil pointer dereference in NRI GetIPs#13695
mxpv merged 1 commit into
containerd:release/2.1from
k8s-infra-cherrypick-robot:cherry-pick-13683-to-release/2.1

Conversation

@k8s-infra-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #13683

/assign chrishenzie

Adds a nil guard to GetIPs on criPodSandbox before accessing promoted
struct fields on the embedded Sandbox pointer.

During pod sandbox teardown or race conditions during container exit
events, nriPodSandbox can return a criPodSandbox instance where the
embedded Sandbox pointer is nil.

Assisted-by: Antigravity
Signed-off-by: Chris Henzie <[email protected]>
@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Jun 30, 2026
@mxpv
mxpv merged commit 6b26747 into containerd:release/2.1 Jun 30, 2026
51 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants