syzbot


panic: running on goroutine ADDR (task goroutine for kernel.Task ADDR is ADDR)

Status: auto-closed as invalid on 2022/05/05 18:56
Reported-by: syzbot+bffd7bfbde3aa79fc077@syzkaller.appspotmail.com
First crash: 1025d, last: 1025d

Sample crash report:
panic: running on goroutine 3676620 (task goroutine for kernel.Task 0xc00423a000 is 3676536)

goroutine 3676620 [running]:
panic(0x1105ca0, 0xc0070e2590)
	GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc006592cd0 sp=0xc006592c08 pc=0x437c65
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).assertTaskGoroutine(0xc00423a000)
	pkg/sentry/kernel/task_run.go:351 +0x129 fp=0xc006592d50 sp=0xc006592cd0 pc=0x9e9e89
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).prepareSleep(0xc00423a000)
	pkg/sentry/kernel/task_block.go:191 +0x2b fp=0xc006592d70 sp=0xc006592d50 pc=0x9d82cb
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).block(0xc00423a000, 0xc016388960, 0x0, 0x0, 0x0)
	pkg/sentry/kernel/task_block.go:153 +0x85 fp=0xc006592e18 sp=0xc006592d70 pc=0x9d7fa5
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Block(...)
	pkg/sentry/kernel/task_block.go:123
gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*connection).Call(0xc01d909860, 0xc00423a000, 0xc0038dfe00, 0x1, 0xc000000003, 0x14c1120)
	pkg/sentry/fsimpl/fuse/connection.go:254 +0x28e fp=0xc006592e88 sp=0xc006592e18 pc=0xf2d9ce
gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*inode).getAttr(0xc0026d8000, 0x14c5490, 0xc000194850, 0xc011d56e40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/fsimpl/fuse/fusefs.go:802 +0x20d fp=0xc006593140 sp=0xc006592e88 pc=0xf3638d
gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*inode).Stat(0xc0026d8000, 0x14c5490, 0xc000194850, 0xc011d56e40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/fsimpl/fuse/fusefs.go:847 +0xb3 fp=0xc006593380 sp=0xc006593140 pc=0xf36af3
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*Filesystem).StatAt(0xc011d56e40, 0x14c5490, 0xc000194850, 0xc002980000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/fsimpl/kernfs/filesystem.go:828 +0x216 fp=0xc0065935b0 sp=0xc006593380 pc=0x8607b6
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).StatAt(0xc00016c180, 0x14c5490, 0xc000194850, 0xc0006158c0, 0xc006593a68, 0xc0065938b0, 0x0, 0x0, 0x0, 0x0, ...)
	pkg/sentry/vfs/vfs.go:599 +0xe7 fp=0xc0065937c0 sp=0xc0065935b0 pc=0x76f067
gvisor.dev/gvisor/pkg/sentry/vfs.(*VirtualFilesystem).GenerateProcMountInfo(0xc00016c180, 0x14c5490, 0xc000194850, 0xc000483320, 0xc00040e900, 0xc0051f7ae8)
	pkg/sentry/vfs/mount.go:979 +0x613 fp=0xc006593af0 sp=0xc0065937c0 pc=0x766993
gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*mountInfoData).Generate(0xc0039b9880, 0x14c5490, 0xc000194850, 0xc0051f7ae8, 0x0, 0x0)
	pkg/sentry/fsimpl/proc/task_files.go:1051 +0x155 fp=0xc006593b80 sp=0xc006593af0 pc=0xd1a6b5
gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).preadLocked(0xc0051f7ad0, 0x14c5490, 0xc000194850, 0x14bf460, 0xc0036bb000, 0x0, 0x1, 0x0, 0x0, 0x0, ...)
	pkg/sentry/vfs/file_description_impl_util.go:294 +0x93 fp=0xc006593c40 sp=0xc006593b80 pc=0x75c153
gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).PRead(0xc0051f7ad0, 0x14c5490, 0xc000194850, 0x14bf460, 0xc0036bb000, 0x0, 0x1, 0x0, 0x0, 0x0, ...)
	pkg/sentry/vfs/file_description_impl_util.go:313 +0xc7 fp=0xc006593ce8 sp=0xc006593c40 pc=0x75c487
gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFD).PRead(0xc0051f7ad0, 0x14c5490, 0xc000194850, 0x14bf460, 0xc0036bb000, 0x0, 0x1, 0x0, 0x0, 0x0, ...)
	pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:120 +0x9a fp=0xc006593d70 sp=0xc006593ce8 pc=0x858cda
gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).PRead(0xc0051f7b28, 0x14c5490, 0xc000194850, 0x14bf460, 0xc0036bb000, 0x0, 0x1, 0x0, 0x0, 0x0, ...)
	pkg/sentry/vfs/file_description.go:611 +0xf2 fp=0xc006593e28 sp=0xc006593d70 pc=0x758e92
gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.getAIOCallback.func1(0x14c5490, 0xc000194850)
	pkg/sentry/syscalls/linux/vfs2/aio.go:172 +0x2c5 fp=0xc006593fa0 sp=0xc006593e28 pc=0xea2385
gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO.func1(0xc0017a0a80, 0x14c5490, 0xc000194850, 0xc00016e22c)
	pkg/sentry/kernel/aio.go:30 +0x3a fp=0xc006593fc0 sp=0xc006593fa0 pc=0xa0fefa
runtime.goexit()
	src/runtime/asm_amd64.s:1371 +0x1 fp=0xc006593fc8 sp=0xc006593fc0 pc=0x472861
created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO
	pkg/sentry/kernel/aio.go:29 +0xbf

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/04 18:56 gvisor dce4528a1a95 a3e470b2 .config console log report info ci-gvisor-ptrace-3 panic: running on goroutine ADDR (task goroutine for kernel.Task ADDR is ADDR)
* Struck through repros no longer work on HEAD.