syzbot


panic: interface conversion: refs.RefCounter is *fs.File, not *fs.Dirent

Status: fixed on 2020/02/07 00:17
Reported-by: syzbot+32f9a8fffd82d149b634@syzkaller.appspotmail.com
Fix commit: 3db317390b5c Remove epoll entry from map when dropping it.
First crash: 1785d, last: 1768d

Sample crash report:
panic: interface conversion: refs.RefCounter is *fs.File, not *fs.Dirent

DIAGNOSIS:
I0124 01:33:00.995354   29010 x:0] ***************************
I0124 01:33:00.995367   29010 x:0] Args: [/syzkaller/managers/main/current/image -root /syzkaller/managers/main/workdir/gvisor_root -watchdog-action=panic -network=none -debug -alsologtostderr -platform=ptrace -file-access=shared -network=none debug -stacks --ps ci-gvisor-main-0]
I0124 01:33:00.995390   29010 x:0] Version release-20200115.0-70-gcb3906ae0057
I0124 01:33:00.995395   29010 x:0] PID: 29010
I0124 01:33:00.995402   29010 x:0] UID: 0, GID: 0
I0124 01:33:00.995408   29010 x:0] Configuration:
I0124 01:33:00.995412   29010 x:0] 		RootDir: /syzkaller/managers/main/workdir/gvisor_root
I0124 01:33:00.995415   29010 x:0] 		Platform: ptrace
I0124 01:33:00.995419   29010 x:0] 		FileAccess: shared, overlay: false
I0124 01:33:00.995427   29010 x:0] 		Network: none, logging: false
I0124 01:33:00.995433   29010 x:0] 		Strace: false, max size: 1024, syscalls: []
I0124 01:33:00.995437   29010 x:0] ***************************
D0124 01:33:00.996362   29010 x:0] Load container "/syzkaller/managers/main/workdir/gvisor_root" "ci-gvisor-main-0"
D0124 01:33:00.997722   29010 x:0] Signal container "ci-gvisor-main-0": signal 0
D0124 01:33:00.997740   29010 x:0] Signal sandbox "ci-gvisor-main-0"
D0124 01:33:00.997749   29010 x:0] Connecting to sandbox "ci-gvisor-main-0"
D0124 01:33:00.999516   29010 x:0] urpc: successfully marshalled 96 bytes.
I0124 01:33:01.398466   29010 x:0] Found sandbox "ci-gvisor-main-0", PID: 58007
I0124 01:33:01.398483   29010 x:0] Retrieving sandbox stacks
D0124 01:33:01.399120   29010 x:0] Stacks sandbox "ci-gvisor-main-0"
D0124 01:33:01.399148   29010 x:0] Connecting to sandbox "ci-gvisor-main-0"
D0124 01:33:01.399209   29010 x:0] urpc: successfully marshalled 36 bytes.
W0124 01:33:01.547416   29010 x:0] FATAL ERROR: retrieving stacks: getting sandbox "ci-gvisor-main-0" stacks: urpc method "debug.Stacks" failed: connection reset by peer
retrieving stacks: getting sandbox "ci-gvisor-main-0" stacks: urpc method "debug.Stacks" failed: connection reset by peer
W0124 01:33:01.547532   29010 x:0] Failure to execute command, err: 1

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/24 01:33 https://gvisor.googlesource.com/gvisor master cb3906ae0057 11ebf937 .config console log report ci-gvisor-main
2020/01/16 07:52 https://gvisor.googlesource.com/gvisor master a7a1f00425c6 f9b69507 .config console log report ci-gvisor-ptrace-direct-overlay-host
2020/01/07 06:13 https://gvisor.googlesource.com/gvisor master 6410387ff9b4 438e1227 .config console log report ci-gvisor-ptrace-direct-overlay-host
* Struck through repros no longer work on HEAD.