Extracting prog: 15.650287691s Minimizing prog: 24.559985962s Simplifying prog options: 0s Extracting C: 11.259845558s Simplifying C: 1m4.12330171s extracting reproducer from 637 programs testing a last program of every proc single: executing 587 programs separately with timeout 30s testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): madvise-syz_clone-waitid detailed listing: executing program 0: madvise(&(0x7f0000bdc000/0x4000)=nil, 0x86ac726dff2f4713, 0xa) r0 = syz_clone(0x11, 0x0, 0x0, 0x0, 0x0, 0x0) waitid(0x0, r0, 0x0, 0x4, &(0x7f0000000000)) program crashed: panic: runtime error: invalid memory address or nil pointer dereference single: successfully extracted reproducer found reproducer with 3 syscalls minimizing guilty program testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): madvise-syz_clone detailed listing: executing program 0: madvise(&(0x7f0000bdc000/0x4000)=nil, 0x86ac726dff2f4713, 0xa) syz_clone(0x11, 0x0, 0x0, 0x0, 0x0, 0x0) program crashed: panic: runtime error: invalid memory address or nil pointer dereference testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): madvise detailed listing: executing program 0: madvise(&(0x7f0000bdc000/0x4000)=nil, 0x86ac726dff2f4713, 0xa) program crashed: panic: runtime error: invalid memory address or nil pointer dereference extracting C reproducer testing compiled C program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): madvise program crashed: panic: runtime error: invalid memory address or nil pointer dereference simplifying C reproducer testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): madvise program crashed: panic: runtime error: invalid memory address or nil pointer dereference testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): madvise program crashed: panic: runtime error: invalid memory address or nil pointer dereference testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): madvise program crashed: panic: runtime error: invalid memory address or nil pointer dereference testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): madvise program crashed: panic: runtime error: invalid memory address or nil pointer dereference testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): madvise program crashed: panic: runtime error: invalid memory address or nil pointer dereference testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): madvise program crashed: panic: runtime error: invalid memory address or nil pointer dereference reproducing took 1m55.59344524s repro crashed as (corrupted=false): panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8fb075] goroutine 189 gp=0xc00062ca80 m=16 mp=0xc000580e08 [running]: panic({0x11913e0?, 0x2070a40?}) bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/stdlib_/src/runtime/panic.go:804 +0x168 fp=0xc0001a9938 sp=0xc0001a9888 pc=0x473fe8 runtime.panicmem(...) bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/stdlib_/src/runtime/panic.go:262 runtime.sigpanic() bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/stdlib_/src/runtime/signal_unix.go:900 +0x359 fp=0xc0001a9998 sp=0xc0001a9938 pc=0x476719 gvisor.dev/gvisor/pkg/sentry/mm.vmaIterator.Start(...) bazel-out/k8-fastbuild/bin/pkg/sentry/mm/vma_set.go:1476 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).madviseMutateVMAs(0xc000336008, 0xc0001a9ab0?, 0x86ac726dff2f4713, 0xc0001a9a58) pkg/sentry/mm/syscalls.go:1264 +0x195 fp=0xc0001a9a38 sp=0xc0001a9998 pc=0x8fb075 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).SetDontFork(...) pkg/sentry/mm/syscalls.go:1292 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Madvise(0xc0001a9b10?, 0xc0001a9b10?, {{0x20bdc000}, {0x86ac726dff2f4713}, {0xa}, {0xffffffff}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_mmap.go:186 +0x95 fp=0xc0001a9a78 sp=0xc0001a9a38 pc=0xc00115 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00046a008, 0x1c, {{0x20bdc000}, {0x86ac726dff2f4713}, {0xa}, {0xffffffff}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:143 +0x657 fp=0xc0001a9ca8 sp=0xc0001a9a78 pc=0xa76c37 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00046a008, 0x1c, {{0x20bdc000}, {0x86ac726dff2f4713}, {0xa}, {0xffffffff}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:323 +0x45 fp=0xc0001a9d00 sp=0xc0001a9ca8 pc=0xa77da5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00046a008, 0x1c, {{0x20bdc000}, {0x86ac726dff2f4713}, {0xa}, {0xffffffff}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:283 +0x65 fp=0xc0001a9d50 sp=0xc0001a9d00 pc=0xa77aa5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000328680?) pkg/sentry/kernel/task_syscall.go:258 +0x2a5 fp=0xc0001a9e28 sp=0xc0001a9d50 pc=0xa77825 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0001e8120?, 0xc00046a008) pkg/sentry/kernel/task_run.go:269 +0xf17 fp=0xc0001a9f30 sp=0xc0001a9e28 pc=0xa6d137 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00046a008, 0x7) pkg/sentry/kernel/task_run.go:97 +0x214 fp=0xc0001a9fc0 sp=0xc0001a9f30 pc=0xa6bb94 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:400 +0x25 fp=0xc0001a9fe0 sp=0xc0001a9fc0 pc=0xa75645 runtime.goexit({}) src/runtime/asm_amd64.s:1700 +0x1 fp=0xc0001a9fe8 sp=0xc0001a9fe0 pc=0x47d0c1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 259 pkg/sentry/kernel/task_start.go:400 +0xc5 final repro crashed as (corrupted=false): panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8fb075] goroutine 189 gp=0xc00062ca80 m=16 mp=0xc000580e08 [running]: panic({0x11913e0?, 0x2070a40?}) bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/stdlib_/src/runtime/panic.go:804 +0x168 fp=0xc0001a9938 sp=0xc0001a9888 pc=0x473fe8 runtime.panicmem(...) bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/stdlib_/src/runtime/panic.go:262 runtime.sigpanic() bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/stdlib_/src/runtime/signal_unix.go:900 +0x359 fp=0xc0001a9998 sp=0xc0001a9938 pc=0x476719 gvisor.dev/gvisor/pkg/sentry/mm.vmaIterator.Start(...) bazel-out/k8-fastbuild/bin/pkg/sentry/mm/vma_set.go:1476 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).madviseMutateVMAs(0xc000336008, 0xc0001a9ab0?, 0x86ac726dff2f4713, 0xc0001a9a58) pkg/sentry/mm/syscalls.go:1264 +0x195 fp=0xc0001a9a38 sp=0xc0001a9998 pc=0x8fb075 gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).SetDontFork(...) pkg/sentry/mm/syscalls.go:1292 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Madvise(0xc0001a9b10?, 0xc0001a9b10?, {{0x20bdc000}, {0x86ac726dff2f4713}, {0xa}, {0xffffffff}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_mmap.go:186 +0x95 fp=0xc0001a9a78 sp=0xc0001a9a38 pc=0xc00115 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00046a008, 0x1c, {{0x20bdc000}, {0x86ac726dff2f4713}, {0xa}, {0xffffffff}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:143 +0x657 fp=0xc0001a9ca8 sp=0xc0001a9a78 pc=0xa76c37 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00046a008, 0x1c, {{0x20bdc000}, {0x86ac726dff2f4713}, {0xa}, {0xffffffff}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:323 +0x45 fp=0xc0001a9d00 sp=0xc0001a9ca8 pc=0xa77da5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00046a008, 0x1c, {{0x20bdc000}, {0x86ac726dff2f4713}, {0xa}, {0xffffffff}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:283 +0x65 fp=0xc0001a9d50 sp=0xc0001a9d00 pc=0xa77aa5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000328680?) pkg/sentry/kernel/task_syscall.go:258 +0x2a5 fp=0xc0001a9e28 sp=0xc0001a9d50 pc=0xa77825 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0001e8120?, 0xc00046a008) pkg/sentry/kernel/task_run.go:269 +0xf17 fp=0xc0001a9f30 sp=0xc0001a9e28 pc=0xa6d137 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00046a008, 0x7) pkg/sentry/kernel/task_run.go:97 +0x214 fp=0xc0001a9fc0 sp=0xc0001a9f30 pc=0xa6bb94 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:400 +0x25 fp=0xc0001a9fe0 sp=0xc0001a9fc0 pc=0xa75645 runtime.goexit({}) src/runtime/asm_amd64.s:1700 +0x1 fp=0xc0001a9fe8 sp=0xc0001a9fe0 pc=0x47d0c1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 259 pkg/sentry/kernel/task_start.go:400 +0xc5