panic when running critest (on containerd) with runsc as the shim/runtime
Description
nil pointer dereference panic inside containerManager.StartSubcontainer in runsc itself when running on my local dev environment :
panic: runtime error: invalid memory address or nil pointer dereference gvisor.dev/gvisor/runsc/boot.(*containerManager).StartSubcontainer(...)
This is a bug in runsc release 20260817.0 — specifically in the privileged-sandbox + bind-mount-propagation container startup path. The sandbox panics in StartSubcontainer when passed GoferMountConfs with lisafs:none entries (which is what the mount propagation test produces with its bind-mounts).
This is not a problem with the containerd w/runsc integration configuration or scripts — it's a runsc upstream bug specific to this build. The CI tests pass because the CI runner may be using a different kernel, a different seccomp profile, or a slightly different environment that avoids triggering the nil dereference.
Error is a Go runtime panic in the runsc sentry (not a missing-feature "operation not supported" error) Triggered specifically by GoferMountConfs with lisafs:none entries in the privileged subcontainer path Reproducible identically on both systrap and kvm platforms → platform-independent → sentry logic bug, not a host capability issue
All other 85 critest specs pass cleanly when running the critests locally, and all tests pass on CI with various differences in setup.
I suspect: https://github.com/google/gvisor/blob/master/runsc/boot/loader.go#L1639 is where the panic happens but have not verified with a local build of gvisor.
Steps to reproduce
https://github.com/containerd/containerd/pull/14131 contains a local setup and run scripts...
runsc version
20260817.0docker version (if using docker)
uname
uname -a Linux ubnt 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
kubectl (if using Kubernetes)
repo state (if built from source)
No response
runsc debug logs (if available)
Source: google/gvisor