diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-01-09 09:45:03 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-01-09 21:24:29 +0100 |
| commit | b5f6354179bfe25e6b57e87dd142f2e17c3873a9 (patch) | |
| tree | 232daea706f6ccb9b9795eb267e09522e4e20999 /executor/syscalls_linux.h | |
| parent | 0b470f225419f1d9ee63809b05612749a36cb365 (diff) | |
prog: add test for cross-arch deserialization
Few managers recently crashed with:
panic: syscall mknod$loop: per proc arg 'proc' has bad value '4294967295'
panic: sync: unlock of unlocked mutex
goroutine 35438 [running]:
sync.(*Mutex).Unlock(0xc42166e0c8)
sync/mutex.go:184 +0xc1
panic(0xb98980, 0xc448971aa0)
runtime/panic.go:491 +0x283
main.(*Manager).Connect(0xc42166e000, 0xc42056d060, 0xc42038f000, 0x0, 0x0)
syz-manager/manager.go:868 +0x11cc
And a similar issue was reported on mailing list.
It's unclear where these bogus programs come from.
It seems that hub was somehow involved here.
4294967295 is (uint32)-1 which is trucated special
value for proc types.
The test did not uncover any bugs, bug since I wrote it
and it looks like a useful test, let's commit it anyway.
Diffstat (limited to 'executor/syscalls_linux.h')
0 files changed, 0 insertions, 0 deletions
