syzbot


panic: munmap(0, ADDR)) failed: function not implemented (3)

Status: fixed on 2020/02/27 08:57
Reported-by: syzbot+be4fec2c0cc6dd86257a@syzkaller.appspotmail.com
Fix commit: 17c18241cdeb platform/syscall: use syscall + int3 to execute a system call in a stub process
First crash: 1789d, last: 1789d

Sample crash report:
panic: munmap(0, 7fffffff0000)) failed: function not implemented
DIAGNOSIS:
I0103 06:57:31.149468   27486 x:0] ***************************
I0103 06:57:31.149482   27486 x:0] Args: [/syzkaller/managers/ptrace-direct-overlay-host/current/image -root /syzkaller/managers/ptrace-direct-overlay-host/workdir/gvisor_root -watchdog-action=panic -network=none -debug -alsologtostderr -platform=ptrace -file-access=shared -network=host debug -stacks --ps ci-gvisor-ptrace-direct-overlay-host-2]
I0103 06:57:31.149512   27486 x:0] Version release-20191213.0-56-g1f384ac42b9e
I0103 06:57:31.149518   27486 x:0] PID: 27486
I0103 06:57:31.149526   27486 x:0] UID: 0, GID: 0
I0103 06:57:31.149537   27486 x:0] Configuration:
I0103 06:57:31.149543   27486 x:0] 		RootDir: /syzkaller/managers/ptrace-direct-overlay-host/workdir/gvisor_root
I0103 06:57:31.149548   27486 x:0] 		Platform: ptrace
I0103 06:57:31.149553   27486 x:0] 		FileAccess: shared, overlay: false
I0103 06:57:31.149564   27486 x:0] 		Network: host, logging: false
I0103 06:57:31.149573   27486 x:0] 		Strace: false, max size: 1024, syscalls: []
I0103 06:57:31.149585   27486 x:0] ***************************
D0103 06:57:31.149633   27486 x:0] Load container "/syzkaller/managers/ptrace-direct-overlay-host/workdir/gvisor_root" "ci-gvisor-ptrace-direct-overlay-host-2"
D0103 06:57:31.152629   27486 x:0] Signal container "ci-gvisor-ptrace-direct-overlay-host-2": signal 0
D0103 06:57:31.152675   27486 x:0] Signal sandbox "ci-gvisor-ptrace-direct-overlay-host-2"
D0103 06:57:31.152684   27486 x:0] Connecting to sandbox "ci-gvisor-ptrace-direct-overlay-host-2"
D0103 06:57:31.152960   27486 x:0] urpc: successfully marshalled 118 bytes.
I0103 06:57:31.696808   27486 x:0] Found sandbox "ci-gvisor-ptrace-direct-overlay-host-2", PID: 44454
I0103 06:57:31.696851   27486 x:0] Retrieving sandbox stacks
D0103 06:57:31.696856   27486 x:0] Stacks sandbox "ci-gvisor-ptrace-direct-overlay-host-2"
D0103 06:57:31.696862   27486 x:0] Connecting to sandbox "ci-gvisor-ptrace-direct-overlay-host-2"
D0103 06:57:31.696942   27486 x:0] urpc: successfully marshalled 36 bytes.
W0103 06:57:31.736743   27486 x:0] FATAL ERROR: retrieving stacks: getting sandbox "ci-gvisor-ptrace-direct-overlay-host-2" stacks: urpc method "debug.Stacks" failed: connection reset by peer
retrieving stacks: getting sandbox "ci-gvisor-ptrace-direct-overlay-host-2" stacks: urpc method "debug.Stacks" failed: connection reset by peer
W0103 06:57:31.736830   27486 x:0] Failure to execute command, err: 1

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/03 06:58 https://gvisor.googlesource.com/gvisor master 1f384ac42b9e 7f117e28 .config console log report ci-gvisor-ptrace-direct-overlay-host
* Struck through repros no longer work on HEAD.