? github.com/google/syzkaller/dashboard/api [no test files] ok github.com/google/syzkaller/dashboard/app (cached) ok github.com/google/syzkaller/dashboard/dashapi (cached) ok github.com/google/syzkaller/executor 1.169s ok github.com/google/syzkaller/pkg/asset (cached) ok github.com/google/syzkaller/pkg/ast (cached) ok github.com/google/syzkaller/pkg/auth (cached) ok github.com/google/syzkaller/pkg/bisect 6.323s ok github.com/google/syzkaller/pkg/bisect/minimize (cached) ok github.com/google/syzkaller/pkg/build (cached) ? github.com/google/syzkaller/pkg/clangtool [no test files] ok github.com/google/syzkaller/pkg/compiler (cached) ok github.com/google/syzkaller/pkg/config (cached) ok github.com/google/syzkaller/pkg/corpus (cached) ok github.com/google/syzkaller/pkg/cover (cached) ok github.com/google/syzkaller/pkg/cover/backend (cached) ok github.com/google/syzkaller/pkg/coveragedb (cached) ? github.com/google/syzkaller/pkg/coveragedb/mocks [no test files] ? github.com/google/syzkaller/pkg/coveragedb/spannerclient [no test files] ok github.com/google/syzkaller/pkg/covermerger (cached) ? github.com/google/syzkaller/pkg/covermerger/mocks [no test files] --- FAIL: TestGenerate (16.05s) --- FAIL: TestGenerate/linux/mips64le (2.79s) testutil.go:35: seed=1760709022149420296 --- FAIL: TestGenerate/linux/mips64le/single_syz_open_dev (0.03s) csource_test.go:148: opts: {Threaded:false Repeat:false RepeatTimes:0 Procs:0 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 CallComments:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: syz_open_dev$I2C(&(0x7f0000000000), 0x2, 0x40000) csource_test.go:149: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #ifndef __NR_mmap #define __NR_mmap 5009 #endif static long syz_open_dev(volatile long a0, volatile long a1, volatile long a2) { if (a0 == 0xc || a0 == 0xb) { char buf[128]; sprintf(buf, "/dev/%s/%d:%d", a0 == 0xc ? "char" : "block", (uint8_t)a1, (uint8_t)a2); return open(buf, O_RDWR, 0); } else { unsigned long nb = a1; char buf[1024]; char* hash; strncpy(buf, (char*)a0, sizeof(buf) - 1); buf[sizeof(buf) - 1] = 0; while ((hash = strchr(buf, '#'))) { *hash = '0' + (char)(nb % 10); nb /= 10; } return open(buf, a2, 0); } } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {} memcpy((void*)0x200000000000, "/dev/i2c-#\000", 11); syz_open_dev(/*dev=*/0x200000000000, /*id=*/2, /*flags=O_NOATIME*/0x40000); return 0; } compiler invocation: mips64el-linux-gnuabi64-gcc [-o /tmp/syz-executor86828721 -DGOOS_linux=1 -DGOARCH_mips64le=1 -DHOSTGOOS_linux=1 -x c - -march=mips64r2 -mabi=64 -EL -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie] --- FAIL: TestGenerate/linux/mips64le/single_syz_extract_tcp_res (0.04s) csource_test.go:148: opts: {Threaded:false Repeat:false RepeatTimes:0 Procs:0 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 CallComments:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: syz_extract_tcp_res(&(0x7f0000000000), 0x2, 0x5) csource_test.go:149: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #ifndef __NR_mmap #define __NR_mmap 5009 #endif int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {} return 0; } compiler invocation: mips64el-linux-gnuabi64-gcc [-o /tmp/syz-executor1898326414 -DGOOS_linux=1 -DGOARCH_mips64le=1 -DHOSTGOOS_linux=1 -x c - -march=mips64r2 -mabi=64 -EL -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie] --- FAIL: TestGenerate/linux/mips64le/single_syz_pkey_set (0.05s) csource_test.go:148: opts: {Threaded:false Repeat:false RepeatTimes:0 Procs:0 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 CallComments:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: r0 = pkey_alloc(0x0, 0x2) syz_pkey_set(r0, 0x1) csource_test.go:149: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #ifndef __NR_mmap #define __NR_mmap 5009 #endif #ifndef __NR_pkey_alloc #define __NR_pkey_alloc 5324 #endif #define RESERVED_PKEY 15 static long syz_pkey_set(volatile long pkey, volatile long val) { return 0; } uint64_t r[1] = {0xffffffffffffffff}; int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; intptr_t res = 0; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {} res = syscall(__NR_pkey_alloc, /*flags=*/0ul, /*val=PKEY_DISABLE_WRITE*/2ul); if (res != -1) r[0] = res; syz_pkey_set(/*key=*/r[0], /*val=PKEY_DISABLE_ACCESS*/1); return 0; } compiler invocation: mips64el-linux-gnuabi64-gcc [-o /tmp/syz-executor1275352187 -DGOOS_linux=1 -DGOARCH_mips64le=1 -DHOSTGOOS_linux=1 -x c - -march=mips64r2 -mabi=64 -EL -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie] --- FAIL: TestGenerate/linux/mips64le/single_syz_memcpy_off (0.05s) csource_test.go:148: opts: {Threaded:false Repeat:false RepeatTimes:0 Procs:0 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 CallComments:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: syz_io_uring_setup(0x270a, &(0x7f0000000000)={0x0, 0x35, 0x1000, 0x2, 0x3bc}, &(0x7f0000000080)=0x0, &(0x7f00000000c0)) syz_memcpy_off$IO_URING_METADATA_FLAGS(r0, 0x118, &(0x7f0000000100)=0x1, 0x0, 0x4) csource_test.go:149: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #ifndef __NR_io_uring_setup #define __NR_io_uring_setup 5425 #endif #ifndef __NR_mmap #define __NR_mmap 5009 #endif #define SIZEOF_IO_URING_SQE 64 #define SIZEOF_IO_URING_CQE 16 #define SQ_HEAD_OFFSET 0 #define SQ_TAIL_OFFSET 64 #define SQ_RING_MASK_OFFSET 256 #define SQ_RING_ENTRIES_OFFSET 264 #define SQ_FLAGS_OFFSET 276 #define SQ_DROPPED_OFFSET 272 #define CQ_HEAD_OFFSET 128 #define CQ_TAIL_OFFSET 192 #define CQ_RING_MASK_OFFSET 260 #define CQ_RING_ENTRIES_OFFSET 268 #define CQ_RING_OVERFLOW_OFFSET 284 #define CQ_FLAGS_OFFSET 280 #define CQ_CQES_OFFSET 320 struct io_sqring_offsets { uint32_t head; uint32_t tail; uint32_t ring_mask; uint32_t ring_entries; uint32_t flags; uint32_t dropped; uint32_t array; uint32_t resv1; uint64_t resv2; }; struct io_cqring_offsets { uint32_t head; uint32_t tail; uint32_t ring_mask; uint32_t ring_entries; uint32_t overflow; uint32_t cqes; uint64_t resv[2]; }; struct io_uring_params { uint32_t sq_entries; uint32_t cq_entries; uint32_t flags; uint32_t sq_thread_cpu; uint32_t sq_thread_idle; uint32_t features; uint32_t resv[4]; struct io_sqring_offsets sq_off; struct io_cqring_offsets cq_off; }; #define IORING_OFF_SQ_RING 0 #define IORING_OFF_SQES 0x10000000ULL #define IORING_SETUP_SQE128 (1U << 10) #define IORING_SETUP_CQE32 (1U << 11) static long syz_io_uring_setup(volatile long a0, volatile long a1, volatile long a2, volatile long a3) { uint32_t entries = (uint32_t)a0; struct io_uring_params* setup_params = (struct io_uring_params*)a1; void** ring_ptr_out = (void**)a2; void** sqes_ptr_out = (void**)a3; setup_params->flags &= ~(IORING_SETUP_CQE32 | IORING_SETUP_SQE128); uint32_t fd_io_uring = syscall(__NR_io_uring_setup, entries, setup_params); uint32_t sq_ring_sz = setup_params->sq_off.array + setup_params->sq_entries * sizeof(uint32_t); uint32_t cq_ring_sz = setup_params->cq_off.cqes + setup_params->cq_entries * SIZEOF_IO_URING_CQE; uint32_t ring_sz = sq_ring_sz > cq_ring_sz ? sq_ring_sz : cq_ring_sz; *ring_ptr_out = mmap(0, ring_sz, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_POPULATE, fd_io_uring, IORING_OFF_SQ_RING); uint32_t sqes_sz = setup_params->sq_entries * SIZEOF_IO_URING_SQE; *sqes_ptr_out = mmap(0, sqes_sz, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_POPULATE, fd_io_uring, IORING_OFF_SQES); uint32_t* array = (uint32_t*)((uintptr_t)*ring_ptr_out + setup_params->sq_off.array); for (uint32_t index = 0; index < entries; index++) array[index] = index; return fd_io_uring; } static long syz_memcpy_off(volatile long a0, volatile long a1, volatile long a2, volatile long a3, volatile long a4) { char* dest = (char*)a0; uint32_t dest_off = (uint32_t)a1; char* src = (char*)a2; uint32_t src_off = (uint32_t)a3; size_t n = (size_t)a4; return (long)memcpy(dest + dest_off, src + src_off, n); } uint64_t r[1] = {0x0}; int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; intptr_t res = 0; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {} *(uint32_t*)0x200000000004 = 0x35; *(uint32_t*)0x200000000008 = 0x1000; *(uint32_t*)0x20000000000c = 2; *(uint32_t*)0x200000000010 = 0x3bc; *(uint32_t*)0x200000000018 = -1; memset((void*)0x20000000001c, 0, 12); res = -1; res = syz_io_uring_setup(/*entries=*/0x270a, /*params=*/0x200000000000, /*ring_ptr=*/0x200000000080, /*sqes_ptr=*/0x2000000000c0); if (res != -1) r[0] = *(uint64_t*)0x200000000080; *(uint32_t*)0x200000000100 = 1; syz_memcpy_off(/*ring_ptr=*/r[0], /*flag_off=CQ_FLAGS_OFFSET*/0x118, /*src=*/0x200000000100, /*src_off=*/0, /*nbytes=*/4); return 0; } compiler invocation: mips64el-linux-gnuabi64-gcc [-o /tmp/syz-executor205587949 -DGOOS_linux=1 -DGOARCH_mips64le=1 -DHOSTGOOS_linux=1 -x c - -march=mips64r2 -mabi=64 -EL -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie] --- FAIL: TestGenerate/linux/mips64le/single_syz_open_pts (0.05s) csource_test.go:148: opts: {Threaded:false Repeat:false RepeatTimes:0 Procs:0 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 CallComments:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: syz_open_pts(0xffffffffffffffff, 0x41200) csource_test.go:149: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #ifndef __NR_mmap #define __NR_mmap 5009 #endif static long syz_open_pts(volatile long a0, volatile long a1) { int ptyno = 0; if (ioctl(a0, TIOCGPTN, &ptyno)) return -1; char buf[128]; sprintf(buf, "/dev/pts/%d", ptyno); return open(buf, a1, 0); } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {} syz_open_pts(/*fd=*/-1, /*flags=O_TRUNC|O_NOATIME|FASYNC*/0x41200); return 0; } compiler invocation: mips64el-linux-gnuabi64-gcc [-o /tmp/syz-executor1318162936 -DGOOS_linux=1 -DGOARCH_mips64le=1 -DHOSTGOOS_linux=1 -x c - -march=mips64r2 -mabi=64 -EL -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie] --- FAIL: TestGenerate/linux/mips64le/single_syz_usb_ep_read (0.08s) csource_test.go:148: opts: {Threaded:false Repeat:false RepeatTimes:0 Procs:0 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 CallComments:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: r0 = syz_usb_connect$sierra_net(0x5, 0x3f, &(0x7f0000000000)={{0x12, 0x1, 0x200, 0xff, 0xff, 0xff, 0x40, 0x1199, 0x68a3, 0x0, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x2d, 0x1, 0x1, 0x0, 0x80, 0xfa, {{0x9, 0x4, 0x7, 0x0, 0x3, 0xff, 0x0, 0x0, 0x0, "", {{0x9, 0x5, 0x0, 0x2, 0x8, 0x6, 0x4, 0x7}, {0x9, 0x5, 0x80, 0x2, 0x40, 0x0, 0x9, 0x4}, {0x9, 0x5, 0x4, 0x3, 0x400, 0x7, 0x9, 0xa2}}}}}}]}}, 0x0) syz_usb_ep_read(r0, 0x9, 0x3c, &(0x7f0000000040)=""/60) csource_test.go:149: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifndef __NR_mmap #define __NR_mmap 5009 #endif static unsigned long long procid; static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } #define MAX_FDS 30 #define USB_MAX_IFACE_NUM 4 #define USB_MAX_EP_NUM 32 #define USB_MAX_FDS 6 struct usb_endpoint_index { struct usb_endpoint_descriptor desc; int handle; }; struct usb_iface_index { struct usb_interface_descriptor* iface; uint8_t bInterfaceNumber; uint8_t bAlternateSetting; uint8_t bInterfaceClass; struct usb_endpoint_index eps[USB_MAX_EP_NUM]; int eps_num; }; struct usb_device_index { struct usb_device_descriptor* dev; struct usb_config_descriptor* config; uint8_t bDeviceClass; uint8_t bMaxPower; int config_length; struct usb_iface_index ifaces[USB_MAX_IFACE_NUM]; int ifaces_num; int iface_cur; }; struct usb_info { int fd; struct usb_device_index index; }; static struct usb_info usb_devices[USB_MAX_FDS]; static struct usb_device_index* lookup_usb_index(int fd) { for (int i = 0; i < USB_MAX_FDS; i++) { if (__atomic_load_n(&usb_devices[i].fd, __ATOMIC_ACQUIRE) == fd) return &usb_devices[i].index; } return NULL; } static int usb_devices_num; static bool parse_usb_descriptor(const char* buffer, size_t length, struct usb_device_index* index) { if (length < sizeof(*index->dev) + sizeof(*index->config)) return false; memset(index, 0, sizeof(*index)); index->dev = (struct usb_device_descriptor*)buffer; index->config = (struct usb_config_descriptor*)(buffer + sizeof(*index->dev)); index->bDeviceClass = index->dev->bDeviceClass; index->bMaxPower = index->config->bMaxPower; index->config_length = length - sizeof(*index->dev); index->iface_cur = -1; size_t offset = 0; while (true) { if (offset + 1 >= length) break; uint8_t desc_length = buffer[offset]; uint8_t desc_type = buffer[offset + 1]; if (desc_length <= 2) break; if (offset + desc_length > length) break; if (desc_type == USB_DT_INTERFACE && index->ifaces_num < USB_MAX_IFACE_NUM) { struct usb_interface_descriptor* iface = (struct usb_interface_descriptor*)(buffer + offset); index->ifaces[index->ifaces_num].iface = iface; index->ifaces[index->ifaces_num].bInterfaceNumber = iface->bInterfaceNumber; index->ifaces[index->ifaces_num].bAlternateSetting = iface->bAlternateSetting; index->ifaces[index->ifaces_num].bInterfaceClass = iface->bInterfaceClass; index->ifaces_num++; } if (desc_type == USB_DT_ENDPOINT && index->ifaces_num > 0) { struct usb_iface_index* iface = &index->ifaces[index->ifaces_num - 1]; if (iface->eps_num < USB_MAX_EP_NUM) { memcpy(&iface->eps[iface->eps_num].desc, buffer + offset, sizeof(iface->eps[iface->eps_num].desc)); iface->eps_num++; } } offset += desc_length; } return true; } static struct usb_device_index* add_usb_index(int fd, const char* dev, size_t dev_len) { int i = __atomic_fetch_add(&usb_devices_num, 1, __ATOMIC_RELAXED); if (i >= USB_MAX_FDS) return NULL; if (!parse_usb_descriptor(dev, dev_len, &usb_devices[i].index)) return NULL; __atomic_store_n(&usb_devices[i].fd, fd, __ATOMIC_RELEASE); return &usb_devices[i].index; } struct vusb_connect_string_descriptor { uint32_t len; char* str; } __attribute__((packed)); struct vusb_connect_descriptors { uint32_t qual_len; char* qual; uint32_t bos_len; char* bos; uint32_t strs_len; struct vusb_connect_string_descriptor strs[0]; } __attribute__((packed)); static const char default_string[] = { 8, USB_DT_STRING, 's', 0, 'y', 0, 'z', 0 }; static const char default_lang_id[] = { 4, USB_DT_STRING, 0x09, 0x04 }; static bool lookup_connect_response_in(int fd, const struct vusb_connect_descriptors* descs, const struct usb_ctrlrequest* ctrl, struct usb_qualifier_descriptor* qual, char** response_data, uint32_t* response_length) { struct usb_device_index* index = lookup_usb_index(fd); uint8_t str_idx; if (!index) return false; switch (ctrl->bRequestType & USB_TYPE_MASK) { case USB_TYPE_STANDARD: switch (ctrl->bRequest) { case USB_REQ_GET_DESCRIPTOR: switch (ctrl->wValue >> 8) { case USB_DT_DEVICE: *response_data = (char*)index->dev; *response_length = sizeof(*index->dev); return true; case USB_DT_CONFIG: *response_data = (char*)index->config; *response_length = index->config_length; return true; case USB_DT_STRING: str_idx = (uint8_t)ctrl->wValue; if (descs && str_idx < descs->strs_len) { *response_data = descs->strs[str_idx].str; *response_length = descs->strs[str_idx].len; return true; } if (str_idx == 0) { *response_data = (char*)&default_lang_id[0]; *response_length = default_lang_id[0]; return true; } *response_data = (char*)&default_string[0]; *response_length = default_string[0]; return true; case USB_DT_BOS: *response_data = descs->bos; *response_length = descs->bos_len; return true; case USB_DT_DEVICE_QUALIFIER: if (!descs->qual) { qual->bLength = sizeof(*qual); qual->bDescriptorType = USB_DT_DEVICE_QUALIFIER; qual->bcdUSB = index->dev->bcdUSB; qual->bDeviceClass = index->dev->bDeviceClass; qual->bDeviceSubClass = index->dev->bDeviceSubClass; qual->bDeviceProtocol = index->dev->bDeviceProtocol; qual->bMaxPacketSize0 = index->dev->bMaxPacketSize0; qual->bNumConfigurations = index->dev->bNumConfigurations; qual->bRESERVED = 0; *response_data = (char*)qual; *response_length = sizeof(*qual); return true; } *response_data = descs->qual; *response_length = descs->qual_len; return true; default: break; } break; default: break; } break; default: break; } return false; } typedef bool (*lookup_connect_out_response_t)(int fd, const struct vusb_connect_descriptors* descs, const struct usb_ctrlrequest* ctrl, bool* done); static bool lookup_connect_response_out_generic(int fd, const struct vusb_connect_descriptors* descs, const struct usb_ctrlrequest* ctrl, bool* done) { switch (ctrl->bRequestType & USB_TYPE_MASK) { case USB_TYPE_STANDARD: switch (ctrl->bRequest) { case USB_REQ_SET_CONFIGURATION: *done = true; return true; default: break; } break; } return false; } #define UDC_NAME_LENGTH_MAX 128 struct usb_raw_init { __u8 driver_name[UDC_NAME_LENGTH_MAX]; __u8 device_name[UDC_NAME_LENGTH_MAX]; __u8 speed; }; enum usb_raw_event_type { USB_RAW_EVENT_INVALID = 0, USB_RAW_EVENT_CONNECT = 1, USB_RAW_EVENT_CONTROL = 2, }; struct usb_raw_event { __u32 type; __u32 length; __u8 data[0]; }; struct usb_raw_ep_io { __u16 ep; __u16 flags; __u32 length; __u8 data[0]; }; #define USB_RAW_EPS_NUM_MAX 30 #define USB_RAW_EP_NAME_MAX 16 #define USB_RAW_EP_ADDR_ANY 0xff struct usb_raw_ep_caps { __u32 type_control : 1; __u32 type_iso : 1; __u32 type_bulk : 1; __u32 type_int : 1; __u32 dir_in : 1; __u32 dir_out : 1; }; struct usb_raw_ep_limits { __u16 maxpacket_limit; __u16 max_streams; __u32 reserved; }; struct usb_raw_ep_info { __u8 name[USB_RAW_EP_NAME_MAX]; __u32 addr; struct usb_raw_ep_caps caps; struct usb_raw_ep_limits limits; }; struct usb_raw_eps_info { struct usb_raw_ep_info eps[USB_RAW_EPS_NUM_MAX]; }; #define USB_RAW_IOCTL_INIT _IOW('U', 0, struct usb_raw_init) #define USB_RAW_IOCTL_RUN _IO('U', 1) #define USB_RAW_IOCTL_EVENT_FETCH _IOR('U', 2, struct usb_raw_event) #define USB_RAW_IOCTL_EP0_WRITE _IOW('U', 3, struct usb_raw_ep_io) #define USB_RAW_IOCTL_EP0_READ _IOWR('U', 4, struct usb_raw_ep_io) #define USB_RAW_IOCTL_EP_ENABLE _IOW('U', 5, struct usb_endpoint_descriptor) #define USB_RAW_IOCTL_EP_DISABLE _IOW('U', 6, __u32) #define USB_RAW_IOCTL_EP_WRITE _IOW('U', 7, struct usb_raw_ep_io) #define USB_RAW_IOCTL_EP_READ _IOWR('U', 8, struct usb_raw_ep_io) #define USB_RAW_IOCTL_CONFIGURE _IO('U', 9) #define USB_RAW_IOCTL_VBUS_DRAW _IOW('U', 10, __u32) #define USB_RAW_IOCTL_EPS_INFO _IOR('U', 11, struct usb_raw_eps_info) #define USB_RAW_IOCTL_EP0_STALL _IO('U', 12) #define USB_RAW_IOCTL_EP_SET_HALT _IOW('U', 13, __u32) #define USB_RAW_IOCTL_EP_CLEAR_HALT _IOW('U', 14, __u32) #define USB_RAW_IOCTL_EP_SET_WEDGE _IOW('U', 15, __u32) static int usb_raw_open() { return open("/dev/raw-gadget", O_RDWR); } static int usb_raw_init(int fd, uint32_t speed, const char* driver, const char* device) { struct usb_raw_init arg; strncpy((char*)&arg.driver_name[0], driver, sizeof(arg.driver_name)); strncpy((char*)&arg.device_name[0], device, sizeof(arg.device_name)); arg.speed = speed; return ioctl(fd, USB_RAW_IOCTL_INIT, &arg); } static int usb_raw_run(int fd) { return ioctl(fd, USB_RAW_IOCTL_RUN, 0); } static int usb_raw_ep_read(int fd, struct usb_raw_ep_io* io) { return ioctl(fd, USB_RAW_IOCTL_EP_READ, io); } static int usb_raw_configure(int fd) { return ioctl(fd, USB_RAW_IOCTL_CONFIGURE, 0); } static int usb_raw_vbus_draw(int fd, uint32_t power) { return ioctl(fd, USB_RAW_IOCTL_VBUS_DRAW, power); } static int usb_raw_ep0_write(int fd, struct usb_raw_ep_io* io) { return ioctl(fd, USB_RAW_IOCTL_EP0_WRITE, io); } static int usb_raw_ep0_read(int fd, struct usb_raw_ep_io* io) { return ioctl(fd, USB_RAW_IOCTL_EP0_READ, io); } static int usb_raw_event_fetch(int fd, struct usb_raw_event* event) { return ioctl(fd, USB_RAW_IOCTL_EVENT_FETCH, event); } static int usb_raw_ep_enable(int fd, struct usb_endpoint_descriptor* desc) { return ioctl(fd, USB_RAW_IOCTL_EP_ENABLE, desc); } static int usb_raw_ep_disable(int fd, int ep) { return ioctl(fd, USB_RAW_IOCTL_EP_DISABLE, ep); } static int usb_raw_ep0_stall(int fd) { return ioctl(fd, USB_RAW_IOCTL_EP0_STALL, 0); } static int lookup_endpoint(int fd, uint8_t bEndpointAddress) { struct usb_device_index* index = lookup_usb_index(fd); if (!index) return -1; if (index->iface_cur < 0) return -1; for (int ep = 0; ep < index->ifaces[index->iface_cur].eps_num; ep++) if (index->ifaces[index->iface_cur].eps[ep].desc.bEndpointAddress == bEndpointAddress) return index->ifaces[index->iface_cur].eps[ep].handle; return -1; } #define USB_MAX_PACKET_SIZE 4096 struct usb_raw_control_event { struct usb_raw_event inner; struct usb_ctrlrequest ctrl; char data[USB_MAX_PACKET_SIZE]; }; struct usb_raw_ep_io_data { struct usb_raw_ep_io inner; char data[USB_MAX_PACKET_SIZE]; }; static void set_interface(int fd, int n) { struct usb_device_index* index = lookup_usb_index(fd); if (!index) return; if (index->iface_cur >= 0 && index->iface_cur < index->ifaces_num) { for (int ep = 0; ep < index->ifaces[index->iface_cur].eps_num; ep++) { int rv = usb_raw_ep_disable(fd, index->ifaces[index->iface_cur].eps[ep].handle); if (rv < 0) { } else { } } } if (n >= 0 && n < index->ifaces_num) { for (int ep = 0; ep < index->ifaces[n].eps_num; ep++) { int rv = usb_raw_ep_enable(fd, &index->ifaces[n].eps[ep].desc); if (rv < 0) { } else { index->ifaces[n].eps[ep].handle = rv; } } index->iface_cur = n; } } static int configure_device(int fd) { struct usb_device_index* index = lookup_usb_index(fd); if (!index) return -1; int rv = usb_raw_vbus_draw(fd, index->bMaxPower); if (rv < 0) { return rv; } rv = usb_raw_configure(fd); if (rv < 0) { return rv; } set_interface(fd, 0); return 0; } static volatile long syz_usb_connect_impl(uint64_t speed, uint64_t dev_len, const char* dev, const struct vusb_connect_descriptors* descs, lookup_connect_out_response_t lookup_connect_response_out) { if (!dev) { return -1; } int fd = usb_raw_open(); if (fd < 0) { return fd; } if (fd >= MAX_FDS) { close(fd); return -1; } struct usb_device_index* index = add_usb_index(fd, dev, dev_len); if (!index) { return -1; } char device[32]; sprintf(&device[0], "dummy_udc.%llu", procid); int rv = usb_raw_init(fd, speed, "dummy_udc", &device[0]); if (rv < 0) { return rv; } rv = usb_raw_run(fd); if (rv < 0) { return rv; } bool done = false; while (!done) { struct usb_raw_control_event event; event.inner.type = 0; event.inner.length = sizeof(event.ctrl); rv = usb_raw_event_fetch(fd, (struct usb_raw_event*)&event); if (rv < 0) { return rv; } if (event.inner.type != USB_RAW_EVENT_CONTROL) continue; char* response_data = NULL; uint32_t response_length = 0; struct usb_qualifier_descriptor qual; if (event.ctrl.bRequestType & USB_DIR_IN) { if (!lookup_connect_response_in(fd, descs, &event.ctrl, &qual, &response_data, &response_length)) { usb_raw_ep0_stall(fd); continue; } } else { if (!lookup_connect_response_out(fd, descs, &event.ctrl, &done)) { usb_raw_ep0_stall(fd); continue; } response_data = NULL; response_length = event.ctrl.wLength; } if ((event.ctrl.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD && event.ctrl.bRequest == USB_REQ_SET_CONFIGURATION) { rv = configure_device(fd); if (rv < 0) { return rv; } } struct usb_raw_ep_io_data response; response.inner.ep = 0; response.inner.flags = 0; if (response_length > sizeof(response.data)) response_length = 0; if (event.ctrl.wLength < response_length) response_length = event.ctrl.wLength; response.inner.length = response_length; if (response_data) memcpy(&response.data[0], response_data, response_length); else memset(&response.data[0], 0, response_length); if (event.ctrl.bRequestType & USB_DIR_IN) { rv = usb_raw_ep0_write(fd, (struct usb_raw_ep_io*)&response); } else { rv = usb_raw_ep0_read(fd, (struct usb_raw_ep_io*)&response); } if (rv < 0) { return rv; } } sleep_ms(200); return fd; } static volatile long syz_usb_connect(volatile long a0, volatile long a1, volatile long a2, volatile long a3) { uint64_t speed = a0; uint64_t dev_len = a1; const char* dev = (const char*)a2; const struct vusb_connect_descriptors* descs = (const struct vusb_connect_descriptors*)a3; return syz_usb_connect_impl(speed, dev_len, dev, descs, &lookup_connect_response_out_generic); } static volatile long syz_usb_ep_read(volatile long a0, volatile long a1, volatile long a2, volatile long a3) { int fd = a0; uint8_t ep = a1; uint32_t len = a2; char* data = (char*)a3; int ep_handle = lookup_endpoint(fd, ep); if (ep_handle < 0) { return -1; } struct usb_raw_ep_io_data io_data; io_data.inner.ep = ep_handle; io_data.inner.flags = 0; if (len > sizeof(io_data.data)) len = sizeof(io_data.data); io_data.inner.length = len; int rv = usb_raw_ep_read(fd, (struct usb_raw_ep_io*)&io_data); if (rv < 0) { return rv; } memcpy(&data[0], &io_data.data[0], io_data.inner.length); sleep_ms(200); return 0; } uint64_t r[1] = {0xffffffffffffffff}; int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; intptr_t res = 0; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {} *(uint8_t*)0x200000000000 = 0x12; *(uint8_t*)0x200000000001 = 1; *(uint16_t*)0x200000000002 = 0x200; *(uint8_t*)0x200000000004 = -1; *(uint8_t*)0x200000000005 = -1; *(uint8_t*)0x200000000006 = -1; *(uint8_t*)0x200000000007 = 0x40; *(uint16_t*)0x200000000008 = 0x1199; *(uint16_t*)0x20000000000a = 0x68a3; *(uint16_t*)0x20000000000c = 0; *(uint8_t*)0x20000000000e = 1; *(uint8_t*)0x20000000000f = 2; *(uint8_t*)0x200000000010 = 3; *(uint8_t*)0x200000000011 = 1; *(uint8_t*)0x200000000012 = 9; *(uint8_t*)0x200000000013 = 2; *(uint16_t*)0x200000000014 = 0x2d; *(uint8_t*)0x200000000016 = 1; *(uint8_t*)0x200000000017 = 1; *(uint8_t*)0x200000000018 = 0; *(uint8_t*)0x200000000019 = 0x80; *(uint8_t*)0x20000000001a = 0xfa; *(uint8_t*)0x20000000001b = 9; *(uint8_t*)0x20000000001c = 4; *(uint8_t*)0x20000000001d = 7; *(uint8_t*)0x20000000001e = 0; *(uint8_t*)0x20000000001f = 3; *(uint8_t*)0x200000000020 = -1; *(uint8_t*)0x200000000021 = 0; *(uint8_t*)0x200000000022 = 0; *(uint8_t*)0x200000000023 = 0; *(uint8_t*)0x200000000024 = 9; *(uint8_t*)0x200000000025 = 5; *(uint8_t*)0x200000000026 = 0; *(uint8_t*)0x200000000027 = 2; *(uint16_t*)0x200000000028 = 8; *(uint8_t*)0x20000000002a = 6; *(uint8_t*)0x20000000002b = 4; *(uint8_t*)0x20000000002c = 7; *(uint8_t*)0x20000000002d = 9; *(uint8_t*)0x20000000002e = 5; *(uint8_t*)0x20000000002f = 0x80; *(uint8_t*)0x200000000030 = 2; *(uint16_t*)0x200000000031 = 0x40; *(uint8_t*)0x200000000033 = 0; *(uint8_t*)0x200000000034 = 9; *(uint8_t*)0x200000000035 = 4; *(uint8_t*)0x200000000036 = 9; *(uint8_t*)0x200000000037 = 5; *(uint8_t*)0x200000000038 = 4; *(uint8_t*)0x200000000039 = 3; *(uint16_t*)0x20000000003a = 0x400; *(uint8_t*)0x20000000003c = 7; *(uint8_t*)0x20000000003d = 9; *(uint8_t*)0x20000000003e = 0xa2; res = -1; res = syz_usb_connect(/*speed=USB_SPEED_SUPER*/5, /*dev_len=*/0x3f, /*dev=*/0x200000000000, /*conn_descs=*/0); if (res != -1) r[0] = res; syz_usb_ep_read(/*fd=*/r[0], /*ep=*/9, /*len=*/0x3c, /*data=*/0x200000000040); return 0; } compiler invocation: mips64el-linux-gnuabi64-gcc [-o /tmp/syz-executor1362929795 -DGOOS_linux=1 -DGOARCH_mips64le=1 -DHOSTGOOS_linux=1 -x c - -march=mips64r2 -mabi=64 -EL -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie] --- FAIL: TestGenerate/linux/mips64le/single_syz_create_resource (0.14s) csource_test.go:148: opts: {Threaded:false Repeat:false RepeatTimes:0 Procs:0 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 CallComments:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: syz_create_resource$binfmt(&(0x7f0000000000)='./file0\x00') csource_test.go:149: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #ifndef __NR_mmap #define __NR_mmap 5009 #endif static long syz_create_resource(volatile long val) { return val; } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {} memcpy((void*)0x200000000000, "./file0\000", 8); syz_create_resource(/*file=*/0x200000000000); return 0; } compiler invocation: mips64el-linux-gnuabi64-gcc [-o /tmp/syz-executor2716457212 -DGOOS_linux=1 -DGOARCH_mips64le=1 -DHOSTGOOS_linux=1 -x c - -march=mips64r2 -mabi=64 -EL -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie] --- FAIL: TestGenerate/linux/mips64le/single_syz_open_procfs (0.15s) csource_test.go:148: opts: {Threaded:false Repeat:false RepeatTimes:0 Procs:0 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 CallComments:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: ioctl$sock_FIOGETOWN(0xffffffffffffffff, 0x4004667b, &(0x7f0000000000)=0x0) syz_open_procfs(r0, &(0x7f0000000040)='net/rt6_stats\x00') csource_test.go:149: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #ifndef __NR_ioctl #define __NR_ioctl 5015 #endif #ifndef __NR_mmap #define __NR_mmap 5009 #endif static long syz_open_procfs(volatile long a0, volatile long a1) { char buf[128]; memset(buf, 0, sizeof(buf)); if (a0 == 0) { snprintf(buf, sizeof(buf), "/proc/self/%s", (char*)a1); } else if (a0 == -1) { snprintf(buf, sizeof(buf), "/proc/thread-self/%s", (char*)a1); } else { snprintf(buf, sizeof(buf), "/proc/self/task/%d/%s", (int)a0, (char*)a1); } int fd = open(buf, O_RDWR); if (fd == -1) fd = open(buf, O_RDONLY); return fd; } uint64_t r[1] = {0x0}; int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; intptr_t res = 0; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {} res = syscall(__NR_ioctl, /*fd=*/(intptr_t)-1, /*cmd=*/0x4004667b, /*arg=*/0x200000000000ul); if (res != -1) r[0] = *(uint32_t*)0x200000000000; memcpy((void*)0x200000000040, "net/rt6_stats\000", 14); syz_open_procfs(/*pid=*/r[0], /*file=*/0x200000000040); return 0; } compiler invocation: mips64el-linux-gnuabi64-gcc [-o /tmp/syz-executor2229898184 -DGOOS_linux=1 -DGOARCH_mips64le=1 -DHOSTGOOS_linux=1 -x c - -march=mips64r2 -mabi=64 -EL -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie] --- FAIL: TestGenerate/linux/mips64le/single_syz_emit_ethernet (0.15s) csource_test.go:148: opts: {Threaded:false Repeat:false RepeatTimes:0 Procs:0 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 CallComments:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: syz_emit_ethernet(0x1016, &(0x7f0000000000)={@broadcast, @empty, @val={@val={0x88a8, 0x1, 0x1, 0x4}, {0x8100, 0x0, 0x1, 0x3}}, {@generic={0x806, "5c5428396d5456477704ab88c881c9a36331c6725b3894c40d6f21c6fcfade2bfe803b631f6f4d37150b553d379191ae3e1893f53b4ee41b8c7dbd4686345078331e833aaa755dd5a4a76d6a59271c9921c99d278fa3d3b8065787c49662e276b305fda35ea7f3377341be4b571d60a55fd3c6a6fa350d59adb34cf034958cfaf12afbe9103a6c39ff66bbf12f10424e228cbb49d5770e1da96d395b96e2898e1ab918ffd334b72ce81d5085b870d23ec8e56b1367911498150f451c6698e080d66fdeb6478223e44cfbad9c53d870d84b63c35a65b35a2cdfdfcffe18abd823bdee7ff9c342cf49675a4b9bdc3317ef99103fd28c70b053b2d1f5c7745b5e21fbbf13f1dc8cbfff38ff5f59995acdc6fda8d7a4736f0101409eacd6949a2600fac25d6fcf820974d317ad92fe69797029cc746617b57913df59228afde360f02ba98630ff6e822afd08c5b862ea9745abd162e757c97ca643610d9e879302aaf04c74ad2ff8fb49b48fc4addaffc5f59c86fe17e2f8425f22eb904245db9a8cbde133a93f61d974ffa92e79663e2b979dde59e7b76c6e069fc92a853d822ffed47d0005242a47be7a7773873798a5d76471dd187a5594f6b26cc804bdec19a8aa74acfbcfdca4a256e63fce3bbfb7677c1b185e77a23ad8b9bc6b6eb15b61ad5305228a922163b90ac86924b51ce166df02ae8df50d39782df18f92b84a663e5148e8c789fae73daa53b04dfac242bced1f5bb86f7fc9727412d4465f3f1a884094460e2309e745fb0ce4e9507aa9862679563963473a823a870ff05316ddbd05bead55c3d12b3441de3df13c04ed1d0da56af463bbc8878a28aca68486e3f39ad30acf3bad11f4aaeee9d51f503666dcb7bfcfe5c3bc08b9d656c1a8b92ac376d7e91e862f30576a7728c7d4d689d9a551d76ff8247d65f1bdf0b5aeb6b65eb62118035d144112ae0d3384ad5a1c51c871a590a8f8e24d15013b09e91a0e59dc61143bc06e8c083870b71f211d91787b701ba631dd365155a3d67463c7baa99178052999e3db3a3e75ad9a7ef3aa84390f4ff702a13f0c274323ff073eaafb20f70182c2ad3921967d7747038b892f23bc5b4f589d93fc4df06f16e5db42182cccd5a33a9364156e22af271ed01866ec03efacc17e35c725cb0afc95289e6674a5721a7b3391a2dc8623ec236a0677cd45913ac67424dd0636a5b24c9b26e9dd2096478023bb0086e9824500514ce09c71777e3f3daf519357c47e704651302939278f51ef378f1f6769552a22295490eb3d01d300430fb18c0225ab34c7b5822b82d7dd7b4e7a6db776529f45fc613018086fccdaba8474bcabbb17b0050c9d3c1fd488a34197ddd9af1608ae10aadfdb78f73403cdaff3c8b3fcfabbaa4f5aaf1a5b070a5235fb841c3db28e5e5788ea60bc9507ea7b0369faeb1caef27e0239147322495fb9849aca5b97ad150e6dfd107cd757a4ec8d5e8134341c3434a4d0b82b2bfc40e9e28dbeabd69d42bf34452b4c45756b1dd2d9906183807d6b6c0e8e82cd25383f908ef0bf19768f7e6923336828b4acbe946b18dc3789a857bfb50c1a35adb2ce31b783a0748f57130838d806c64a962f135a2fe2851ada8d75e27f9b882683ab5e774115f919cc78a980728ad68c7172172f57bc6b08df2f133e4101d2fe3585edef7e3f2a9952d45aed20e692a602d9a2195dfad8823996353be8441ddecf65735e92cb0c4d16e1c35d0b059845acfa6e339a58d033728782c9f9ff27645b38271c9087d384954fa1311e1380846f44f3eb39caf469ed1578a1eebed1d61a998837eda84538ffbaf0a8c9bd6b059675bbc0a4b475a606f2708238d1ea645fdc5d457da352c695afa4bf76e909614e958db80122729046d438396ec43020afaa927f740f542d04b77abb0690240c325f83b38df7fec372af766aa5f51662d6423c0bb31c67c0b9cc141b0565b8c8a900bea1ce697bb7a784dfdddb129a2a5f0451c3824eb39d81c690658e411abdeea8766874d63d977f411d1c9aeebd682e4df83a1c7a27717fad74a4780776f7dc3cbb92a1cbda50822ff5f135a1094da789c3255f5d4b2563d507adb92782cd2f62bc38dc02115e7d401aeaec5df4d0d4cc61d788c57afa870272c0cacc006a740cc52a413bbc9a39187b2308fc8ecffeddfb693ed810f0ca1d2d8110bb998b5b8e5533f204584a459df70f7c5261ad9c734e6bd6ac628651e6cde87a6dd4b71453a41042785ffc15ef5fbf1b7ef35b974919aaf6b3b1d1e8cebf99f604cc1a9cb2148d6b91bd47ac07f18f2f29d984c6b7fa4e0f25a513d2dfad86e77d4cba4e64a0be40e7399bf55d9ccc473162f8b28c8d7d4ca406be77dcc90a2a2087064831dee22406ce3009edd51fe75c6652fd7e3666288d4dcd15e8645085c2a26a27c2b911165303d0c93f6380beadb528c50ef33f32165a32648a68cdf8fbeb9f7dbae4f308e47825b2d9b88749414e05788ddafd4dd61bddd627c08d75c3e96542ecfbb894f4cd5a299a40b3c19dcb35ef61fc436a6cd40e6f94059c099ba291a8a1f75864165b4a86005816c52e9968f1ceede7feff526f2c08fa031415970da80ba7e9c3a7dfd40dd3afc6e8a1d230f03b6f349716fdf44cb7207ed29b02639f8b345375ea1c9fe66170ae58c7dbe7b424ea0235b1c9bd029cafba4c9b2e70f981779e0285cbab064262e558d1e1ac97abaa1e6292adce4b991c13b65093b08e3f458f9fbe354c93b01538cf5b4137b0dbb153f27933d3e884a9dbaf0c6899b28132c45e2651bf7c8b5309469c2579ac64ce6d2d7e14bc9ddd5a69e677755f2884afc1a8aece01b7446843e092264ba4cf7e6641bb82f9ec433e46c863ff3cadeef64ed48b6e9a1ff4445a7b332b18b33b271833bc654d089d3fb8ba3894a872abf49d0e45bc563d64853a3d12e84a1a6bc756b5b03cbf208dae123e47fcc9cbad06c9ea105dcfaf47f3e76008e66cd909e230af3ea167d77f947a93e80c463cb566b17053b0360cc7da297a616a01409af5722b85dae7bc14e3806af15336760a58dd078dfc0f5af9ab2c0cad48cbe448ec4e4a650b1d92d32bdc532d89f5003bbbec97c18ec3beaa593791aaab2bfaa8e93b43518f1d1b52490b3d9c75ddeac5681de4b0c0e0dbd914d80589902f50acd041e9033a239f29123a87925773dd4d220e546719091939aaa19a486f27ebb602fc66ae6d46dd804e936468986f7d82b1a26d10ec8ce7c16226a22fb5fdbbe4551fdc215883838344ca1d1e9d53da6c4c3d6b368c2f8c6b1efe6670605ab665eb27b4687721e1a6327e3628b26605fe5fcf3b2dd5ef98d814f7548c4d7457a6ab53a005ee34f66fd569aa4a6d2858d5c277247d98ca02173256175e1dfca838f8d01e446120cb1263e4c41df212a337f3598986d060e8152aa8af035a440563f157dc59fc281755fcbf42a4baf0d68b31b0f52a3918f1419a137d255d7a317070530294b6da7ade292cd2940d4bb62efb5e2560f0767f8b01a2d318842a02d4c79ecead6dc27c8a94607433fa89b0c74ad2c6b5af4065020f6a0c683fee1f886b84a1023565a3364d61f12df8fd663145a2ba9bfb00f6f3b91eeea69f494a2fd5a31ba1e4d411909d12320bc8677eeda8b4452de1d50fd68d8b6642984ab7a9d97abb7ff3290de7d50475dbcf89de652794d6826a2e654aea12115d7356358365a18bbe27c232d71fdd5b54c9fb634ef57fde0ea00d283bca509cd66221647fedf5338acaa16742d0ed8eab068fa89dd60715db9b9f84514da1f7ad670c7e6b8ea809c646f0ee972868f0abcd26f10b2ddc673a28ac700b3d5dc8281094fab9bbe1ee9692119885bb2dfb8a6b9a2f9721e0a6b3cbc2a25507a48d3d964ee6aca126e4ff48ad8a620c6b93264ffa345ab1ce2bcabdc8bc28b6a10ebcffded19d169538d2d2411390de6398965e3f2adb7402462fc6f310fc6ede0b9d58f2a6506c88f34ab9175340fff6bb64848a0eb24cba53dc81bfae2569a29cc23a19144e2f92b8805180ff2111141ebdb67697dab72ee1d5890d63b7886f4ce503ba3fe1618e4243c848afb4dd4f7ba9ccf1d9e725d2b1774a0e8395fdc20c115185e0b96dd1a1379223906d05e86f3a2a3d8db0bd582cc0b9570d8640375def05bcf593c58a708dfc7c45b6cf84c9a9136c0bdd3bc9d6dfb5dec9028e7cf43e2025cc9d5fcde1556f1f1b4575e8a736516869bd30e05e87619429cadbd28c198614d22868402508d396d5063accc1804f3986d9052badb46030c2b40bbc6eed6a545e26b18e2728f3d41eb9e7f945c9add56a034e0bc071eac383aea45c88f5108faf9b2e7797fc0a41d23929417319e90f21a1af92e8e3c038a254e2d20f3f8e865ed6501a68c19efd4a4285ddd6964cebe15e21f64767c0b7820f8c1d7c5dabd6fe035e5831163b2c44b1197a9d45e36aec85831c293e44bf3c69d3ccf61bf31620af8b4173964b5b9f20a72fced578d072886db3ff820ca1fa1ef86b2b0784e1e6672a79d820eac63ee28bb5132c78e4221d279b0ddabc61c630c9e0e13d0048f0707ec687fda1e7b5e9dfead0be398373c11c3edc8262975ae69611be0a57b5e857b3636a2928c9d6f9b86a7e93a82eb1a92f7d1bc0a758e722a73179298ccea514820ff2f3a54ec7eb1cfc673c135c608b0218c950d563e05b16af21555da88e26e43ca2528382483edc9fe6f48f3f26d17bd52b62beac97dadeb67e0967cfbbc3c8939230914a9bafbf76f95e39c3e110a47ce5258a5b2501e4949ad5751e89f7f459c819a9d448617224b3db9dd6b27205a488f80a4b29b28f2418f63889ba580d7767e25597ff3b5f8e307aa502c96c69df1df455fa8009c344f209ee8d1fa21b253351030bc30b321629e27d1bbb9e960b4f622d4e7ec751d79b16e7b8c584ab6adfd6236c16a47f448aae2eda2f1542303dd20c257db2abecfb2243193ce093be756ea6f3055fce054ce848e565a5b0e0242380354f1731165984509ec276349f0a173ced0eb7a671db8c9698abe0de58eea7d26f515667113a8861e0f9c059e46e386ff0a95543bee572bec766bf0643c403e7ac4d241168b86d0862688f11a1ddfff894b2d1a6a036ce42eea9c1ef7648f26153fea66b2e6363b397e9929ecca5d9faa8140dfa295d48aae021d703b4cbb3dc2c82ecbdfb1ac46a4c71e0ea9da1923adc8552f3023d0205592a69ebf65b271bf8ece20e6ecdbf0103d81a87d1a0bcf29f3c06e699db3ff4d0ec4098628df308851a5029af74d4b87c1e1af6c8228a8f72ff9742ee1d7e80d33e49a1d4a824955fd5e971755f7dc54f89ba56b6c6892eac4625e279c274f2b6a2a9949340820fa011fdcbf90dd0ca2e4d901f89000eeabf17dacd4443d26872bbe912417ac779031dd79788aedbd586082aa66656908f8758314138cf740bd4a216fe3666d0d0c9d63f6702c93d28a71e1923706cedccbea6068e8ffb619cba0b980c2c618557e0b65a021fc9c39ce8032bd0e169ee41293e1ba2d36a77c01323ebab681c7a3cda042bbd1b7fbaf039060614a5074e35256b5e8ba4efa904911eecb615ff603fd1b76309720ca5d2c11df2fd7d26ec72b6a7ab5808cd0782e3147d976df62a1718a1219a816e515d7ec7e09a607b36c750e78d74dd8a11aa6aef24bf7fc02cd6b8248fbc5be555073b2c4cc108b7fdbc959b3578a2f004808fbcf39973aa1c83afb50969d582b1011258becfc7e4438dd3ac4414f4db8bec85cce39b6eeb2e5c688769"}}}, &(0x7f0000001040)={0x0, 0x4, [0x7, 0x85b, 0x779, 0xa2f]}) csource_test.go:149: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #ifndef __NR_mmap #define __NR_mmap 5009 #endif int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {} return 0; } compiler invocation: mips64el-linux-gnuabi64-gcc [-o /tmp/syz-executor685474466 -DGOOS_linux=1 -DGOARCH_mips64le=1 -DHOSTGOOS_linux=1 -x c - -march=mips64r2 -mabi=64 -EL -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie] --- FAIL: TestGenerate/linux/mips64le/single_syz_io_uring_complete (0.16s) csource_test.go:148: opts: {Threaded:false Repeat:false RepeatTimes:0 Procs:0 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 CallComments:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}} program: syz_io_uring_complete(0x0) csource_test.go:149: failed to build program: // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #ifndef __NR_mmap #define __NR_mmap 5009 #endif #define SIZEOF_IO_URING_SQE 64 #define SIZEOF_IO_URING_CQE 16 #define SQ_HEAD_OFFSET 0 #define SQ_TAIL_OFFSET 64 #define SQ_RING_MASK_OFFSET 256 #define SQ_RING_ENTRIES_OFFSET 264 #define SQ_FLAGS_OFFSET 276 #define SQ_DROPPED_OFFSET 272 #define CQ_HEAD_OFFSET 128 #define CQ_TAIL_OFFSET 192 #define CQ_RING_MASK_OFFSET 260 #define CQ_RING_ENTRIES_OFFSET 268 #define CQ_RING_OVERFLOW_OFFSET 284 #define CQ_FLAGS_OFFSET 280 #define CQ_CQES_OFFSET 320 struct io_uring_cqe { uint64_t user_data; uint32_t res; uint32_t flags; }; static long syz_io_uring_complete(volatile long a0) { char* ring_ptr = (char*)a0; uint32_t cq_ring_mask = *(uint32_t*)(ring_ptr + CQ_RING_MASK_OFFSET); uint32_t* cq_head_ptr = (uint32_t*)(ring_ptr + CQ_HEAD_OFFSET); uint32_t cq_head = *cq_head_ptr & cq_ring_mask; uint32_t cq_head_next = *cq_head_ptr + 1; char* cqe_src = ring_ptr + CQ_CQES_OFFSET + cq_head * SIZEOF_IO_URING_CQE; struct io_uring_cqe cqe; memcpy(&cqe, cqe_src, sizeof(cqe)); __atomic_store_n(cq_head_ptr, cq_head_next, __ATOMIC_RELEASE); return (cqe.user_data == 0x12345 || cqe.user_data == 0x23456) ? (long)cqe.res : (long)-1; } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|0x2*/0x812ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) {} syz_io_uring_complete(/*ring_ptr=*/0); return 0; } compiler invocation: mips64el-linux-gnuabi64-gcc [-o /tmp/syz-executor3793992418 -DGOOS_linux=1 -DGOARCH_mips64le=1 -DHOSTGOOS_linux=1 -x c - -march=mips64r2 -mabi=64 -EL -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie] --- FAIL: TestGenerate/linux/mips64le/single_syz_genetlink_get_family_id (0.16s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_80211_join_ibss (0.16s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_usb_connect_ath9k (0.16s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_io_uring_submit (0.16s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_clone (0.16s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_usb_disconnect (0.17s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_usbip_server_init (0.17s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_usb_ep_write (0.17s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_80211_inject_frame (0.19s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_pidfd_open (0.18s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_init_net_socket (0.19s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_clone3 (0.19s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_fuse_handle_req (0.19s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_mount_image (0.20s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_usb_control_io (0.20s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_emit_vhci (0.20s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_socket_connect_nvme_tcp (0.20s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_kvm_setup_cpu (0.20s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_btf_id_by_name (0.22s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_usb_connect (0.23s) csource_test.go:146: --- FAIL: TestGenerate/linux/mips64le/single_syz_io_uring_setup (0.33s) csource_test.go:146: FAIL FAIL github.com/google/syzkaller/pkg/csource 22.866s ok github.com/google/syzkaller/pkg/db (cached) ? github.com/google/syzkaller/pkg/debugtracer [no test files] ? github.com/google/syzkaller/pkg/declextract [no test files] ok github.com/google/syzkaller/pkg/email (cached) ok github.com/google/syzkaller/pkg/email/lore (cached) ok github.com/google/syzkaller/pkg/flatrpc (cached) ok github.com/google/syzkaller/pkg/fuzzer 13.044s ok github.com/google/syzkaller/pkg/fuzzer/queue (cached) ok github.com/google/syzkaller/pkg/gce (cached) ? github.com/google/syzkaller/pkg/gcpsecret [no test files] ? github.com/google/syzkaller/pkg/gcs [no test files] ? github.com/google/syzkaller/pkg/gcs/mocks [no test files] ? github.com/google/syzkaller/pkg/hash [no test files] ? github.com/google/syzkaller/pkg/html [no test files] ok github.com/google/syzkaller/pkg/html/pages (cached) ok github.com/google/syzkaller/pkg/html/urlutil (cached) ? github.com/google/syzkaller/pkg/ifaceprobe [no test files] ok github.com/google/syzkaller/pkg/ifuzz (cached) ok github.com/google/syzkaller/pkg/ifuzz/arm64 (cached) ? github.com/google/syzkaller/pkg/ifuzz/arm64/gen [no test files] ? github.com/google/syzkaller/pkg/ifuzz/arm64/generated [no test files] ? github.com/google/syzkaller/pkg/ifuzz/iset [no test files] ? github.com/google/syzkaller/pkg/ifuzz/powerpc [no test files] ? github.com/google/syzkaller/pkg/ifuzz/powerpc/generated [no test files] ? github.com/google/syzkaller/pkg/ifuzz/x86 [no test files] ? github.com/google/syzkaller/pkg/ifuzz/x86/gen [no test files] ? github.com/google/syzkaller/pkg/ifuzz/x86/generated [no test files] ok github.com/google/syzkaller/pkg/image (cached) ok github.com/google/syzkaller/pkg/instance 2.584s ? github.com/google/syzkaller/pkg/kcidb [no test files] ok github.com/google/syzkaller/pkg/kconfig (cached) ? github.com/google/syzkaller/pkg/kcov [no test files] ok github.com/google/syzkaller/pkg/kd (cached) ok github.com/google/syzkaller/pkg/kfuzztest (cached) ? github.com/google/syzkaller/pkg/kfuzztest-executor [no test files] ? github.com/google/syzkaller/pkg/kfuzztest-manager [no test files] ok github.com/google/syzkaller/pkg/log (cached) ok github.com/google/syzkaller/pkg/manager 2.795s ok github.com/google/syzkaller/pkg/mgrconfig (cached) ok github.com/google/syzkaller/pkg/osutil (cached) ok github.com/google/syzkaller/pkg/report (cached) ? github.com/google/syzkaller/pkg/report/crash [no test files] ok github.com/google/syzkaller/pkg/repro 3.793s ok github.com/google/syzkaller/pkg/rpcserver 8.549s ? github.com/google/syzkaller/pkg/rpcserver/mocks [no test files] ? github.com/google/syzkaller/pkg/rpctype [no test files] ok github.com/google/syzkaller/pkg/runtest 24.419s ok github.com/google/syzkaller/pkg/serializer (cached) ok github.com/google/syzkaller/pkg/signal (cached) ok github.com/google/syzkaller/pkg/stat (cached) ok github.com/google/syzkaller/pkg/stat/sample (cached) ? github.com/google/syzkaller/pkg/stat/syzbotstats [no test files] ok github.com/google/syzkaller/pkg/subsystem (cached) ok github.com/google/syzkaller/pkg/subsystem/linux (cached) ok github.com/google/syzkaller/pkg/subsystem/lists (cached) ok github.com/google/syzkaller/pkg/symbolizer (cached) ? github.com/google/syzkaller/pkg/testutil [no test files] ok github.com/google/syzkaller/pkg/tool (cached) ok github.com/google/syzkaller/pkg/validator (cached) ok github.com/google/syzkaller/pkg/vcs (cached) ok github.com/google/syzkaller/pkg/vminfo (cached) ok github.com/google/syzkaller/prog (cached) ok github.com/google/syzkaller/prog/test (cached) ? github.com/google/syzkaller/sys [no test files] ? github.com/google/syzkaller/sys/darwin [no test files] ? github.com/google/syzkaller/sys/freebsd [no test files] ? github.com/google/syzkaller/sys/fuchsia [no test files] ? github.com/google/syzkaller/sys/fuchsia/fidlgen [no test files] ? github.com/google/syzkaller/sys/fuchsia/layout [no test files] ? github.com/google/syzkaller/sys/generated [no test files] ok github.com/google/syzkaller/sys/linux (cached) ok github.com/google/syzkaller/sys/netbsd (cached) ok github.com/google/syzkaller/sys/openbsd (cached) ? github.com/google/syzkaller/sys/syz-extract [no test files] ? github.com/google/syzkaller/sys/syz-sysgen [no test files] ? github.com/google/syzkaller/sys/targets [no test files] ? github.com/google/syzkaller/sys/test [no test files] ? github.com/google/syzkaller/sys/trusty [no test files] ? github.com/google/syzkaller/sys/windows [no test files] ok github.com/google/syzkaller/syz-ci 3.786s ok github.com/google/syzkaller/syz-cluster/controller (cached) ok github.com/google/syzkaller/syz-cluster/dashboard (cached) ok github.com/google/syzkaller/syz-cluster/email-reporter (cached) ? github.com/google/syzkaller/syz-cluster/pkg/api [no test files] ? github.com/google/syzkaller/syz-cluster/pkg/app [no test files] ok github.com/google/syzkaller/syz-cluster/pkg/blob (cached) ok github.com/google/syzkaller/syz-cluster/pkg/controller (cached) ok github.com/google/syzkaller/syz-cluster/pkg/db (cached) ok github.com/google/syzkaller/syz-cluster/pkg/emailclient (cached) ok github.com/google/syzkaller/syz-cluster/pkg/fuzzconfig (cached) ok github.com/google/syzkaller/syz-cluster/pkg/report (cached) ok github.com/google/syzkaller/syz-cluster/pkg/reporter (cached) ? github.com/google/syzkaller/syz-cluster/pkg/service [no test files] ok github.com/google/syzkaller/syz-cluster/pkg/triage (cached) ? github.com/google/syzkaller/syz-cluster/pkg/workflow [no test files] ? github.com/google/syzkaller/syz-cluster/reporter-server [no test files] ok github.com/google/syzkaller/syz-cluster/series-tracker (cached) ? github.com/google/syzkaller/syz-cluster/tools/db-mgmt [no test files] ? github.com/google/syzkaller/syz-cluster/tools/send-test-email [no test files] ? github.com/google/syzkaller/syz-cluster/workflow/boot-step [no test files] ? github.com/google/syzkaller/syz-cluster/workflow/build-step [no test files] ok github.com/google/syzkaller/syz-cluster/workflow/fuzz-step 2.232s ? github.com/google/syzkaller/syz-cluster/workflow/triage-step [no test files] ok github.com/google/syzkaller/syz-hub (cached) ok github.com/google/syzkaller/syz-hub/state (cached) ? github.com/google/syzkaller/syz-kfuzztest [no test files] ok github.com/google/syzkaller/syz-manager 2.266s ? github.com/google/syzkaller/tools/arm64 [no test files] ? github.com/google/syzkaller/tools/kfuzztest-gen [no test files] ? github.com/google/syzkaller/tools/syz-benchcmp [no test files] ? github.com/google/syzkaller/tools/syz-bisect [no test files] ? github.com/google/syzkaller/tools/syz-build [no test files] ? github.com/google/syzkaller/tools/syz-check [no test files] ? github.com/google/syzkaller/tools/syz-cover [no test files] ? github.com/google/syzkaller/tools/syz-covermerger [no test files] ? github.com/google/syzkaller/tools/syz-crush [no test files] ok github.com/google/syzkaller/tools/syz-db (cached) ? github.com/google/syzkaller/tools/syz-db-export [no test files] ok github.com/google/syzkaller/tools/syz-declextract 2.409s ? github.com/google/syzkaller/tools/syz-diff [no test files] ? github.com/google/syzkaller/tools/syz-execprog [no test files] ? github.com/google/syzkaller/tools/syz-expand [no test files] ? github.com/google/syzkaller/tools/syz-fillreports [no test files] ? github.com/google/syzkaller/tools/syz-fix-analyzer [no test files] ? github.com/google/syzkaller/tools/syz-fmt [no test files] ? github.com/google/syzkaller/tools/syz-gemini-seed [no test files] ? github.com/google/syzkaller/tools/syz-hubtool [no test files] ok github.com/google/syzkaller/tools/syz-imagegen (cached) ? github.com/google/syzkaller/tools/syz-kcidb [no test files] ok github.com/google/syzkaller/tools/syz-kconf (cached) ok github.com/google/syzkaller/tools/syz-linter (cached) ? github.com/google/syzkaller/tools/syz-lore [no test files] ? github.com/google/syzkaller/tools/syz-make [no test files] ? github.com/google/syzkaller/tools/syz-minconfig [no test files] ? github.com/google/syzkaller/tools/syz-mutate [no test files] ? github.com/google/syzkaller/tools/syz-prog2c [no test files] ? github.com/google/syzkaller/tools/syz-query-subsystems [no test files] ? github.com/google/syzkaller/tools/syz-reporter [no test files] ? github.com/google/syzkaller/tools/syz-repro [no test files] ? github.com/google/syzkaller/tools/syz-showprio [no test files] ? github.com/google/syzkaller/tools/syz-symbolize [no test files] ok github.com/google/syzkaller/tools/syz-testbed 2.120s ? github.com/google/syzkaller/tools/syz-testbuild [no test files] ? github.com/google/syzkaller/tools/syz-trace2syz [no test files] ok github.com/google/syzkaller/tools/syz-trace2syz/parser (cached) ok github.com/google/syzkaller/tools/syz-trace2syz/proggen (cached) ? github.com/google/syzkaller/tools/syz-tty [no test files] ? github.com/google/syzkaller/tools/syz-upgrade [no test files] ? github.com/google/syzkaller/tools/syz-usbgen [no test files] ok github.com/google/syzkaller/vm (cached) ? github.com/google/syzkaller/vm/adb [no test files] ? github.com/google/syzkaller/vm/bhyve [no test files] ? github.com/google/syzkaller/vm/cuttlefish [no test files] ok github.com/google/syzkaller/vm/dispatcher (cached) ? github.com/google/syzkaller/vm/gce [no test files] ? github.com/google/syzkaller/vm/gvisor [no test files] ok github.com/google/syzkaller/vm/isolated (cached) ok github.com/google/syzkaller/vm/proxyapp (cached) ? github.com/google/syzkaller/vm/proxyapp/mocks [no test files] ? github.com/google/syzkaller/vm/proxyapp/proxyrpc [no test files] ? github.com/google/syzkaller/vm/qemu [no test files] ? github.com/google/syzkaller/vm/starnix [no test files] ok github.com/google/syzkaller/vm/vmimpl (cached) ? github.com/google/syzkaller/vm/vmm [no test files] ? github.com/google/syzkaller/vm/vmware [no test files] FAIL