syzbot


panic: sandbox escaping file name "../file0/file0"

Status: closed as invalid on 2018/11/25 21:51
Reported-by: syzbot+7afcba4b101ae3f15a9b@syzkaller.appspotmail.com
First crash: 1977d, last: 1977d

Sample crash report:
panic: sandbox escaping file name "../file0/file0"

goroutine 16 [running]:
github.com/google/syzkaller/prog.(*randGen).filename(0xc00073ae00, 0xc000a53f00, 0xbf5000, 0xc00086fd00, 0xc00086f958)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:161 +0x2ac
github.com/google/syzkaller/prog.(*BufferType).generate(0xbf5000, 0xc00073ae00, 0xc000a53f00, 0xc000079500, 0x3236f56055589354, 0xc00086f9e8, 0x4f0c53, 0xc00082f9e0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:646 +0x4fc
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc00073ae00, 0xc000a53f00, 0x8fd600, 0xbf5000, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:581 +0x1b6
github.com/google/syzkaller/prog.(*randGen).generateArg(0xc00073ae00, 0xc000a53f00, 0x8fd600, 0xbf5000, 0xaaaaaaaaaaaaaaaa, 0x38, 0x7437b2, 0x87a299, 0x3)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:530 +0x52
github.com/google/syzkaller/prog.(*PtrType).generate(0xbd1d80, 0xc00073ae00, 0xc000a53f00, 0x40b7ff, 0xc00073aec0, 0x20, 0x20, 0x8115a0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:729 +0x84
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc00073ae00, 0xc000a53f00, 0x8fda60, 0xbd1d80, 0xc00086fb00, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:581 +0x1b6
github.com/google/syzkaller/prog.(*randGen).generateArg(0xc00073ae00, 0xc000a53f00, 0x8fda60, 0xbd1d80, 0x2, 0x2, 0x0, 0x203000, 0xc00086fce8)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:530 +0x52
github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc00073ae00, 0xc000a53f00, 0xbc6860, 0x2, 0x2, 0x3aec0a3000648372, 0xc00086fdb0, 0x72beae, 0x7f3580, 0xc00082ee10, ...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:518 +0x11d
github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc00073ae00, 0xc000a53f00, 0xbdd5a0, 0x71, 0xc000a53f00, 0xc0007b3f60)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:462 +0xd1
github.com/google/syzkaller/prog.(*randGen).generateCall(0xc00073ae00, 0xc000a53f00, 0xc000a53e00, 0xc000a53f00, 0xc00086fe48, 0x7311e7)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:454 +0xa4
github.com/google/syzkaller/prog.(*mutator).insertCall(0xc00086fed0, 0x14)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:118 +0xcb
github.com/google/syzkaller/prog.(*Prog).Mutate(0xc000a53e00, 0x8f8660, 0xc00082f9e0, 0x1e, 0xc0002ba300, 0xc0006a0000, 0xae8, 0xc00)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:32 +0x299
main.(*Proc).loop(0xc0002ba340)
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:99 +0x446created by main.main
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:236 +0xfe2
login: l

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/11/25 20:35 openbsd 03d6ed1c9def d1b0ea33 console log report ci-openbsd-main
2018/11/25 19:28 openbsd 03d6ed1c9def d1b0ea33 console log report ci-openbsd-main
* Struck through repros no longer work on HEAD.