// https://syzkaller.appspot.com/bug?id=cabffad18eb74197f84871802fd2c5117b61febf // 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 static unsigned long long procid; static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } #define MAX_FDS 30 #define USB_MAX_IFACE_NUM 4 #define USB_MAX_EP_NUM 32 struct usb_iface_index { struct usb_interface_descriptor* iface; uint8_t bInterfaceNumber; uint8_t bAlternateSetting; uint8_t bInterfaceClass; struct usb_endpoint_descriptor 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; }; 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], buffer + offset, sizeof(iface->eps[iface->eps_num])); iface->eps_num++; } } offset += desc_length; } return true; } #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_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) 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_event_fetch(int fd, struct usb_raw_event* event) { return ioctl(fd, USB_RAW_IOCTL_EVENT_FETCH, event); } 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_ep_write(int fd, struct usb_raw_ep_io* io) { return ioctl(fd, USB_RAW_IOCTL_EP_WRITE, io); } 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_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); } #define MAX_USB_FDS 6 struct usb_info { int fd; struct usb_device_index index; }; static struct usb_info usb_devices[MAX_USB_FDS]; static int usb_devices_num; 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 >= MAX_USB_FDS) return NULL; int rv = 0; rv = parse_usb_descriptor(dev, dev_len, &usb_devices[i].index); if (!rv) return NULL; __atomic_store_n(&usb_devices[i].fd, fd, __ATOMIC_RELEASE); return &usb_devices[i].index; } static struct usb_device_index* lookup_usb_index(int fd) { int i; for (i = 0; i < MAX_USB_FDS; i++) { if (__atomic_load_n(&usb_devices[i].fd, __ATOMIC_ACQUIRE) == fd) { return &usb_devices[i].index; } } return NULL; } static void set_interface(int fd, int n) { struct usb_device_index* index = lookup_usb_index(fd); int ep; if (!index) return; if (index->iface_cur >= 0 && index->iface_cur < index->ifaces_num) { for (ep = 0; ep < index->ifaces[index->iface_cur].eps_num; ep++) { int rv = usb_raw_ep_disable(fd, ep); if (rv < 0) { } else { } } } if (n >= 0 && n < index->ifaces_num) { for (ep = 0; ep < index->ifaces[n].eps_num; ep++) { int rv = usb_raw_ep_enable(fd, &index->ifaces[n].eps[ep]); if (rv < 0) { } else { } } 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; } #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]; }; 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, 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) { struct usb_qualifier_descriptor* qual = (struct usb_qualifier_descriptor*)response_data; 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_length = sizeof(*qual); return true; } *response_data = descs->qual; *response_length = descs->qual_len; return true; default: break; } break; default: break; } break; default: break; } exit(1); return false; } #define ATH9K_FIRMWARE_DOWNLOAD 0x30 #define ATH9K_FIRMWARE_DOWNLOAD_COMP 0x31 static bool lookup_connect_response_out_ath9k( 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: return true; default: break; } break; case USB_TYPE_VENDOR: switch (ctrl->bRequest) { case ATH9K_FIRMWARE_DOWNLOAD: return true; case ATH9K_FIRMWARE_DOWNLOAD_COMP: *done = true; return true; default: break; } break; } exit(1); return false; } typedef bool (*lookup_connect_response_t)( int fd, const struct vusb_connect_descriptors* descs, const struct usb_ctrlrequest* ctrl, bool* done); 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_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; if (event.ctrl.bRequestType & USB_DIR_IN) { bool response_found = false; response_found = lookup_connect_response_in( fd, descs, &event.ctrl, &response_data, &response_length); if (!response_found) { return -1; } } else { if (!lookup_connect_response_out(fd, descs, &event.ctrl, &done)) { return -1; } 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_ath9k(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_ath9k); } static volatile long syz_usb_ep_write(volatile long a0, volatile long a1, volatile long a2, volatile long a3) { int fd = a0; uint16_t ep = a1; uint32_t len = a2; char* data = (char*)a3; struct usb_raw_ep_io_data io_data; io_data.inner.ep = ep; io_data.inner.flags = 0; if (len > sizeof(io_data.data)) len = sizeof(io_data.data); io_data.inner.length = len; memcpy(&io_data.data[0], data, len); int rv = usb_raw_ep_write(fd, (struct usb_raw_ep_io*)&io_data); if (rv < 0) { return rv; } sleep_ms(200); return 0; } uint64_t r[1] = {0xffffffffffffffff}; int main(void) { syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 3ul, 0x32ul, -1, 0ul); use_temporary_dir(); intptr_t res = 0; *(uint8_t*)0x20000000 = 0x12; *(uint8_t*)0x20000001 = 1; *(uint16_t*)0x20000002 = 0x200; *(uint8_t*)0x20000004 = -1; *(uint8_t*)0x20000005 = -1; *(uint8_t*)0x20000006 = -1; *(uint8_t*)0x20000007 = 0x40; *(uint16_t*)0x20000008 = 0xcf3; *(uint16_t*)0x2000000a = 0x9271; *(uint16_t*)0x2000000c = 0x108; *(uint8_t*)0x2000000e = 1; *(uint8_t*)0x2000000f = 2; *(uint8_t*)0x20000010 = 3; *(uint8_t*)0x20000011 = 1; *(uint8_t*)0x20000012 = 9; *(uint8_t*)0x20000013 = 2; *(uint16_t*)0x20000014 = 0x48; *(uint8_t*)0x20000016 = 1; *(uint8_t*)0x20000017 = 1; *(uint8_t*)0x20000018 = 0; *(uint8_t*)0x20000019 = 0x80; *(uint8_t*)0x2000001a = 0xfa; *(uint8_t*)0x2000001b = 9; *(uint8_t*)0x2000001c = 4; *(uint8_t*)0x2000001d = 0; *(uint8_t*)0x2000001e = 0; *(uint8_t*)0x2000001f = 6; *(uint8_t*)0x20000020 = -1; *(uint8_t*)0x20000021 = 0; *(uint8_t*)0x20000022 = 0; *(uint8_t*)0x20000023 = 0; *(uint8_t*)0x20000024 = 9; *(uint8_t*)0x20000025 = 5; *(uint8_t*)0x20000026 = 1; *(uint8_t*)0x20000027 = 2; *(uint16_t*)0x20000028 = 0x200; *(uint8_t*)0x2000002a = 0; *(uint8_t*)0x2000002b = 0; *(uint8_t*)0x2000002c = 0; *(uint8_t*)0x2000002d = 9; *(uint8_t*)0x2000002e = 5; *(uint8_t*)0x2000002f = 0x82; *(uint8_t*)0x20000030 = 2; *(uint16_t*)0x20000031 = 0x200; *(uint8_t*)0x20000033 = 0; *(uint8_t*)0x20000034 = 0; *(uint8_t*)0x20000035 = 0; *(uint8_t*)0x20000036 = 9; *(uint8_t*)0x20000037 = 5; *(uint8_t*)0x20000038 = 0x83; *(uint8_t*)0x20000039 = 3; *(uint16_t*)0x2000003a = 0x40; *(uint8_t*)0x2000003c = 1; *(uint8_t*)0x2000003d = 0; *(uint8_t*)0x2000003e = 0; *(uint8_t*)0x2000003f = 9; *(uint8_t*)0x20000040 = 5; *(uint8_t*)0x20000041 = 4; *(uint8_t*)0x20000042 = 3; *(uint16_t*)0x20000043 = 0x40; *(uint8_t*)0x20000045 = 1; *(uint8_t*)0x20000046 = 0; *(uint8_t*)0x20000047 = 0; *(uint8_t*)0x20000048 = 9; *(uint8_t*)0x20000049 = 5; *(uint8_t*)0x2000004a = 5; *(uint8_t*)0x2000004b = 2; *(uint16_t*)0x2000004c = 0x200; *(uint8_t*)0x2000004e = 0; *(uint8_t*)0x2000004f = 0; *(uint8_t*)0x20000050 = 0; *(uint8_t*)0x20000051 = 9; *(uint8_t*)0x20000052 = 5; *(uint8_t*)0x20000053 = 6; *(uint8_t*)0x20000054 = 2; *(uint16_t*)0x20000055 = 0x200; *(uint8_t*)0x20000057 = 0; *(uint8_t*)0x20000058 = 0; *(uint8_t*)0x20000059 = 0; res = syz_usb_connect_ath9k(3, 0x5a, 0x20000000, 0); if (res != -1) r[0] = res; *(uint16_t*)0x200020c0 = 0; *(uint16_t*)0x200020c2 = 0x4e00; *(uint16_t*)0x200020c4 = 0xfff7; *(uint16_t*)0x200020c6 = 0x4e00; memcpy((void*)0x200020c8, "\xd4", 1); syz_usb_ep_write(r[0], 1, 0xc, 0x200020c0); memcpy( (void*)0x20000080, "\xa8\x00\x00\x4e\xbe\xd5\x66\x4b\xd1\xd0\xef\x91\xbe\xfc\x7e\x01\x86\x27" "\x83\x26\x53\xac\xec\x00\x8d\xc8\x07\x9f\x84\xfe\x58\x3f\x88\x00\x58\x50" "\x23\xbd\x59\xe0\x37\x6f\x23\xcf\x18\x4f\x00\x35\xb9\xfc\xae\xa4\x5e\xb6" "\x5e\x66\xc2\x5d\xe9\xf5\x08\x0e\x44\x05\xef\xf3\x8f\xf1\x34\x4d\xcf\x1c" "\x48\x15\x14\x7c\x11\xe7\x2d\x57\xe3\xa2\x6f\xaf\xb6\x54\x3b\xbd\xf8\xd7" "\xf5\xe7\x20\x0c\x52\x3f\xa7\x9a\x4b\x62\xa5\x75\x7a\xd4\xba\x55\xc7\xea" "\xc3\x33\xbe\x83\xbf\x54\x45\xf1\x58\xdf\x7d\xbc\x4f\xcc\x4b\x1f\x66\x56" "\x5c\x2b\x92\xde\x10\x01\x2c\x52\xca\x38\xee\xf4\x3c\x22\x87\xec\x76\xe6" "\xa7\x08\xa2\x29\xc6\x7b\xa6\x60\xd0\x18\x71\x52\x6f\x01\xf9\x2e\xc7\x7d" "\xf7\x03\xfe\x61\x35\xa1\x9f\x34\x97\x1b\x47\x00\x00\x4e\x19\xfa\x29\x63" "\x16\x54\x8b\x65\x96\xe7\x17\x6e\x1b\xef\x82\x51\x52\x9e\xa3\x69\x08\x46" "\x59\x8e\xcb\x3b\xce\x42\x5e\x8f\x70\x2f\xaa\x64\x8c\xf0\xdf\x41\xe7\x34" "\xc9\xf0\xef\x95\xfd\xec\x0e\x4d\xb0\xe0\x6b\x05\x5a\xe8\x94\xba\x12\x6b" "\xa9\xdc\x33\xf7\x29\xca\x29\xa2\x7d\x80\xa9\xf6\x9b\x00\xfc\x00\x00\x4e" "\xbe\x15\x60\x74\x9b\xf2\x24\xbb\xa1\xca\x17\x68\x6a\xc4\xb1\xf0\xb9\xca" "\xa4\xa1\x81\xf1\xf4\xca\xb9\xf3\xf8\xcb\x97\x8a\xa8\x40\x45\x75\x25\xac" "\x9d\x55\x8f\x21\xbf\xdf\xcc\xb9\x23\x35\xd9\xb7\x75\x18\xf3\x78\x70\xef" "\x7d\x6e\xf2\x21\x55\x27\xf1\xff\x08\x4a\x15\xb7\x1f\xc3\x7f\x69\x3b\xef" "\x0e\xa8\x77\x38\x7c\x0a\xc5\xd5\x53\x5d\xf0\x9c\x33\xe1\x1d\xc7\xad\x27" "\x6c\xc2\xbd\xa4\x26\x3e\xf3\xa3\xe5\xef\xba\x11\x43\xb4\xf5\x61\x14\xcb" "\xe0\xe9\x6c\x26\xc6\x2c\x69\xac\x51\x24\x97\xb3\xea\x4b\x81\x70\x2e\x68" "\xfd\x06\xa2\xae\xc6\x00\xd0\x9b\x54\xa8\xf3\xfd\xfe\xaa\xc6\x87\xc8\xdc" "\x03\xe2\xa6\x66\x7b\x79\x4c\xe2\x4b\x6d\x3d\xd8\x87\xa8\x31\x65\xd5\x4d" "\xbf\x89\x4c\x36\x5e\xdf\xa3\x59\xa7\x8a\x60\x6c\x9f\x26\x0f\xcb\x2b\xf7" "\x07\x68\x4a\x01\xb1\xc1\xc4\xea\x96\xe1\xaf\x7c\x9e\x57\xd1\x89\xf6\x9c" "\xb5\xbb\x60\x10\xca\xda\xd0\x6a\x3f\x48\x66\x1d\xc4\x72\x69\x11\xf5\x0c" "\x8f\xb8\x6f\xfb\x6f\x84\x5a\xf0\x89\x5b\x50\xd8\x52\x62\x02\xbd\x05\xa0" "\x38\x01\x1a\x0a\x48\x2c\x32\xd0\x3c\xe7\x12\x10\x21\x7e\x73\xed\x9c\x97" "\xe7\x00\x00\x4e\x4f\xcb\xe5\x4f\x11\x0c\xcd\xbe\x19\x0b\x2f\x55\x96\xd3" "\x10\xa7\xdd\xb5\x1d\x65\xb5\xea\xf1\x3f\xd6\x60\x22\x68\xd1\x6c\xb8\x12" "\xdc\xc0\x04\xba\x4a\x12\xa9\x23\xde\x0a\x38\x2a\x6c\xa5\xe4\x16\x6d\x46" "\x82\x09\xf7\xee\x30\x2c\xa3\x3e\x77\x6f\x77\x58\xd0\xdd\x17\x87\xed\x84" "\x9f\xcc\x74\x5a\xb8\xfc\x7d\xdc\x9b\x9c\x5d\x6b\xdb\xaa\x17\x2a\xb9\x77" "\xd5\x6a\x1f\x36\x3b\x16\x88\xf6\x62\x02\xf2\x8b\x5e\x6f\x68\xee\x0d\x85" "\x7f\x7b\xd2\x92\x9b\x15\x81\x93\x0a\x72\x0f\xc3\x93\x76\xad\xb7\x8f\x45" "\x3b\x1c\xe5\x3a\x1e\x8c\xd5\x6c\xb3\x8e\x33\x08\x30\x50\x7d\xd6\x3c\xeb" "\xa4\xd1\x94\xec\xc2\xde\x3d\x12\xd2\x96\x19\x1f\x9b\x8a\x61\xf0\xab\xa3" "\x08\x7d\xe6\x2e\x9e\x60\xcc\x9c\x6e\x89\xbe\x52\xd1\x3e\x0d\x2e\x0d\xd4" "\x77\x4e\xae\xea\x62\x3b\x9b\x33\x63\xb5\xc2\x46\xc9\x57\x41\xb5\xa8\x5d" "\x1f\xe7\xc0\x12\x17\x13\xba\x8a\xa8\x4c\x0d\x26\x8f\x0c\x5b\x84\x36\xf3" "\x1e\xbb\x4c\x2a\x5a\x39\x7b\xb4\x55\xbb\x33\xb0\xe8\xfb\x98\x33\x68\xe4" "\xd8\x00", 740); syz_usb_ep_write(r[0], 1, 0x2e4, 0x20000080); return 0; }