Skip to content

[release/2.2] Fix nil pointer dereference in NRI GetIPs#13696

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

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

Conversation

@k8s-infra-cherrypick-robot

@k8s-infra-cherrypick-robot k8s-infra-cherrypick-robot commented Jun 30, 2026

Copy link
Copy Markdown

This is an automated cherry-pick of #13683

/assign chrishenzie

Fix nil pointer dereference in NRI GetIPs during pod sandbox teardown or container exit

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]>
@mxpv
mxpv merged commit 70e5cd0 into containerd:release/2.2 Jun 30, 2026
126 of 131 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Triage to Done in Pull Request Review Jun 30, 2026
@chrishenzie chrishenzie added impact/changelog area/cri Container Runtime Interface (CRI) labels Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cri Container Runtime Interface (CRI) impact/changelog size/M

Projects

Development

Successfully merging this pull request may close these issues.

3 participants