panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack

Status: moderation: reported syz repro on 2026/11/23 09:32
Reported-by: syzbot+fa32e3bab79c7e2b0b61@syzkaller.appspotmail.com
First crash: 18d, last: now

Sample crash report:
panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack

goroutine 410 gp=0x1a2f356a2b40 m=16 mp=0x1a2f34cba008 [running]:
panic({0x2cb2a90?, 0x1a2f35d98a80?})
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/go/src/runtime/panic.go:878 +0x159 fp=0x1a2f35b27608 sp=0x1a2f35b27560 pc=0x4906b9
runtime.panicdottypeE(...)
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/go/src/runtime/iface.go:293
runtime.panicdottypeI(0x2fa3510?, 0x2c75128, 0x2f02e08)
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/go/src/runtime/iface.go:303 +0x71 fp=0x1a2f35b27630 sp=0x1a2f35b27608 pc=0x4215d1
gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).setSockOptIP(0x1a2f34e06000?, 0x1a2f35be6d88, {0x7f127603efc8, 0x1a2f34e04008}, 0x40, {0x1a2f34e08000, 0x2f8, 0x2f8})
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/gopath/src/gvisor.dev/gvisor/pkg/sentry/socket/netstack/netstack.go:2902 +0x1e0f fp=0x1a2f35b277b8 sp=0x1a2f35b27630 pc=0x12daf2f
gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).SetSockOpt(0x1a2f34e06000, 0x1a2f35be6d88, 0x1a2f35be6d88?, 0x40, {0x1a2f34e08000, 0x2f8, 0x2f8})
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/gopath/src/gvisor.dev/gvisor/pkg/sentry/socket/netstack/netstack.go:743 +0x94a fp=0x1a2f35b278a0 sp=0x1a2f35b277b8 pc=0x12c962a
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt(0x1a2f35be6d88, 0x1a2f356a2b40?, {{0x3}, {0x0}, {0x40}, {0x200000000100}, {0x2f8}, {0x0}})
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/gopath/src/gvisor.dev/gvisor/pkg/sentry/syscalls/linux/sys_socket.go:562 +0x577 fp=0x1a2f35b27988 sp=0x1a2f35b278a0 pc=0x13b3ef7
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0x1a2f35be6d88, 0x36, {{0x3}, {0x0}, {0x40}, {0x200000000100}, {0x2f8}, {0x0}})
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/gopath/src/gvisor.dev/gvisor/pkg/sentry/kernel/task_syscall.go:143 +0xcf0 fp=0x1a2f35b27cc8 sp=0x1a2f35b27988 pc=0xfe3bd0
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0x1a2f35be6d88, 0x36, {{0x3}, {0x0}, {0x40}, {0x200000000100}, {0x2f8}, {0x0}})
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/gopath/src/gvisor.dev/gvisor/pkg/sentry/kernel/task_syscall.go:327 +0x86 fp=0x1a2f35b27d20 sp=0x1a2f35b27cc8 pc=0xfe5f86
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0x1a2f35be6d88, 0x36, {{0x3}, {0x0}, {0x40}, {0x200000000100}, {0x2f8}, {0x0}})
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/gopath/src/gvisor.dev/gvisor/pkg/sentry/kernel/task_syscall.go:287 +0xc8 fp=0x1a2f35b27d70 sp=0x1a2f35b27d20 pc=0xfe55a8
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0x1a2f35b1a750?)
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/gopath/src/gvisor.dev/gvisor/pkg/sentry/kernel/task_syscall.go:262 +0x66a fp=0x1a2f35b27e48 sp=0x1a2f35b27d70 pc=0xfe4eca
gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x1a2f361bde60?, 0x1a2f35be6d88)
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/gopath/src/gvisor.dev/gvisor/pkg/sentry/kernel/task_run.go:290 +0x215e fp=0x1a2f35b27f30 sp=0x1a2f35b27e48 pc=0xfceebe
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0x1a2f35be6d88, 0x76)
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/gopath/src/gvisor.dev/gvisor/pkg/sentry/kernel/task_run.go:90 +0x429 fp=0x1a2f35b27fc0 sp=0x1a2f35b27f30 pc=0xfcc809
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1()
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/gopath/src/gvisor.dev/gvisor/pkg/sentry/kernel/task_start.go:590 +0x1b fp=0x1a2f35b27fe0 sp=0x1a2f35b27fc0 pc=0x1006f3b
runtime.goexit({})
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/go/src/runtime/asm_amd64.s:1264 +0x1 fp=0x1a2f35b27fe8 sp=0x1a2f35b27fe0 pc=0x498b41
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 2021
	/syzkaller/.cache/bazel/_bazel_root/2f58b38ac247e3234b86a56ede3d9539/sandbox/linux-sandbox/1/execroot/_main/gopath/src/gvisor.dev/gvisor/pkg/sentry/kernel/task_start.go:590 +0x13a

Crashes (559):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/21 23:26 gvisor 9767bcf875b5 b2c69459 .config console log report syz / log ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/19 20:36 gvisor b29c8320a862 a23559fc .config console log report syz / log ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/19 20:28 gvisor a05ab5909d25 a23559fc .config console log report syz / log ci-gvisor-ptrace-3-race panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/18 20:18 gvisor b29c8320a862 e3de0d4e .config console log report syz / log ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/17 19:35 gvisor bf5df9a1c921 43af6cac .config console log report syz / log ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/16 18:54 gvisor 89cacadae21e ff55814e console log report syz / log ci-gvisor-ptrace-3 panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/16 17:13 gvisor 89cacadae21e ff55814e console log report syz / log ci-gvisor-ptrace-3 panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/16 15:24 gvisor 89cacadae21e ff55814e .config console log report syz / log ci-gvisor-ptrace-3-race panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/16 12:02 gvisor 89cacadae21e ff55814e console log report syz / log ci-gvisor-ptrace-3 panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/16 11:14 gvisor 89cacadae21e ff55814e console log report syz / log ci-gvisor-ptrace-3 panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/16 10:04 gvisor 89cacadae21e ff55814e .config console log report syz / log ci-gvisor-ptrace-3-race panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/16 09:09 gvisor 89cacadae21e ff55814e console log report syz / log ci-gvisor-ptrace-3 panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/16 08:58 gvisor 89cacadae21e ff55814e .config console log report syz / log ci-gvisor-ptrace-3-race panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/16 08:45 gvisor 89cacadae21e ff55814e console log report syz / log ci-gvisor-ptrace-3 panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/16 08:29 gvisor 89cacadae21e ff55814e console log report syz / log ci-gvisor-ptrace-3 panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/04 10:22 gvisor 566dfe8fca47 e68b3235 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/04 09:15 gvisor 566dfe8fca47 e68b3235 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/04 08:47 gvisor 566dfe8fca47 e68b3235 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/04 07:40 gvisor 566dfe8fca47 e68b3235 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/04 06:37 gvisor 566dfe8fca47 e68b3235 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/04 05:39 gvisor 566dfe8fca47 e68b3235 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/04 04:35 gvisor 5c24fa239116 e68b3235 console log report info ci-gvisor-ptrace-3 panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/04 03:05 gvisor 01ba9b382b5f 877371f2 console log report info ci-gvisor-ptrace-3 panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/04 01:59 gvisor 01ba9b382b5f 877371f2 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/04 00:59 gvisor 01ba9b382b5f 877371f2 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/04 00:43 gvisor 01ba9b382b5f 877371f2 console log report info ci-gvisor-ptrace-3 panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/03 23:40 gvisor 01ba9b382b5f 877371f2 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/03 22:34 gvisor 01ba9b382b5f 877371f2 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/03 21:28 gvisor 01ba9b382b5f 877371f2 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/03 20:16 gvisor 01ba9b382b5f 877371f2 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/03 19:02 gvisor 01ba9b382b5f 877371f2 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/03 17:57 gvisor 01ba9b382b5f 877371f2 console log report info ci-gvisor-ptrace-3 panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/03 16:51 gvisor 01ba9b382b5f 877371f2 .config console log report info ci-gvisor-ptrace-3-race panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/12/03 15:35 gvisor 01ba9b382b5f 877371f2 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/22 05:46 gvisor 9767bcf875b5 b2c69459 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/21 23:17 gvisor 9767bcf875b5 b2c69459 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 18:54 gvisor 9767bcf875b5 60a1d40d .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 17:56 gvisor 9767bcf875b5 60a1d40d .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 15:41 gvisor 9767bcf875b5 625aa117 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 14:36 gvisor 9767bcf875b5 625aa117 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 13:28 gvisor 9767bcf875b5 625aa117 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 13:06 gvisor 4d5037cee50b 625aa117 console log report info ci-gvisor-ptrace-3 panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 11:55 gvisor 9767bcf875b5 625aa117 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 10:34 gvisor 9767bcf875b5 625aa117 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 10:06 gvisor 9767bcf875b5 625aa117 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 08:48 gvisor 9767bcf875b5 625aa117 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 07:46 gvisor 9767bcf875b5 625aa117 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 07:31 gvisor 9767bcf875b5 625aa117 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 05:51 gvisor 9767bcf875b5 625aa117 .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 04:14 gvisor a05ab5909d25 a23559fc .config console log report info ci-gvisor-ptrace-3-race panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 03:01 gvisor 9767bcf875b5 a23559fc .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 02:01 gvisor 9767bcf875b5 a23559fc .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/20 00:54 gvisor 9767bcf875b5 a23559fc .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/19 23:48 gvisor b29c8320a862 a23559fc .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/19 22:47 gvisor b29c8320a862 a23559fc .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/19 22:39 gvisor b29c8320a862 a23559fc .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/19 21:37 gvisor b29c8320a862 a23559fc .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/19 20:26 gvisor b29c8320a862 a23559fc .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/19 19:48 gvisor b29c8320a862 a23559fc .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
2026/11/19 18:33 gvisor b29c8320a862 a23559fc .config console log report info ci-gvisor-ptrace-3-cover panic: interface conversion: inet.Stack is *hostinet.Stack, not *netstack.Stack
* Struck through repros no longer work on HEAD.