syzbot


panic: Task goroutine switching from state 2 (expected 1) to 3

Status: moderation: reported syz repro on 2020/05/04 01:45
Reported-by: syzbot+dce91af6e9e756fdd407@syzkaller.appspotmail.com
First crash: 1674d, last: 1660d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor panic: Task goroutine switching from state 3 (expected 1) to 2 syz 1 1674d 1667d 0/26 moderation: reported syz repro on 2020/05/04 01:35

Sample crash report:
panic: Task goroutine switching from state 2 (expected 1) to 3

goroutine 385 [running]:
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).accountTaskGoroutineEnter(0xc00014d500, 0x3)
	pkg/sentry/kernel/task_sched.go:121 +0x26e
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).SleepStart(0xc00014d500, 0xc0008280c0)
	pkg/sentry/kernel/task_block.go:162 +0x40
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).block(0xc00014d500, 0xc0008280c0, 0x0, 0xf77ac0, 0xc00014d500)
	pkg/sentry/kernel/task_block.go:124 +0x65
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Block(...)
	pkg/sentry/kernel/task_block.go:110
gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*SocketOperations).Write(0xc0001e82d0, 0x110d780, 0xc000230048, 0xc000550a50, 0x1106680, 0xc00071b000, 0x0, 0x1, 0x0, 0x0, ...)
	pkg/sentry/socket/netstack/netstack.go:557 +0x296
gvisor.dev/gvisor/pkg/sentry/fs.(*File).Pwritev(0xc000550a50, 0x110d780, 0xc000230048, 0x1106680, 0xc00071b000, 0x0, 0x1, 0x0, 0x0, 0x0, ...)
	pkg/sentry/fs/file.go:374 +0x1c6
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.performCallback(0xc00014d500, 0xc000550a50, 0x20000180, 0xc00055e1c0, 0x1106680, 0xc00071b000, 0x0, 0x1, 0x0, 0x0, ...)
	pkg/sentry/syscalls/linux/sys_aio.go:283 +0x2cc
gvisor.dev/gvisor/pkg/sentry/syscalls/linux.submitCallback.func1()
	pkg/sentry/syscalls/linux/sys_aio.go:369 +0xc1
gvisor.dev/gvisor/pkg/sentry/fs.Async.func1(0xc00054a2a0)
	pkg/sentry/fs/fs.go:86 +0x51
created by gvisor.dev/gvisor/pkg/sentry/fs.Async
	pkg/sentry/fs/fs.go:84 +0x55

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/05/11 08:07 gvisor c52195d25825 f8f57555 .config console log report syz ci-gvisor-main
2020/04/27 01:20 gvisor 3c67754663f4 0ce7569e .config console log report syz ci-gvisor-kvm-proxy-overlay-sandbox
2020/04/27 00:42 gvisor 3c67754663f4 0ce7569e .config console log report syz ci-gvisor-kvm-proxy-overlay-sandbox
* Struck through repros no longer work on HEAD.