// https://syzkaller.appspot.com/bug?id=7a53091be2839c92272bbbeb7c7e9cf89503b9e8 // 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifndef __NR_memfd_create #define __NR_memfd_create 319 #endif #ifndef __NR_pwritev2 #define __NR_pwritev2 328 #endif static unsigned long long procid; static __thread int clone_ongoing; static __thread int skip_segv; static __thread jmp_buf segv_env; static void segv_handler(int sig, siginfo_t* info, void* ctx) { if (__atomic_load_n(&clone_ongoing, __ATOMIC_RELAXED) != 0) { exit(sig); } uintptr_t addr = (uintptr_t)info->si_addr; const uintptr_t prog_start = 1 << 20; const uintptr_t prog_end = 100 << 20; int skip = __atomic_load_n(&skip_segv, __ATOMIC_RELAXED) != 0; int valid = addr < prog_start || addr > prog_end; if (skip && valid) { _longjmp(segv_env, 1); } exit(sig); } static void install_segv_handler(void) { struct sigaction sa; memset(&sa, 0, sizeof(sa)); sa.sa_handler = SIG_IGN; syscall(SYS_rt_sigaction, 0x20, &sa, NULL, 8); syscall(SYS_rt_sigaction, 0x21, &sa, NULL, 8); memset(&sa, 0, sizeof(sa)); sa.sa_sigaction = segv_handler; sa.sa_flags = SA_NODEFER | SA_SIGINFO; sigaction(SIGSEGV, &sa, NULL); sigaction(SIGBUS, &sa, NULL); } #define NONFAILING(...) \ ({ \ int ok = 1; \ __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \ if (_setjmp(segv_env) == 0) { \ __VA_ARGS__; \ } else \ ok = 0; \ __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \ ok; \ }) static bool write_file(const char* file, const char* what, ...) { char buf[1024]; va_list args; va_start(args, what); vsnprintf(buf, sizeof(buf), what, args); va_end(args); buf[sizeof(buf) - 1] = 0; int len = strlen(buf); int fd = open(file, O_WRONLY | O_CLOEXEC); if (fd == -1) return false; if (write(fd, buf, len) != len) { int err = errno; close(fd); errno = err; return false; } close(fd); return true; } struct nlmsg { char* pos; int nesting; struct nlattr* nested[8]; char buf[4096]; }; static void netlink_init(struct nlmsg* nlmsg, int typ, int flags, const void* data, int size) { memset(nlmsg, 0, sizeof(*nlmsg)); struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf; hdr->nlmsg_type = typ; hdr->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | flags; memcpy(hdr + 1, data, size); nlmsg->pos = (char*)(hdr + 1) + NLMSG_ALIGN(size); } static void netlink_attr(struct nlmsg* nlmsg, int typ, const void* data, int size) { struct nlattr* attr = (struct nlattr*)nlmsg->pos; attr->nla_len = sizeof(*attr) + size; attr->nla_type = typ; if (size > 0) memcpy(attr + 1, data, size); nlmsg->pos += NLMSG_ALIGN(attr->nla_len); } static void netlink_nest(struct nlmsg* nlmsg, int typ) { struct nlattr* attr = (struct nlattr*)nlmsg->pos; attr->nla_type = typ; nlmsg->pos += sizeof(*attr); nlmsg->nested[nlmsg->nesting++] = attr; } static void netlink_done(struct nlmsg* nlmsg) { struct nlattr* attr = nlmsg->nested[--nlmsg->nesting]; attr->nla_len = nlmsg->pos - (char*)attr; } static int netlink_send_ext(struct nlmsg* nlmsg, int sock, uint16_t reply_type, int* reply_len, bool dofail) { if (nlmsg->pos > nlmsg->buf + sizeof(nlmsg->buf) || nlmsg->nesting) exit(1); struct nlmsghdr* hdr = (struct nlmsghdr*)nlmsg->buf; hdr->nlmsg_len = nlmsg->pos - nlmsg->buf; struct sockaddr_nl addr; memset(&addr, 0, sizeof(addr)); addr.nl_family = AF_NETLINK; ssize_t n = sendto(sock, nlmsg->buf, hdr->nlmsg_len, 0, (struct sockaddr*)&addr, sizeof(addr)); if (n != (ssize_t)hdr->nlmsg_len) { if (dofail) exit(1); return -1; } n = recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0); if (reply_len) *reply_len = 0; if (n < 0) { if (dofail) exit(1); return -1; } if (n < (ssize_t)sizeof(struct nlmsghdr)) { errno = EINVAL; if (dofail) exit(1); return -1; } if (hdr->nlmsg_type == NLMSG_DONE) return 0; if (reply_len && hdr->nlmsg_type == reply_type) { *reply_len = n; return 0; } if (n < (ssize_t)(sizeof(struct nlmsghdr) + sizeof(struct nlmsgerr))) { errno = EINVAL; if (dofail) exit(1); return -1; } if (hdr->nlmsg_type != NLMSG_ERROR) { errno = EINVAL; if (dofail) exit(1); return -1; } errno = -((struct nlmsgerr*)(hdr + 1))->error; return -errno; } static int netlink_send(struct nlmsg* nlmsg, int sock) { return netlink_send_ext(nlmsg, sock, 0, NULL, true); } static int netlink_query_family_id(struct nlmsg* nlmsg, int sock, const char* family_name, bool dofail) { struct genlmsghdr genlhdr; memset(&genlhdr, 0, sizeof(genlhdr)); genlhdr.cmd = CTRL_CMD_GETFAMILY; netlink_init(nlmsg, GENL_ID_CTRL, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(nlmsg, CTRL_ATTR_FAMILY_NAME, family_name, strnlen(family_name, GENL_NAMSIZ - 1) + 1); int n = 0; int err = netlink_send_ext(nlmsg, sock, GENL_ID_CTRL, &n, dofail); if (err < 0) { return -1; } uint16_t id = 0; struct nlattr* attr = (struct nlattr*)(nlmsg->buf + NLMSG_HDRLEN + NLMSG_ALIGN(sizeof(genlhdr))); for (; (char*)attr < nlmsg->buf + n; attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) { if (attr->nla_type == CTRL_ATTR_FAMILY_ID) { id = *(uint16_t*)(attr + 1); break; } } if (!id) { errno = EINVAL; return -1; } recv(sock, nlmsg->buf, sizeof(nlmsg->buf), 0); return id; } static int netlink_next_msg(struct nlmsg* nlmsg, unsigned int offset, unsigned int total_len) { struct nlmsghdr* hdr = (struct nlmsghdr*)(nlmsg->buf + offset); if (offset == total_len || offset + hdr->nlmsg_len > total_len) return -1; return hdr->nlmsg_len; } static void netlink_add_device_impl(struct nlmsg* nlmsg, const char* type, const char* name, bool up) { struct ifinfomsg hdr; memset(&hdr, 0, sizeof(hdr)); if (up) hdr.ifi_flags = hdr.ifi_change = IFF_UP; netlink_init(nlmsg, RTM_NEWLINK, NLM_F_EXCL | NLM_F_CREATE, &hdr, sizeof(hdr)); if (name) netlink_attr(nlmsg, IFLA_IFNAME, name, strlen(name)); netlink_nest(nlmsg, IFLA_LINKINFO); netlink_attr(nlmsg, IFLA_INFO_KIND, type, strlen(type)); } static void netlink_add_device(struct nlmsg* nlmsg, int sock, const char* type, const char* name) { netlink_add_device_impl(nlmsg, type, name, false); netlink_done(nlmsg); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_veth(struct nlmsg* nlmsg, int sock, const char* name, const char* peer) { netlink_add_device_impl(nlmsg, "veth", name, false); netlink_nest(nlmsg, IFLA_INFO_DATA); netlink_nest(nlmsg, VETH_INFO_PEER); nlmsg->pos += sizeof(struct ifinfomsg); netlink_attr(nlmsg, IFLA_IFNAME, peer, strlen(peer)); netlink_done(nlmsg); netlink_done(nlmsg); netlink_done(nlmsg); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_xfrm(struct nlmsg* nlmsg, int sock, const char* name) { netlink_add_device_impl(nlmsg, "xfrm", name, true); netlink_nest(nlmsg, IFLA_INFO_DATA); int if_id = 1; netlink_attr(nlmsg, 2, &if_id, sizeof(if_id)); netlink_done(nlmsg); netlink_done(nlmsg); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_hsr(struct nlmsg* nlmsg, int sock, const char* name, const char* slave1, const char* slave2) { netlink_add_device_impl(nlmsg, "hsr", name, false); netlink_nest(nlmsg, IFLA_INFO_DATA); int ifindex1 = if_nametoindex(slave1); netlink_attr(nlmsg, IFLA_HSR_SLAVE1, &ifindex1, sizeof(ifindex1)); int ifindex2 = if_nametoindex(slave2); netlink_attr(nlmsg, IFLA_HSR_SLAVE2, &ifindex2, sizeof(ifindex2)); netlink_done(nlmsg); netlink_done(nlmsg); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_linked(struct nlmsg* nlmsg, int sock, const char* type, const char* name, const char* link) { netlink_add_device_impl(nlmsg, type, name, false); netlink_done(nlmsg); int ifindex = if_nametoindex(link); netlink_attr(nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex)); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_vlan(struct nlmsg* nlmsg, int sock, const char* name, const char* link, uint16_t id, uint16_t proto) { netlink_add_device_impl(nlmsg, "vlan", name, false); netlink_nest(nlmsg, IFLA_INFO_DATA); netlink_attr(nlmsg, IFLA_VLAN_ID, &id, sizeof(id)); netlink_attr(nlmsg, IFLA_VLAN_PROTOCOL, &proto, sizeof(proto)); netlink_done(nlmsg); netlink_done(nlmsg); int ifindex = if_nametoindex(link); netlink_attr(nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex)); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_macvlan(struct nlmsg* nlmsg, int sock, const char* name, const char* link) { netlink_add_device_impl(nlmsg, "macvlan", name, false); netlink_nest(nlmsg, IFLA_INFO_DATA); uint32_t mode = MACVLAN_MODE_BRIDGE; netlink_attr(nlmsg, IFLA_MACVLAN_MODE, &mode, sizeof(mode)); netlink_done(nlmsg); netlink_done(nlmsg); int ifindex = if_nametoindex(link); netlink_attr(nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex)); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_add_geneve(struct nlmsg* nlmsg, int sock, const char* name, uint32_t vni, struct in_addr* addr4, struct in6_addr* addr6) { netlink_add_device_impl(nlmsg, "geneve", name, false); netlink_nest(nlmsg, IFLA_INFO_DATA); netlink_attr(nlmsg, IFLA_GENEVE_ID, &vni, sizeof(vni)); if (addr4) netlink_attr(nlmsg, IFLA_GENEVE_REMOTE, addr4, sizeof(*addr4)); if (addr6) netlink_attr(nlmsg, IFLA_GENEVE_REMOTE6, addr6, sizeof(*addr6)); netlink_done(nlmsg); netlink_done(nlmsg); int err = netlink_send(nlmsg, sock); if (err < 0) { } } #define IFLA_IPVLAN_FLAGS 2 #define IPVLAN_MODE_L3S 2 #undef IPVLAN_F_VEPA #define IPVLAN_F_VEPA 2 static void netlink_add_ipvlan(struct nlmsg* nlmsg, int sock, const char* name, const char* link, uint16_t mode, uint16_t flags) { netlink_add_device_impl(nlmsg, "ipvlan", name, false); netlink_nest(nlmsg, IFLA_INFO_DATA); netlink_attr(nlmsg, IFLA_IPVLAN_MODE, &mode, sizeof(mode)); netlink_attr(nlmsg, IFLA_IPVLAN_FLAGS, &flags, sizeof(flags)); netlink_done(nlmsg); netlink_done(nlmsg); int ifindex = if_nametoindex(link); netlink_attr(nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex)); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static void netlink_device_change(struct nlmsg* nlmsg, int sock, const char* name, bool up, const char* master, const void* mac, int macsize, const char* new_name) { struct ifinfomsg hdr; memset(&hdr, 0, sizeof(hdr)); if (up) hdr.ifi_flags = hdr.ifi_change = IFF_UP; hdr.ifi_index = if_nametoindex(name); netlink_init(nlmsg, RTM_NEWLINK, 0, &hdr, sizeof(hdr)); if (new_name) netlink_attr(nlmsg, IFLA_IFNAME, new_name, strlen(new_name)); if (master) { int ifindex = if_nametoindex(master); netlink_attr(nlmsg, IFLA_MASTER, &ifindex, sizeof(ifindex)); } if (macsize) netlink_attr(nlmsg, IFLA_ADDRESS, mac, macsize); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static int netlink_add_addr(struct nlmsg* nlmsg, int sock, const char* dev, const void* addr, int addrsize) { struct ifaddrmsg hdr; memset(&hdr, 0, sizeof(hdr)); hdr.ifa_family = addrsize == 4 ? AF_INET : AF_INET6; hdr.ifa_prefixlen = addrsize == 4 ? 24 : 120; hdr.ifa_scope = RT_SCOPE_UNIVERSE; hdr.ifa_index = if_nametoindex(dev); netlink_init(nlmsg, RTM_NEWADDR, NLM_F_CREATE | NLM_F_REPLACE, &hdr, sizeof(hdr)); netlink_attr(nlmsg, IFA_LOCAL, addr, addrsize); netlink_attr(nlmsg, IFA_ADDRESS, addr, addrsize); return netlink_send(nlmsg, sock); } static void netlink_add_addr4(struct nlmsg* nlmsg, int sock, const char* dev, const char* addr) { struct in_addr in_addr; inet_pton(AF_INET, addr, &in_addr); int err = netlink_add_addr(nlmsg, sock, dev, &in_addr, sizeof(in_addr)); if (err < 0) { } } static void netlink_add_addr6(struct nlmsg* nlmsg, int sock, const char* dev, const char* addr) { struct in6_addr in6_addr; inet_pton(AF_INET6, addr, &in6_addr); int err = netlink_add_addr(nlmsg, sock, dev, &in6_addr, sizeof(in6_addr)); if (err < 0) { } } static struct nlmsg nlmsg; #define DEVLINK_FAMILY_NAME "devlink" #define DEVLINK_CMD_PORT_GET 5 #define DEVLINK_ATTR_BUS_NAME 1 #define DEVLINK_ATTR_DEV_NAME 2 #define DEVLINK_ATTR_NETDEV_NAME 7 static struct nlmsg nlmsg2; static void initialize_devlink_ports(const char* bus_name, const char* dev_name, const char* netdev_prefix) { struct genlmsghdr genlhdr; int len, total_len, id, err, offset; uint16_t netdev_index; int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); if (sock == -1) exit(1); int rtsock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (rtsock == -1) exit(1); id = netlink_query_family_id(&nlmsg, sock, DEVLINK_FAMILY_NAME, true); if (id == -1) goto error; memset(&genlhdr, 0, sizeof(genlhdr)); genlhdr.cmd = DEVLINK_CMD_PORT_GET; netlink_init(&nlmsg, id, NLM_F_DUMP, &genlhdr, sizeof(genlhdr)); netlink_attr(&nlmsg, DEVLINK_ATTR_BUS_NAME, bus_name, strlen(bus_name) + 1); netlink_attr(&nlmsg, DEVLINK_ATTR_DEV_NAME, dev_name, strlen(dev_name) + 1); err = netlink_send_ext(&nlmsg, sock, id, &total_len, true); if (err < 0) { goto error; } offset = 0; netdev_index = 0; while ((len = netlink_next_msg(&nlmsg, offset, total_len)) != -1) { struct nlattr* attr = (struct nlattr*)(nlmsg.buf + offset + NLMSG_HDRLEN + NLMSG_ALIGN(sizeof(genlhdr))); for (; (char*)attr < nlmsg.buf + offset + len; attr = (struct nlattr*)((char*)attr + NLMSG_ALIGN(attr->nla_len))) { if (attr->nla_type == DEVLINK_ATTR_NETDEV_NAME) { char* port_name; char netdev_name[IFNAMSIZ]; port_name = (char*)(attr + 1); snprintf(netdev_name, sizeof(netdev_name), "%s%d", netdev_prefix, netdev_index); netlink_device_change(&nlmsg2, rtsock, port_name, true, 0, 0, 0, netdev_name); break; } } offset += len; netdev_index++; } error: close(rtsock); close(sock); } #define DEV_IPV4 "172.20.20.%d" #define DEV_IPV6 "fe80::%02x" #define DEV_MAC 0x00aaaaaaaaaa static void netdevsim_add(unsigned int addr, unsigned int port_count) { write_file("/sys/bus/netdevsim/del_device", "%u", addr); if (write_file("/sys/bus/netdevsim/new_device", "%u %u", addr, port_count)) { char buf[32]; snprintf(buf, sizeof(buf), "netdevsim%d", addr); initialize_devlink_ports("netdevsim", buf, "netdevsim"); } } #define WG_GENL_NAME "wireguard" enum wg_cmd { WG_CMD_GET_DEVICE, WG_CMD_SET_DEVICE, }; enum wgdevice_attribute { WGDEVICE_A_UNSPEC, WGDEVICE_A_IFINDEX, WGDEVICE_A_IFNAME, WGDEVICE_A_PRIVATE_KEY, WGDEVICE_A_PUBLIC_KEY, WGDEVICE_A_FLAGS, WGDEVICE_A_LISTEN_PORT, WGDEVICE_A_FWMARK, WGDEVICE_A_PEERS, }; enum wgpeer_attribute { WGPEER_A_UNSPEC, WGPEER_A_PUBLIC_KEY, WGPEER_A_PRESHARED_KEY, WGPEER_A_FLAGS, WGPEER_A_ENDPOINT, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, WGPEER_A_LAST_HANDSHAKE_TIME, WGPEER_A_RX_BYTES, WGPEER_A_TX_BYTES, WGPEER_A_ALLOWEDIPS, WGPEER_A_PROTOCOL_VERSION, }; enum wgallowedip_attribute { WGALLOWEDIP_A_UNSPEC, WGALLOWEDIP_A_FAMILY, WGALLOWEDIP_A_IPADDR, WGALLOWEDIP_A_CIDR_MASK, }; static void netlink_wireguard_setup(void) { const char ifname_a[] = "wg0"; const char ifname_b[] = "wg1"; const char ifname_c[] = "wg2"; const char private_a[] = "\xa0\x5c\xa8\x4f\x6c\x9c\x8e\x38\x53\xe2\xfd\x7a\x70\xae\x0f\xb2\x0f\xa1" "\x52\x60\x0c\xb0\x08\x45\x17\x4f\x08\x07\x6f\x8d\x78\x43"; const char private_b[] = "\xb0\x80\x73\xe8\xd4\x4e\x91\xe3\xda\x92\x2c\x22\x43\x82\x44\xbb\x88\x5c" "\x69\xe2\x69\xc8\xe9\xd8\x35\xb1\x14\x29\x3a\x4d\xdc\x6e"; const char private_c[] = "\xa0\xcb\x87\x9a\x47\xf5\xbc\x64\x4c\x0e\x69\x3f\xa6\xd0\x31\xc7\x4a\x15" "\x53\xb6\xe9\x01\xb9\xff\x2f\x51\x8c\x78\x04\x2f\xb5\x42"; const char public_a[] = "\x97\x5c\x9d\x81\xc9\x83\xc8\x20\x9e\xe7\x81\x25\x4b\x89\x9f\x8e\xd9\x25" "\xae\x9f\x09\x23\xc2\x3c\x62\xf5\x3c\x57\xcd\xbf\x69\x1c"; const char public_b[] = "\xd1\x73\x28\x99\xf6\x11\xcd\x89\x94\x03\x4d\x7f\x41\x3d\xc9\x57\x63\x0e" "\x54\x93\xc2\x85\xac\xa4\x00\x65\xcb\x63\x11\xbe\x69\x6b"; const char public_c[] = "\xf4\x4d\xa3\x67\xa8\x8e\xe6\x56\x4f\x02\x02\x11\x45\x67\x27\x08\x2f\x5c" "\xeb\xee\x8b\x1b\xf5\xeb\x73\x37\x34\x1b\x45\x9b\x39\x22"; const uint16_t listen_a = 20001; const uint16_t listen_b = 20002; const uint16_t listen_c = 20003; const uint16_t af_inet = AF_INET; const uint16_t af_inet6 = AF_INET6; const struct sockaddr_in endpoint_b_v4 = { .sin_family = AF_INET, .sin_port = htons(listen_b), .sin_addr = {htonl(INADDR_LOOPBACK)}}; const struct sockaddr_in endpoint_c_v4 = { .sin_family = AF_INET, .sin_port = htons(listen_c), .sin_addr = {htonl(INADDR_LOOPBACK)}}; struct sockaddr_in6 endpoint_a_v6 = {.sin6_family = AF_INET6, .sin6_port = htons(listen_a)}; endpoint_a_v6.sin6_addr = in6addr_loopback; struct sockaddr_in6 endpoint_c_v6 = {.sin6_family = AF_INET6, .sin6_port = htons(listen_c)}; endpoint_c_v6.sin6_addr = in6addr_loopback; const struct in_addr first_half_v4 = {0}; const struct in_addr second_half_v4 = {(uint32_t)htonl(128 << 24)}; const struct in6_addr first_half_v6 = {{{0}}}; const struct in6_addr second_half_v6 = {{{0x80}}}; const uint8_t half_cidr = 1; const uint16_t persistent_keepalives[] = {1, 3, 7, 9, 14, 19}; struct genlmsghdr genlhdr = {.cmd = WG_CMD_SET_DEVICE, .version = 1}; int sock; int id, err; sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); if (sock == -1) { return; } id = netlink_query_family_id(&nlmsg, sock, WG_GENL_NAME, true); if (id == -1) goto error; netlink_init(&nlmsg, id, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(&nlmsg, WGDEVICE_A_IFNAME, ifname_a, strlen(ifname_a) + 1); netlink_attr(&nlmsg, WGDEVICE_A_PRIVATE_KEY, private_a, 32); netlink_attr(&nlmsg, WGDEVICE_A_LISTEN_PORT, &listen_a, 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGDEVICE_A_PEERS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_b, 32); netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_b_v4, sizeof(endpoint_b_v4)); netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, &persistent_keepalives[0], 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v4, sizeof(first_half_v4)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v6, sizeof(first_half_v6)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_c, 32); netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_c_v6, sizeof(endpoint_c_v6)); netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, &persistent_keepalives[1], 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v4, sizeof(second_half_v4)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v6, sizeof(second_half_v6)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); err = netlink_send(&nlmsg, sock); if (err < 0) { } netlink_init(&nlmsg, id, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(&nlmsg, WGDEVICE_A_IFNAME, ifname_b, strlen(ifname_b) + 1); netlink_attr(&nlmsg, WGDEVICE_A_PRIVATE_KEY, private_b, 32); netlink_attr(&nlmsg, WGDEVICE_A_LISTEN_PORT, &listen_b, 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGDEVICE_A_PEERS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_a, 32); netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_a_v6, sizeof(endpoint_a_v6)); netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, &persistent_keepalives[2], 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v4, sizeof(first_half_v4)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v6, sizeof(first_half_v6)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_c, 32); netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_c_v4, sizeof(endpoint_c_v4)); netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, &persistent_keepalives[3], 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v4, sizeof(second_half_v4)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v6, sizeof(second_half_v6)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); err = netlink_send(&nlmsg, sock); if (err < 0) { } netlink_init(&nlmsg, id, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(&nlmsg, WGDEVICE_A_IFNAME, ifname_c, strlen(ifname_c) + 1); netlink_attr(&nlmsg, WGDEVICE_A_PRIVATE_KEY, private_c, 32); netlink_attr(&nlmsg, WGDEVICE_A_LISTEN_PORT, &listen_c, 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGDEVICE_A_PEERS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_a, 32); netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_a_v6, sizeof(endpoint_a_v6)); netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, &persistent_keepalives[4], 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v4, sizeof(first_half_v4)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &first_half_v6, sizeof(first_half_v6)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGPEER_A_PUBLIC_KEY, public_b, 32); netlink_attr(&nlmsg, WGPEER_A_ENDPOINT, &endpoint_b_v4, sizeof(endpoint_b_v4)); netlink_attr(&nlmsg, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, &persistent_keepalives[5], 2); netlink_nest(&nlmsg, NLA_F_NESTED | WGPEER_A_ALLOWEDIPS); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v4, sizeof(second_half_v4)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_nest(&nlmsg, NLA_F_NESTED | 0); netlink_attr(&nlmsg, WGALLOWEDIP_A_FAMILY, &af_inet6, 2); netlink_attr(&nlmsg, WGALLOWEDIP_A_IPADDR, &second_half_v6, sizeof(second_half_v6)); netlink_attr(&nlmsg, WGALLOWEDIP_A_CIDR_MASK, &half_cidr, 1); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); netlink_done(&nlmsg); err = netlink_send(&nlmsg, sock); if (err < 0) { } error: close(sock); } static void initialize_netdevices(void) { char netdevsim[16]; sprintf(netdevsim, "netdevsim%d", (int)procid); struct { const char* type; const char* dev; } devtypes[] = { {"ip6gretap", "ip6gretap0"}, {"bridge", "bridge0"}, {"vcan", "vcan0"}, {"bond", "bond0"}, {"team", "team0"}, {"dummy", "dummy0"}, {"nlmon", "nlmon0"}, {"caif", "caif0"}, {"batadv", "batadv0"}, {"vxcan", "vxcan1"}, {"veth", 0}, {"wireguard", "wg0"}, {"wireguard", "wg1"}, {"wireguard", "wg2"}, }; const char* devmasters[] = {"bridge", "bond", "team", "batadv"}; struct { const char* name; int macsize; bool noipv6; } devices[] = { {"lo", ETH_ALEN}, {"sit0", 0}, {"bridge0", ETH_ALEN}, {"vcan0", 0, true}, {"tunl0", 0}, {"gre0", 0}, {"gretap0", ETH_ALEN}, {"ip_vti0", 0}, {"ip6_vti0", 0}, {"ip6tnl0", 0}, {"ip6gre0", 0}, {"ip6gretap0", ETH_ALEN}, {"erspan0", ETH_ALEN}, {"bond0", ETH_ALEN}, {"veth0", ETH_ALEN}, {"veth1", ETH_ALEN}, {"team0", ETH_ALEN}, {"veth0_to_bridge", ETH_ALEN}, {"veth1_to_bridge", ETH_ALEN}, {"veth0_to_bond", ETH_ALEN}, {"veth1_to_bond", ETH_ALEN}, {"veth0_to_team", ETH_ALEN}, {"veth1_to_team", ETH_ALEN}, {"veth0_to_hsr", ETH_ALEN}, {"veth1_to_hsr", ETH_ALEN}, {"hsr0", 0}, {"dummy0", ETH_ALEN}, {"nlmon0", 0}, {"vxcan0", 0, true}, {"vxcan1", 0, true}, {"caif0", ETH_ALEN}, {"batadv0", ETH_ALEN}, {netdevsim, ETH_ALEN}, {"xfrm0", ETH_ALEN}, {"veth0_virt_wifi", ETH_ALEN}, {"veth1_virt_wifi", ETH_ALEN}, {"virt_wifi0", ETH_ALEN}, {"veth0_vlan", ETH_ALEN}, {"veth1_vlan", ETH_ALEN}, {"vlan0", ETH_ALEN}, {"vlan1", ETH_ALEN}, {"macvlan0", ETH_ALEN}, {"macvlan1", ETH_ALEN}, {"ipvlan0", ETH_ALEN}, {"ipvlan1", ETH_ALEN}, {"veth0_macvtap", ETH_ALEN}, {"veth1_macvtap", ETH_ALEN}, {"macvtap0", ETH_ALEN}, {"macsec0", ETH_ALEN}, {"veth0_to_batadv", ETH_ALEN}, {"veth1_to_batadv", ETH_ALEN}, {"batadv_slave_0", ETH_ALEN}, {"batadv_slave_1", ETH_ALEN}, {"geneve0", ETH_ALEN}, {"geneve1", ETH_ALEN}, {"wg0", 0}, {"wg1", 0}, {"wg2", 0}, }; int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (sock == -1) exit(1); unsigned i; for (i = 0; i < sizeof(devtypes) / sizeof(devtypes[0]); i++) netlink_add_device(&nlmsg, sock, devtypes[i].type, devtypes[i].dev); for (i = 0; i < sizeof(devmasters) / (sizeof(devmasters[0])); i++) { char master[32], slave0[32], veth0[32], slave1[32], veth1[32]; sprintf(slave0, "%s_slave_0", devmasters[i]); sprintf(veth0, "veth0_to_%s", devmasters[i]); netlink_add_veth(&nlmsg, sock, slave0, veth0); sprintf(slave1, "%s_slave_1", devmasters[i]); sprintf(veth1, "veth1_to_%s", devmasters[i]); netlink_add_veth(&nlmsg, sock, slave1, veth1); sprintf(master, "%s0", devmasters[i]); netlink_device_change(&nlmsg, sock, slave0, false, master, 0, 0, NULL); netlink_device_change(&nlmsg, sock, slave1, false, master, 0, 0, NULL); } netlink_add_xfrm(&nlmsg, sock, "xfrm0"); netlink_device_change(&nlmsg, sock, "bridge_slave_0", true, 0, 0, 0, NULL); netlink_device_change(&nlmsg, sock, "bridge_slave_1", true, 0, 0, 0, NULL); netlink_add_veth(&nlmsg, sock, "hsr_slave_0", "veth0_to_hsr"); netlink_add_veth(&nlmsg, sock, "hsr_slave_1", "veth1_to_hsr"); netlink_add_hsr(&nlmsg, sock, "hsr0", "hsr_slave_0", "hsr_slave_1"); netlink_device_change(&nlmsg, sock, "hsr_slave_0", true, 0, 0, 0, NULL); netlink_device_change(&nlmsg, sock, "hsr_slave_1", true, 0, 0, 0, NULL); netlink_add_veth(&nlmsg, sock, "veth0_virt_wifi", "veth1_virt_wifi"); netlink_add_linked(&nlmsg, sock, "virt_wifi", "virt_wifi0", "veth1_virt_wifi"); netlink_add_veth(&nlmsg, sock, "veth0_vlan", "veth1_vlan"); netlink_add_vlan(&nlmsg, sock, "vlan0", "veth0_vlan", 0, htons(ETH_P_8021Q)); netlink_add_vlan(&nlmsg, sock, "vlan1", "veth0_vlan", 1, htons(ETH_P_8021AD)); netlink_add_macvlan(&nlmsg, sock, "macvlan0", "veth1_vlan"); netlink_add_macvlan(&nlmsg, sock, "macvlan1", "veth1_vlan"); netlink_add_ipvlan(&nlmsg, sock, "ipvlan0", "veth0_vlan", IPVLAN_MODE_L2, 0); netlink_add_ipvlan(&nlmsg, sock, "ipvlan1", "veth0_vlan", IPVLAN_MODE_L3S, IPVLAN_F_VEPA); netlink_add_veth(&nlmsg, sock, "veth0_macvtap", "veth1_macvtap"); netlink_add_linked(&nlmsg, sock, "macvtap", "macvtap0", "veth0_macvtap"); netlink_add_linked(&nlmsg, sock, "macsec", "macsec0", "veth1_macvtap"); char addr[32]; sprintf(addr, DEV_IPV4, 14 + 10); struct in_addr geneve_addr4; if (inet_pton(AF_INET, addr, &geneve_addr4) <= 0) exit(1); struct in6_addr geneve_addr6; if (inet_pton(AF_INET6, "fc00::01", &geneve_addr6) <= 0) exit(1); netlink_add_geneve(&nlmsg, sock, "geneve0", 0, &geneve_addr4, 0); netlink_add_geneve(&nlmsg, sock, "geneve1", 1, 0, &geneve_addr6); netdevsim_add((int)procid, 4); netlink_wireguard_setup(); for (i = 0; i < sizeof(devices) / (sizeof(devices[0])); i++) { char addr[32]; sprintf(addr, DEV_IPV4, i + 10); netlink_add_addr4(&nlmsg, sock, devices[i].name, addr); if (!devices[i].noipv6) { sprintf(addr, DEV_IPV6, i + 10); netlink_add_addr6(&nlmsg, sock, devices[i].name, addr); } uint64_t macaddr = DEV_MAC + ((i + 10ull) << 40); netlink_device_change(&nlmsg, sock, devices[i].name, true, 0, &macaddr, devices[i].macsize, NULL); } close(sock); } static void initialize_netdevices_init(void) { int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (sock == -1) exit(1); struct { const char* type; int macsize; bool noipv6; bool noup; } devtypes[] = { {"nr", 7, true}, {"rose", 5, true, true}, }; unsigned i; for (i = 0; i < sizeof(devtypes) / sizeof(devtypes[0]); i++) { char dev[32], addr[32]; sprintf(dev, "%s%d", devtypes[i].type, (int)procid); sprintf(addr, "172.30.%d.%d", i, (int)procid + 1); netlink_add_addr4(&nlmsg, sock, dev, addr); if (!devtypes[i].noipv6) { sprintf(addr, "fe88::%02x:%02x", i, (int)procid + 1); netlink_add_addr6(&nlmsg, sock, dev, addr); } int macsize = devtypes[i].macsize; uint64_t macaddr = 0xbbbbbb + ((unsigned long long)i << (8 * (macsize - 2))) + (procid << (8 * (macsize - 1))); netlink_device_change(&nlmsg, sock, dev, !devtypes[i].noup, 0, &macaddr, macsize, NULL); } close(sock); } #define BTPROTO_HCI 1 #define ACL_LINK 1 #define SCAN_PAGE 2 typedef struct { uint8_t b[6]; } __attribute__((packed)) bdaddr_t; #define HCI_COMMAND_PKT 1 #define HCI_EVENT_PKT 4 #define HCI_VENDOR_PKT 0xff struct hci_command_hdr { uint16_t opcode; uint8_t plen; } __attribute__((packed)); struct hci_event_hdr { uint8_t evt; uint8_t plen; } __attribute__((packed)); #define HCI_EV_CONN_COMPLETE 0x03 struct hci_ev_conn_complete { uint8_t status; uint16_t handle; bdaddr_t bdaddr; uint8_t link_type; uint8_t encr_mode; } __attribute__((packed)); #define HCI_EV_CONN_REQUEST 0x04 struct hci_ev_conn_request { bdaddr_t bdaddr; uint8_t dev_class[3]; uint8_t link_type; } __attribute__((packed)); #define HCI_EV_REMOTE_FEATURES 0x0b struct hci_ev_remote_features { uint8_t status; uint16_t handle; uint8_t features[8]; } __attribute__((packed)); #define HCI_EV_CMD_COMPLETE 0x0e struct hci_ev_cmd_complete { uint8_t ncmd; uint16_t opcode; } __attribute__((packed)); #define HCI_OP_WRITE_SCAN_ENABLE 0x0c1a #define HCI_OP_READ_BUFFER_SIZE 0x1005 struct hci_rp_read_buffer_size { uint8_t status; uint16_t acl_mtu; uint8_t sco_mtu; uint16_t acl_max_pkt; uint16_t sco_max_pkt; } __attribute__((packed)); #define HCI_OP_READ_BD_ADDR 0x1009 struct hci_rp_read_bd_addr { uint8_t status; bdaddr_t bdaddr; } __attribute__((packed)); #define HCI_EV_LE_META 0x3e struct hci_ev_le_meta { uint8_t subevent; } __attribute__((packed)); #define HCI_EV_LE_CONN_COMPLETE 0x01 struct hci_ev_le_conn_complete { uint8_t status; uint16_t handle; uint8_t role; uint8_t bdaddr_type; bdaddr_t bdaddr; uint16_t interval; uint16_t latency; uint16_t supervision_timeout; uint8_t clk_accurancy; } __attribute__((packed)); struct hci_dev_req { uint16_t dev_id; uint32_t dev_opt; }; struct vhci_vendor_pkt_request { uint8_t type; uint8_t opcode; } __attribute__((packed)); struct vhci_pkt { uint8_t type; union { struct { uint8_t opcode; uint16_t id; } __attribute__((packed)) vendor_pkt; struct hci_command_hdr command_hdr; }; } __attribute__((packed)); #define HCIDEVUP _IOW('H', 201, int) #define HCISETSCAN _IOW('H', 221, int) static int vhci_fd = -1; static void rfkill_unblock_all() { int fd = open("/dev/rfkill", O_WRONLY); if (fd < 0) exit(1); struct rfkill_event event = {0}; event.idx = 0; event.type = RFKILL_TYPE_ALL; event.op = RFKILL_OP_CHANGE_ALL; event.soft = 0; event.hard = 0; if (write(fd, &event, sizeof(event)) < 0) exit(1); close(fd); } static void hci_send_event_packet(int fd, uint8_t evt, void* data, size_t data_len) { struct iovec iv[3]; struct hci_event_hdr hdr; hdr.evt = evt; hdr.plen = data_len; uint8_t type = HCI_EVENT_PKT; iv[0].iov_base = &type; iv[0].iov_len = sizeof(type); iv[1].iov_base = &hdr; iv[1].iov_len = sizeof(hdr); iv[2].iov_base = data; iv[2].iov_len = data_len; if (writev(fd, iv, sizeof(iv) / sizeof(struct iovec)) < 0) exit(1); } static void hci_send_event_cmd_complete(int fd, uint16_t opcode, void* data, size_t data_len) { struct iovec iv[4]; struct hci_event_hdr hdr; hdr.evt = HCI_EV_CMD_COMPLETE; hdr.plen = sizeof(struct hci_ev_cmd_complete) + data_len; struct hci_ev_cmd_complete evt_hdr; evt_hdr.ncmd = 1; evt_hdr.opcode = opcode; uint8_t type = HCI_EVENT_PKT; iv[0].iov_base = &type; iv[0].iov_len = sizeof(type); iv[1].iov_base = &hdr; iv[1].iov_len = sizeof(hdr); iv[2].iov_base = &evt_hdr; iv[2].iov_len = sizeof(evt_hdr); iv[3].iov_base = data; iv[3].iov_len = data_len; if (writev(fd, iv, sizeof(iv) / sizeof(struct iovec)) < 0) exit(1); } static bool process_command_pkt(int fd, char* buf, ssize_t buf_size) { struct hci_command_hdr* hdr = (struct hci_command_hdr*)buf; if (buf_size < (ssize_t)sizeof(struct hci_command_hdr) || hdr->plen != buf_size - sizeof(struct hci_command_hdr)) exit(1); switch (hdr->opcode) { case HCI_OP_WRITE_SCAN_ENABLE: { uint8_t status = 0; hci_send_event_cmd_complete(fd, hdr->opcode, &status, sizeof(status)); return true; } case HCI_OP_READ_BD_ADDR: { struct hci_rp_read_bd_addr rp = {0}; rp.status = 0; memset(&rp.bdaddr, 0xaa, 6); hci_send_event_cmd_complete(fd, hdr->opcode, &rp, sizeof(rp)); return false; } case HCI_OP_READ_BUFFER_SIZE: { struct hci_rp_read_buffer_size rp = {0}; rp.status = 0; rp.acl_mtu = 1021; rp.sco_mtu = 96; rp.acl_max_pkt = 4; rp.sco_max_pkt = 6; hci_send_event_cmd_complete(fd, hdr->opcode, &rp, sizeof(rp)); return false; } } char dummy[0xf9] = {0}; hci_send_event_cmd_complete(fd, hdr->opcode, dummy, sizeof(dummy)); return false; } static void* event_thread(void* arg) { while (1) { char buf[1024] = {0}; ssize_t buf_size = read(vhci_fd, buf, sizeof(buf)); if (buf_size < 0) exit(1); if (buf_size > 0 && buf[0] == HCI_COMMAND_PKT) { if (process_command_pkt(vhci_fd, buf + 1, buf_size - 1)) break; } } return NULL; } #define HCI_HANDLE_1 200 #define HCI_HANDLE_2 201 #define HCI_PRIMARY 0 #define HCI_OP_RESET 0x0c03 static void initialize_vhci() { int hci_sock = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI); if (hci_sock < 0) exit(1); vhci_fd = open("/dev/vhci", O_RDWR); if (vhci_fd == -1) exit(1); const int kVhciFd = 202; if (dup2(vhci_fd, kVhciFd) < 0) exit(1); close(vhci_fd); vhci_fd = kVhciFd; struct vhci_vendor_pkt_request vendor_pkt_req = {HCI_VENDOR_PKT, HCI_PRIMARY}; if (write(vhci_fd, &vendor_pkt_req, sizeof(vendor_pkt_req)) != sizeof(vendor_pkt_req)) exit(1); struct vhci_pkt vhci_pkt; if (read(vhci_fd, &vhci_pkt, sizeof(vhci_pkt)) != sizeof(vhci_pkt)) exit(1); if (vhci_pkt.type == HCI_COMMAND_PKT && vhci_pkt.command_hdr.opcode == HCI_OP_RESET) { char response[1] = {0}; hci_send_event_cmd_complete(vhci_fd, HCI_OP_RESET, response, sizeof(response)); if (read(vhci_fd, &vhci_pkt, sizeof(vhci_pkt)) != sizeof(vhci_pkt)) exit(1); } if (vhci_pkt.type != HCI_VENDOR_PKT) exit(1); int dev_id = vhci_pkt.vendor_pkt.id; pthread_t th; if (pthread_create(&th, NULL, event_thread, NULL)) exit(1); int ret = ioctl(hci_sock, HCIDEVUP, dev_id); if (ret) { if (errno == ERFKILL) { rfkill_unblock_all(); ret = ioctl(hci_sock, HCIDEVUP, dev_id); } if (ret && errno != EALREADY) exit(1); } struct hci_dev_req dr = {0}; dr.dev_id = dev_id; dr.dev_opt = SCAN_PAGE; if (ioctl(hci_sock, HCISETSCAN, &dr)) exit(1); struct hci_ev_conn_request request; memset(&request, 0, sizeof(request)); memset(&request.bdaddr, 0xaa, 6); *(uint8_t*)&request.bdaddr.b[5] = 0x10; request.link_type = ACL_LINK; hci_send_event_packet(vhci_fd, HCI_EV_CONN_REQUEST, &request, sizeof(request)); struct hci_ev_conn_complete complete; memset(&complete, 0, sizeof(complete)); complete.status = 0; complete.handle = HCI_HANDLE_1; memset(&complete.bdaddr, 0xaa, 6); *(uint8_t*)&complete.bdaddr.b[5] = 0x10; complete.link_type = ACL_LINK; complete.encr_mode = 0; hci_send_event_packet(vhci_fd, HCI_EV_CONN_COMPLETE, &complete, sizeof(complete)); struct hci_ev_remote_features features; memset(&features, 0, sizeof(features)); features.status = 0; features.handle = HCI_HANDLE_1; hci_send_event_packet(vhci_fd, HCI_EV_REMOTE_FEATURES, &features, sizeof(features)); struct { struct hci_ev_le_meta le_meta; struct hci_ev_le_conn_complete le_conn; } le_conn; memset(&le_conn, 0, sizeof(le_conn)); le_conn.le_meta.subevent = HCI_EV_LE_CONN_COMPLETE; memset(&le_conn.le_conn.bdaddr, 0xaa, 6); *(uint8_t*)&le_conn.le_conn.bdaddr.b[5] = 0x11; le_conn.le_conn.role = 1; le_conn.le_conn.handle = HCI_HANDLE_2; hci_send_event_packet(vhci_fd, HCI_EV_LE_META, &le_conn, sizeof(le_conn)); pthread_join(th, NULL); close(hci_sock); } //% This code is derived from puff.{c,h}, found in the zlib development. The //% original files come with the following copyright notice: //% Copyright (C) 2002-2013 Mark Adler, all rights reserved //% version 2.3, 21 Jan 2013 //% This software is provided 'as-is', without any express or implied //% warranty. In no event will the author be held liable for any damages //% arising from the use of this software. //% Permission is granted to anyone to use this software for any purpose, //% including commercial applications, and to alter it and redistribute it //% freely, subject to the following restrictions: //% 1. The origin of this software must not be misrepresented; you must not //% claim that you wrote the original software. If you use this software //% in a product, an acknowledgment in the product documentation would be //% appreciated but is not required. //% 2. Altered source versions must be plainly marked as such, and must not be //% misrepresented as being the original software. //% 3. This notice may not be removed or altered from any source distribution. //% Mark Adler madler@alumni.caltech.edu //% BEGIN CODE DERIVED FROM puff.{c,h} #define MAXBITS 15 #define MAXLCODES 286 #define MAXDCODES 30 #define MAXCODES (MAXLCODES + MAXDCODES) #define FIXLCODES 288 struct puff_state { unsigned char* out; unsigned long outlen; unsigned long outcnt; const unsigned char* in; unsigned long inlen; unsigned long incnt; int bitbuf; int bitcnt; jmp_buf env; }; static int puff_bits(struct puff_state* s, int need) { long val = s->bitbuf; while (s->bitcnt < need) { if (s->incnt == s->inlen) longjmp(s->env, 1); val |= (long)(s->in[s->incnt++]) << s->bitcnt; s->bitcnt += 8; } s->bitbuf = (int)(val >> need); s->bitcnt -= need; return (int)(val & ((1L << need) - 1)); } static int puff_stored(struct puff_state* s) { s->bitbuf = 0; s->bitcnt = 0; if (s->incnt + 4 > s->inlen) return 2; unsigned len = s->in[s->incnt++]; len |= s->in[s->incnt++] << 8; if (s->in[s->incnt++] != (~len & 0xff) || s->in[s->incnt++] != ((~len >> 8) & 0xff)) return -2; if (s->incnt + len > s->inlen) return 2; if (s->outcnt + len > s->outlen) return 1; for (; len--; s->outcnt++, s->incnt++) { if (s->in[s->incnt]) s->out[s->outcnt] = s->in[s->incnt]; } return 0; } struct puff_huffman { short* count; short* symbol; }; static int puff_decode(struct puff_state* s, const struct puff_huffman* h) { int first = 0; int index = 0; int bitbuf = s->bitbuf; int left = s->bitcnt; int code = first = index = 0; int len = 1; short* next = h->count + 1; while (1) { while (left--) { code |= bitbuf & 1; bitbuf >>= 1; int count = *next++; if (code - count < first) { s->bitbuf = bitbuf; s->bitcnt = (s->bitcnt - len) & 7; return h->symbol[index + (code - first)]; } index += count; first += count; first <<= 1; code <<= 1; len++; } left = (MAXBITS + 1) - len; if (left == 0) break; if (s->incnt == s->inlen) longjmp(s->env, 1); bitbuf = s->in[s->incnt++]; if (left > 8) left = 8; } return -10; } static int puff_construct(struct puff_huffman* h, const short* length, int n) { int len; for (len = 0; len <= MAXBITS; len++) h->count[len] = 0; int symbol; for (symbol = 0; symbol < n; symbol++) (h->count[length[symbol]])++; if (h->count[0] == n) return 0; int left = 1; for (len = 1; len <= MAXBITS; len++) { left <<= 1; left -= h->count[len]; if (left < 0) return left; } short offs[MAXBITS + 1]; offs[1] = 0; for (len = 1; len < MAXBITS; len++) offs[len + 1] = offs[len] + h->count[len]; for (symbol = 0; symbol < n; symbol++) if (length[symbol] != 0) h->symbol[offs[length[symbol]]++] = symbol; return left; } static int puff_codes(struct puff_state* s, const struct puff_huffman* lencode, const struct puff_huffman* distcode) { static const short lens[29] = {3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258}; static const short lext[29] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0}; static const short dists[30] = { 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577}; static const short dext[30] = {0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13}; int symbol; do { symbol = puff_decode(s, lencode); if (symbol < 0) return symbol; if (symbol < 256) { if (s->outcnt == s->outlen) return 1; if (symbol) s->out[s->outcnt] = symbol; s->outcnt++; } else if (symbol > 256) { symbol -= 257; if (symbol >= 29) return -10; int len = lens[symbol] + puff_bits(s, lext[symbol]); symbol = puff_decode(s, distcode); if (symbol < 0) return symbol; unsigned dist = dists[symbol] + puff_bits(s, dext[symbol]); if (dist > s->outcnt) return -11; if (s->outcnt + len > s->outlen) return 1; while (len--) { if (dist <= s->outcnt && s->out[s->outcnt - dist]) s->out[s->outcnt] = s->out[s->outcnt - dist]; s->outcnt++; } } } while (symbol != 256); return 0; } static int puff_fixed(struct puff_state* s) { static int virgin = 1; static short lencnt[MAXBITS + 1], lensym[FIXLCODES]; static short distcnt[MAXBITS + 1], distsym[MAXDCODES]; static struct puff_huffman lencode, distcode; if (virgin) { lencode.count = lencnt; lencode.symbol = lensym; distcode.count = distcnt; distcode.symbol = distsym; short lengths[FIXLCODES]; int symbol; for (symbol = 0; symbol < 144; symbol++) lengths[symbol] = 8; for (; symbol < 256; symbol++) lengths[symbol] = 9; for (; symbol < 280; symbol++) lengths[symbol] = 7; for (; symbol < FIXLCODES; symbol++) lengths[symbol] = 8; puff_construct(&lencode, lengths, FIXLCODES); for (symbol = 0; symbol < MAXDCODES; symbol++) lengths[symbol] = 5; puff_construct(&distcode, lengths, MAXDCODES); virgin = 0; } return puff_codes(s, &lencode, &distcode); } static int puff_dynamic(struct puff_state* s) { static const short order[19] = {16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15}; int nlen = puff_bits(s, 5) + 257; int ndist = puff_bits(s, 5) + 1; int ncode = puff_bits(s, 4) + 4; if (nlen > MAXLCODES || ndist > MAXDCODES) return -3; short lengths[MAXCODES]; int index; for (index = 0; index < ncode; index++) lengths[order[index]] = puff_bits(s, 3); for (; index < 19; index++) lengths[order[index]] = 0; short lencnt[MAXBITS + 1], lensym[MAXLCODES]; struct puff_huffman lencode = {lencnt, lensym}; int err = puff_construct(&lencode, lengths, 19); if (err != 0) return -4; index = 0; while (index < nlen + ndist) { int symbol; int len; symbol = puff_decode(s, &lencode); if (symbol < 0) return symbol; if (symbol < 16) lengths[index++] = symbol; else { len = 0; if (symbol == 16) { if (index == 0) return -5; len = lengths[index - 1]; symbol = 3 + puff_bits(s, 2); } else if (symbol == 17) symbol = 3 + puff_bits(s, 3); else symbol = 11 + puff_bits(s, 7); if (index + symbol > nlen + ndist) return -6; while (symbol--) lengths[index++] = len; } } if (lengths[256] == 0) return -9; err = puff_construct(&lencode, lengths, nlen); if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1])) return -7; short distcnt[MAXBITS + 1], distsym[MAXDCODES]; struct puff_huffman distcode = {distcnt, distsym}; err = puff_construct(&distcode, lengths + nlen, ndist); if (err && (err < 0 || ndist != distcode.count[0] + distcode.count[1])) return -8; return puff_codes(s, &lencode, &distcode); } static int puff(unsigned char* dest, unsigned long* destlen, const unsigned char* source, unsigned long sourcelen) { struct puff_state s = { .out = dest, .outlen = *destlen, .outcnt = 0, .in = source, .inlen = sourcelen, .incnt = 0, .bitbuf = 0, .bitcnt = 0, }; int err; if (setjmp(s.env) != 0) err = 2; else { int last; do { last = puff_bits(&s, 1); int type = puff_bits(&s, 2); err = type == 0 ? puff_stored(&s) : (type == 1 ? puff_fixed(&s) : (type == 2 ? puff_dynamic(&s) : -1)); if (err != 0) break; } while (!last); } *destlen = s.outcnt; return err; } //% END CODE DERIVED FROM puff.{c,h} #define ZLIB_HEADER_WIDTH 2 static int puff_zlib_to_file(const unsigned char* source, unsigned long sourcelen, int dest_fd) { if (sourcelen < ZLIB_HEADER_WIDTH) return 0; source += ZLIB_HEADER_WIDTH; sourcelen -= ZLIB_HEADER_WIDTH; const unsigned long max_destlen = 132 << 20; void* ret = mmap(0, max_destlen, PROT_WRITE | PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); if (ret == MAP_FAILED) return -1; unsigned char* dest = (unsigned char*)ret; unsigned long destlen = max_destlen; int err = puff(dest, &destlen, source, sourcelen); if (err) { munmap(dest, max_destlen); errno = -err; return -1; } if (write(dest_fd, dest, destlen) != (ssize_t)destlen) { munmap(dest, max_destlen); return -1; } return munmap(dest, max_destlen); } static int setup_loop_device(unsigned char* data, unsigned long size, const char* loopname, int* loopfd_p) { int err = 0, loopfd = -1; int memfd = syscall(__NR_memfd_create, "syzkaller", 0); if (memfd == -1) { err = errno; goto error; } if (puff_zlib_to_file(data, size, memfd)) { err = errno; goto error_close_memfd; } loopfd = open(loopname, O_RDWR); if (loopfd == -1) { err = errno; goto error_close_memfd; } if (ioctl(loopfd, LOOP_SET_FD, memfd)) { if (errno != EBUSY) { err = errno; goto error_close_loop; } ioctl(loopfd, LOOP_CLR_FD, 0); usleep(1000); if (ioctl(loopfd, LOOP_SET_FD, memfd)) { err = errno; goto error_close_loop; } } close(memfd); *loopfd_p = loopfd; return 0; error_close_loop: close(loopfd); error_close_memfd: close(memfd); error: errno = err; return -1; } static void reset_loop_device(const char* loopname) { int loopfd = open(loopname, O_RDWR); if (loopfd == -1) { return; } if (ioctl(loopfd, LOOP_CLR_FD, 0)) { } close(loopfd); } static long syz_mount_image(volatile long fsarg, volatile long dir, volatile long flags, volatile long optsarg, volatile long change_dir, volatile unsigned long size, volatile long image) { unsigned char* data = (unsigned char*)image; int res = -1, err = 0, need_loop_device = !!size; char* mount_opts = (char*)optsarg; char* target = (char*)dir; char* fs = (char*)fsarg; char* source = NULL; char loopname[64]; if (need_loop_device) { int loopfd; memset(loopname, 0, sizeof(loopname)); snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); if (setup_loop_device(data, size, loopname, &loopfd) == -1) return -1; close(loopfd); source = loopname; } mkdir(target, 0777); char opts[256]; memset(opts, 0, sizeof(opts)); if (strlen(mount_opts) > (sizeof(opts) - 32)) { } strncpy(opts, mount_opts, sizeof(opts) - 32); if (strcmp(fs, "iso9660") == 0) { flags |= MS_RDONLY; } else if (strncmp(fs, "ext", 3) == 0) { bool has_remount_ro = false; char* remount_ro_start = strstr(opts, "errors=remount-ro"); if (remount_ro_start != NULL) { char after = *(remount_ro_start + strlen("errors=remount-ro")); char before = remount_ro_start == opts ? '\0' : *(remount_ro_start - 1); has_remount_ro = ((before == '\0' || before == ',') && (after == '\0' || after == ',')); } if (strstr(opts, "errors=panic") || !has_remount_ro) strcat(opts, ",errors=continue"); } else if (strcmp(fs, "xfs") == 0) { strcat(opts, ",nouuid"); } res = mount(source, target, fs, flags, opts); if (res == -1) { err = errno; goto error_clear_loop; } res = open(target, O_RDONLY | O_DIRECTORY); if (res == -1) { err = errno; goto error_clear_loop; } if (change_dir) { res = chdir(target); if (res == -1) { err = errno; } } error_clear_loop: if (need_loop_device) reset_loop_device(loopname); errno = err; return res; } static void setup_common() { if (mount(0, "/sys/fs/fuse/connections", "fusectl", 0, 0)) { } } static void setup_binderfs() { if (mkdir("/dev/binderfs", 0777)) { } if (mount("binder", "/dev/binderfs", "binder", 0, NULL)) { } if (symlink("/dev/binderfs", "./binderfs")) { } } static void loop(); static void sandbox_common() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setsid(); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = (200 << 20); setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 32 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 136 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); if (unshare(CLONE_NEWNS)) { } if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL)) { } if (unshare(CLONE_NEWIPC)) { } if (unshare(0x02000000)) { } if (unshare(CLONE_NEWUTS)) { } if (unshare(CLONE_SYSVSEM)) { } typedef struct { const char* name; const char* value; } sysctl_t; static const sysctl_t sysctls[] = { {"/proc/sys/kernel/shmmax", "16777216"}, {"/proc/sys/kernel/shmall", "536870912"}, {"/proc/sys/kernel/shmmni", "1024"}, {"/proc/sys/kernel/msgmax", "8192"}, {"/proc/sys/kernel/msgmni", "1024"}, {"/proc/sys/kernel/msgmnb", "1024"}, {"/proc/sys/kernel/sem", "1024 1048576 500 1024"}, }; unsigned i; for (i = 0; i < sizeof(sysctls) / sizeof(sysctls[0]); i++) write_file(sysctls[i].name, sysctls[i].value); } static int wait_for_loop(int pid) { if (pid < 0) exit(1); int status = 0; while (waitpid(-1, &status, __WALL) != pid) { } return WEXITSTATUS(status); } static void drop_caps(void) { struct __user_cap_header_struct cap_hdr = {}; struct __user_cap_data_struct cap_data[2] = {}; cap_hdr.version = _LINUX_CAPABILITY_VERSION_3; cap_hdr.pid = getpid(); if (syscall(SYS_capget, &cap_hdr, &cap_data)) exit(1); const int drop = (1 << CAP_SYS_PTRACE) | (1 << CAP_SYS_NICE); cap_data[0].effective &= ~drop; cap_data[0].permitted &= ~drop; cap_data[0].inheritable &= ~drop; if (syscall(SYS_capset, &cap_hdr, &cap_data)) exit(1); } static int do_sandbox_none(void) { if (unshare(CLONE_NEWPID)) { } int pid = fork(); if (pid != 0) return wait_for_loop(pid); setup_common(); initialize_vhci(); sandbox_common(); drop_caps(); initialize_netdevices_init(); if (unshare(CLONE_NEWNET)) { } write_file("/proc/sys/net/ipv4/ping_group_range", "0 65535"); initialize_netdevices(); setup_binderfs(); loop(); exit(1); } #define FUSE_MIN_READ_BUFFER 8192 enum fuse_opcode { FUSE_LOOKUP = 1, FUSE_FORGET = 2, FUSE_GETATTR = 3, FUSE_SETATTR = 4, FUSE_READLINK = 5, FUSE_SYMLINK = 6, FUSE_MKNOD = 8, FUSE_MKDIR = 9, FUSE_UNLINK = 10, FUSE_RMDIR = 11, FUSE_RENAME = 12, FUSE_LINK = 13, FUSE_OPEN = 14, FUSE_READ = 15, FUSE_WRITE = 16, FUSE_STATFS = 17, FUSE_RELEASE = 18, FUSE_FSYNC = 20, FUSE_SETXATTR = 21, FUSE_GETXATTR = 22, FUSE_LISTXATTR = 23, FUSE_REMOVEXATTR = 24, FUSE_FLUSH = 25, FUSE_INIT = 26, FUSE_OPENDIR = 27, FUSE_READDIR = 28, FUSE_RELEASEDIR = 29, FUSE_FSYNCDIR = 30, FUSE_GETLK = 31, FUSE_SETLK = 32, FUSE_SETLKW = 33, FUSE_ACCESS = 34, FUSE_CREATE = 35, FUSE_INTERRUPT = 36, FUSE_BMAP = 37, FUSE_DESTROY = 38, FUSE_IOCTL = 39, FUSE_POLL = 40, FUSE_NOTIFY_REPLY = 41, FUSE_BATCH_FORGET = 42, FUSE_FALLOCATE = 43, FUSE_READDIRPLUS = 44, FUSE_RENAME2 = 45, FUSE_LSEEK = 46, FUSE_COPY_FILE_RANGE = 47, FUSE_SETUPMAPPING = 48, FUSE_REMOVEMAPPING = 49, CUSE_INIT = 4096, CUSE_INIT_BSWAP_RESERVED = 1048576, FUSE_INIT_BSWAP_RESERVED = 436207616, }; struct fuse_in_header { uint32_t len; uint32_t opcode; uint64_t unique; uint64_t nodeid; uint32_t uid; uint32_t gid; uint32_t pid; uint32_t padding; }; struct fuse_out_header { uint32_t len; uint32_t error; uint64_t unique; }; struct syz_fuse_req_out { struct fuse_out_header* init; struct fuse_out_header* lseek; struct fuse_out_header* bmap; struct fuse_out_header* poll; struct fuse_out_header* getxattr; struct fuse_out_header* lk; struct fuse_out_header* statfs; struct fuse_out_header* write; struct fuse_out_header* read; struct fuse_out_header* open; struct fuse_out_header* attr; struct fuse_out_header* entry; struct fuse_out_header* dirent; struct fuse_out_header* direntplus; struct fuse_out_header* create_open; struct fuse_out_header* ioctl; }; static int fuse_send_response(int fd, const struct fuse_in_header* in_hdr, struct fuse_out_header* out_hdr) { if (!out_hdr) { return -1; } out_hdr->unique = in_hdr->unique; if (write(fd, out_hdr, out_hdr->len) == -1) { return -1; } return 0; } static volatile long syz_fuse_handle_req(volatile long a0, volatile long a1, volatile long a2, volatile long a3) { struct syz_fuse_req_out* req_out = (struct syz_fuse_req_out*)a3; struct fuse_out_header* out_hdr = NULL; char* buf = (char*)a1; int buf_len = (int)a2; int fd = (int)a0; if (!req_out) { return -1; } if (buf_len < FUSE_MIN_READ_BUFFER) { return -1; } int ret = read(fd, buf, buf_len); if (ret == -1) { return -1; } if ((size_t)ret < sizeof(struct fuse_in_header)) { return -1; } const struct fuse_in_header* in_hdr = (const struct fuse_in_header*)buf; if (in_hdr->len > (uint32_t)ret) { return -1; } switch (in_hdr->opcode) { case FUSE_GETATTR: case FUSE_SETATTR: out_hdr = req_out->attr; break; case FUSE_LOOKUP: case FUSE_SYMLINK: case FUSE_LINK: case FUSE_MKNOD: case FUSE_MKDIR: out_hdr = req_out->entry; break; case FUSE_OPEN: case FUSE_OPENDIR: out_hdr = req_out->open; break; case FUSE_STATFS: out_hdr = req_out->statfs; break; case FUSE_RMDIR: case FUSE_RENAME: case FUSE_RENAME2: case FUSE_FALLOCATE: case FUSE_SETXATTR: case FUSE_REMOVEXATTR: case FUSE_FSYNCDIR: case FUSE_FSYNC: case FUSE_SETLKW: case FUSE_SETLK: case FUSE_ACCESS: case FUSE_FLUSH: case FUSE_RELEASE: case FUSE_RELEASEDIR: case FUSE_UNLINK: case FUSE_DESTROY: out_hdr = req_out->init; if (!out_hdr) { return -1; } out_hdr->len = sizeof(struct fuse_out_header); break; case FUSE_READ: out_hdr = req_out->read; break; case FUSE_READDIR: out_hdr = req_out->dirent; break; case FUSE_READDIRPLUS: out_hdr = req_out->direntplus; break; case FUSE_INIT: out_hdr = req_out->init; break; case FUSE_LSEEK: out_hdr = req_out->lseek; break; case FUSE_GETLK: out_hdr = req_out->lk; break; case FUSE_BMAP: out_hdr = req_out->bmap; break; case FUSE_POLL: out_hdr = req_out->poll; break; case FUSE_GETXATTR: case FUSE_LISTXATTR: out_hdr = req_out->getxattr; break; case FUSE_WRITE: case FUSE_COPY_FILE_RANGE: out_hdr = req_out->write; break; case FUSE_FORGET: case FUSE_BATCH_FORGET: return 0; case FUSE_CREATE: out_hdr = req_out->create_open; break; case FUSE_IOCTL: out_hdr = req_out->ioctl; break; default: return -1; } return fuse_send_response(fd, in_hdr, out_hdr); } uint64_t r[1] = {0xffffffffffffffff}; void loop(void) { intptr_t res = 0; NONFAILING( memcpy((void*)0x20000180, "./file0/file0/file0/file0/file0\000", 32)); syscall(__NR_umount2, /*path=*/0x20000180ul, /*flags=*/0ul); syscall(__NR_read, /*fd=*/-1, /*buf=*/0ul, /*len=*/0ul); NONFAILING(memcpy((void*)0x20000240, "syz\000", 4)); NONFAILING(memcpy((void*)0x20000580, "9p\000", 3)); syscall(__NR_mount, /*src=*/0x20000240ul, /*dst=*/0ul, /*type=*/0x20000580ul, /*flags=MS_REC*/ 0x4000ul, /*opts=*/0ul); syscall(__NR_pivot_root, /*new_root=*/0ul, /*put_old=*/0ul); syscall(__NR_chroot, /*dir=*/0ul); NONFAILING(memcpy( (void*)0x200066c0, "\xa0\x62\x03\x06\x07\x79\x2c\x01\x38\x6f\x28\xa4\x28\x82\x89\x47\xde\x99" "\xf7\x9c\xc5\x42\x70\x3d\x92\x3c\x7c\xb9\xd4\xe1\xf6\xfd\x95\xfb\xf2\xf7" "\x47\xab\x32\xf6\xfb\x04\x18\x61\xfb\x3f\x87\xa8\x8c\xb8\x54\x05\xb4\xe7" "\x3c\x0b\x6b\x12\xc8\x1e\x42\xa9\xf1\x3d\x82\xc3\x2b\x7d\xdb\x17\x2b\xcb" "\xa1\xaa\xc5\xc3\x8f\x08\x37\x47\xac\x17\x9f\x08\xd4\xd6\xd3\x42\xa8\x7b" "\xa8\xdd\x9b\xb7\xa9\x68\x0f\x27\x43\x3c\x33\x57\xb4\xf6\xac\x97\xb1\x9a" "\x97\x35\x92\xf1\xac\x6e\x78\x53\xa0\xb1\x5b\xa4\x2a\x28\xef\xb9\xcc\x30" "\xb1\x46\x34\x6b\x54\x60\x18\x96\x6e\x94\x97\x6c\xa2\x8f\x26\xa1\x95\x0d" "\xd6\x4c\x0a\xdb\xb0\xc2\xe0\x9b\xbd\x9c\xaa\x9e\x78\x86\xa2\xb3\xd6\xe2" "\xb6\xd6\x61\x6b\x71\x8f\x13\x22\xea\x28\x81\xca\x59\xef\x73\x94\x8b\x1b" "\xcd\xc2\xdd\x39\x70\xe6\x3c\xbc\x10\x43\xce\x42\xaf\x0e\xa1\xf9\x5d\x17" "\x26\x8c\xbc\x3e\xf0\x62\xc8\xc3\x1a\x53\x7e\x94\xa2\x0c\x1c\x50\x5a\x60" "\x22\xd5\xec\xe7\xf5\x1b\xd9\xc7\x54\xd8\xc4\x7c\xbe\x80\xbb\xb3\x0b\x21" "\x59\x99\x1a\x94\xdd\x3a\x25\xe6\x4a\xff\x8a\x7a\x17\x37\x4b\x5a\x71\xe0" "\xc7\xc2\x41\xcb\xfd\x7f\x08\x4e\x18\xa5\x0b\xea\x51\x2a\xda\x90\x22\x10" "\xa3\x88\x1f\xfc\xd4\x20\x71\xab\x09\xc4\xd8\x01\x39\xd8\x98\x0d\x6d\xc5" "\xd1\x2c\x25\x95\xce\xd4\x45\xca\xf2\x2f\x80\xd8\xfb\x1a\x4c\x24\x3d\xa4" "\x7f\xad\xb8\xe2\x8e\x9c\x04\xfe\xa8\x20\xa8\xa2\xf0\x32\xf5\xad\xff\x8b" "\x7d\x92\x69\xe6\x3d\xb6\x8d\x19\x6b\xf7\xf4\x16\x40\x5e\x52\xb6\xb8\xab" "\xd8\xbb\x9d\x96\x94\xb8\xb5\xed\xda\xe3\x48\x20\x99\x63\x73\x8c\xd9\x71" "\x0b\xd6\xc2\x91\xaf\x1c\x8e\xaf\x0e\x52\xd2\xf2\xf2\x4b\xef\x8c\x8b\xc9" "\xf7\x7e\xed\x40\x10\x4e\x07\xc8\xee\x1b\x4c\xb3\x58\xfc\x73\xe2\x65\x3f" "\xef\x62\x32\xb5\xe9\xf5\xd0\xbe\x26\xb9\x1a\x0b\x79\x67\xed\x5e\x3b\xf1" "\x0c\x44\x94\x24\xff\x4d\x11\x95\x1d\x96\x36\x77\x00\x1d\x95\x76\x42\x5d" "\x6a\x9c\x45\x03\x26\x8a\x40\x7d\x74\x85\x4f\x5e\x1c\xaa\xcc\x0c\xcc\x46" "\x3d\xc5\x6e\x68\x4d\xb1\xd8\x0b\x37\x0d\xa2\x38\x91\x55\x79\xab\x82\xcd" "\xbd\x7d\x15\x5a\xdf\x10\xb9\x6e\xd7\x11\x00\xea\x92\x83\x4e\x8a\x4e\x4f" "\x5b\x7b\x83\x1b\xff\x6f\xb4\xfe\xbe\x01\xbb\x39\x8e\xa4\x06\x54\x46\xf2" "\x77\xf1\x07\xaa\x3c\xc0\x6e\x0b\x7a\x6e\x98\x43\x4b\xf5\x77\x44\xba\x9e" "\xcb\x8e\xff\xe7\x04\xd7\xf8\x52\xe1\x6b\xc3\x3a\xc1\x13\x64\x9f\x75\x40" "\xb7\xa7\xa6\x7c\xf5\x49\x3b\x40\x0c\xe0\x6e\x57\x1d\x48\x5a\xf1\x73\x29" "\x38\xb7\x9d\xed\x4d\xe7\xda\xd9\x7a\x7e\x1c\x0b\xe7\xbd\x47\x9d\xc2\x64" "\x64\x7b\xb7\x65\x03\x16\x84\x23\xe3\xf6\xfc\x95\xf8\xac\x8e\xa3\x5e\x39" "\xf4\x76\xab\x54\xe8\x82\x86\xfc\xf7\x3e\xea\xd1\xf7\x94\x78\x44\x65\x59" "\x2f\xe4\xad\x11\x2a\xc6\x3b\xbc\x3b\x3f\x35\xb8\x7c\x40\xbc\x5f\xa6\xe3" "\xca\x6c\xad\x87\x8f\x97\x72\xa6\x1a\x23\xaa\x00\x49\x1a\x9e\x24\x42\xeb" "\x90\xa3\x2a\xf2\xbd\x74\xe9\x9d\x07\x5b\xcd\xa2\x02\x88\xbf\xc3\x0f\x3b" "\x00\xa7\xe8\xe1\xa0\xb4\x79\x15\x73\xab\xd6\x52\x84\xbb\xb5\x3e\x2b\x7d" "\x66\x72\x39\xb9\x5b\x33\x2d\xd4\x23\xe4\xd7\xc5\x12\xde\x55\x9b\xd5\x3f" "\xde\x52\x85\xad\xd9\x79\x5b\xda\x81\xec\x14\x26\x20\xe6\x93\xaf\x9c\x78" "\x7a\x44\x99\xdd\x76\xca\x0d\x77\xd9\xc7\xc4\x04\x3e\x53\x7e\xc6\xc1\xcd" "\x0b\x9a\x64\x2b\x12\xad\xc7\x82\xa0\xe0\x0f\x6c\x1e\xd7\x37\x9d\x5f\xff" "\x4c\x2f\xeb\x19\x18\x2d\xb9\x77\xf6\x57\xb1\x95\xe4\x71\x0f\xf0\x0f\x78" "\xe3\x5a\x14\x61\x19\x89\x74\x95\xb0\xe1\xa0\x06\x8a\x66\x06\x29\x2e\xe7" "\x2b\xf6\x5a\xdc\xd2\xcd\x29\xb4\xe5\x9a\x4b\x3f\x82\xea\xc7\x7d\x52\x54" "\x01\x3d\x03\xd2\xfb\x25\x11\x97\x55\x58\x90\x67\x41\x91\x2d\x09\x30\x4f" "\x0d\x4c\xf0\x8c\x8f\x62\x69\x0c\x67\x96\x8c\x86\x9f\x75\xa4\x02\x52\x24" "\xd8\xe8\x4b\xaf\x7a\x42\xe0\x1b\x4e\xcf\x7e\x55\xd7\xc4\x58\x39\x77\x8c" "\x22\x66\x88\x0d\x1b\xb7\x3e\x3a\xad\x61\x8d\x1a\x4f\x8d\x5a\x16\x91\x4d" "\x64\xd7\x04\x38\xa8\x85\x12\x64\x9f\xd4\xca\xa9\x05\x06\xe5\xa2\xd5\x8a" "\x33\xec\xae\xbc\x9b\x2e\x5f\x8a\x4f\xbe\xca\x57\xc8\x29\xae\x02\xfd\x2d" "\xc1\x46\xe9\x39\xc3\xd2\x95\xad\xa7\xdf\x4a\x07\xe7\x4b\x35\x6c\x6f\xfd" "\x7a\x9c\x54\x6b\x9e\xdd\xf7\xe0\x13\xcb\xcb\x2b\x57\xae\x0d\x22\x52\x49" "\xf7\xe0\x6a\x41\x56\x81\xd9\xf5\x97\xa0\x60\xfd\x55\xe3\x9b\xd5\x6f\x04" "\xb8\x63\xef\xec\xa4\x58\xa0\xcb\xc5\x4b\x66\x0d\xb5\x0c\xa4\x0d\x27\xa3" "\xfd\xa3\x41\x68\x60\xe6\x91\xcf\xc7\x80\x59\x3f\x06\xb4\x67\x70\x09\x68" "\xbb\x91\x8c\x32\x54\x7e\x37\x8b\x14\xb4\xe0\xdc\xd1\x1c\xb0\xb2\xfb\x36" "\xea\x70\x94\x6a\xc6\x22\x90\x18\x4b\x4e\xed\x38\xb5\x1c\x32\x2a\x75\x36" "\x7b\x50\xf5\x58\xe0\x63\xbf\x36\x33\x41\xa1\x7c\x28\xdd\xcb\xf9\xce\x53" "\xda\x06\xf2\x63\x03\xfd\x15\x64\x23\xa2\x5f\x68\x68\x09\xbc\x98\x45\xa7" "\x8e\x0c\xc3\xd9\x4e\x04\xbc\x8d\xa8\x5f\x22\xa4\xa8\xec\xe2\xc4\xac\x2c" "\x79\xe5\x4d\xcc\x4e\xab\xc6\x1e\x06\x70\x60\xad\x88\x03\x77\xa7\x1f\xe0" "\xc2\xc0\x30\x52\x56\xe4\xf3\xc6\x37\x57\x5f\x08\x6e\x4a\xe3\xd7\xab\x5d" "\x10\x6f\xde\x03\xd2\x4c\x47\xdc\xcb\xa3\xda\x23\xa2\x44\xc1\xf5\x0a\x4f" "\x60\xcd\x8d\x71\xb7\x73\x90\xc5\xce\x6d\x56\x12\xfd\x02\x60\xa2\xf3\x33" "\x89\xb0\x64\xae\x6a\xca\xc7\x83\xec\xa6\x28\x74\x23\x2f\xd3\x80\x8f\xb2" "\x18\x81\x51\xa4\x3d\xe6\xce\xbc\x7e\x24\x51\x06\x18\x3f\x7d\x92\x9f\x1e" "\xef\xf6\xf9\x72\xda\x3e\x3d\x96\x71\x70\x24\x79\x25\xfb\x0f\x04\xbf\x38" "\xe8\x8d\x06\x32\x1f\x9f\xf9\xd2\xc2\x96\x55\x3d\x84\x2b\x69\x03\x6a\x2b" "\x6d\xe2\xaa\xd3\x87\x9a\xed\xee\x72\x3f\xf0\x07\x36\xf7\xb0\xdf\xfe\x61" "\x82\x10\x41\x05\xff\x0f\x0b\x63\x6f\x51\x92\xd6\xbb\x5a\xe7\xef\x95\x08" "\x25\x82\x7d\x2f\x3d\x62\x85\xd8\x3a\xed\xca\x3f\x31\x47\x4e\x0a\xd5\x0c" "\xe6\x29\x0a\x0e\x54\x6c\x30\xd9\x00\xe5\xb4\x20\x8e\xcc\x8b\x3a\xca\x0b" "\xa3\xd1\x10\xfc\x3c\x0a\x7e\x00\x4a\x53\xe5\xd0\xba\x1c\xc1\xc2\xbb\x42" "\xc3\xdb\xcb\xb4\xce\xb6\x67\x41\x51\x93\x2a\xe5\x6f\x6b\x03\xcc\x34\xce" "\x45\x0c\x29\x2f\xec\xd2\x45\x6d\xdc\xf4\x2b\x07\x5e\x6f\xd4\x93\x05\xfb" "\xf2\x65\xa3\x6f\x3c\xff\x61\x32\x1d\xd6\x0f\x16\xe8\x44\x08\x9d\x65\x91" "\x30\x94\x76\x72\xa2\xd0\x59\xe0\x4a\xf9\xef\x65\x3e\x8a\xfe\xc9\x26\xb5" "\xa5\xd4\x11\xf6\x0a\x2a\x43\x54\x37\x09\x5a\x1d\xf8\xdc\x60\xa6\x16\xbd" "\x1a\x1c\xe7\xb5\x25\x1e\xd8\xf9\x05\xbe\xcf\xfe\xbd\x63\x5e\xee\x8f\xf0" "\x05\x5c\x40\xf1\x46\xf1\x35\x0a\x40\x6b\x85\x3e\xcb\x00\x5c\x6e\xde\x4d" "\xc2\x70\xce\x67\x51\xcf\xf9\x15\xaa\x27\xf5\xf6\xb0\x73\x6d\xa1\x4c\x99" "\x49\xde\x59\x9d\x57\x86\x8c\x29\xcc\x97\xad\x03\xbd\x89\x50\x2a\x34\xb8" "\x8a\xd2\x9c\x87\x62\xd0\xdc\x24\xa6\xdf\x75\x98\x21\x88\x2a\x32\xe7\x05" "\x31\xca\xb5\x1f\xa1\x75\x2a\x4f\xc4\x9c\xf0\x70\x6c\xb2\x4d\x20\x31\x74" "\xb2\x94\x0f\x29\xef\x8b\x0c\xe6\x5b\x40\xcf\xde\x4e\x0c\x73\x10\xc6\x85" "\xcc\x8d\xe8\x38\x4e\x48\x5a\x95\x11\x92\xfa\x8c\x36\xc1\x1f\x9b\x88\xa4" "\x8c\xaf\x02\x7d\xca\x48\x0c\xaa\x4f\xcc\xae\x70\xea\x6c\x83\x7e\xb8\x2f" "\x92\x6a\xd7\x69\x1c\x77\x09\xf2\x17\x22\x0d\x71\xf6\xe3\x74\xfb\x85\x22" "\xa8\x4c\x11\x8b\x5c\x25\xf3\xd5\x6a\xcf\xb2\x5a\xfb\xe6\x76\xfc\x9e\x57" "\x4b\x6c\x5a\x59\xc0\x0a\x0b\xbe\xef\xf6\x1f\xd8\x2a\x16\x77\xf3\xda\x9b" "\xb5\x96\x13\x3d\xb4\x91\xa8\xf1\x1b\x94\x5d\x93\x0c\x8a\x67\xde\x9c\xe8" "\x00\x25\xc7\x64\xd5\x18\xef\xcb\xae\x25\xd9\x19\x4d\xc9\x6c\x31\xed\x02" "\xc6\x3b\x1a\xc9\x76\x71\x5f\x72\x33\xff\xed\x7c\xb6\xe9\x29\xbb\xb5\xaf" "\xab\xd3\x4b\xc3\x7c\x09\x5a\xcd\x0a\xbb\xbd\xb1\xea\x48\xe4\x0a\x30\xac" "\x99\x55\x0f\x0c\xcc\xa1\x9e\xce\xf5\xac\xb2\x60\x4c\x48\xff\xfb\x53\xb3" "\x52\xd1\x14\xfa\xc7\x2d\x6f\xc0\x19\xdd\xec\x55\x84\x06\x66\x8f\x77\x3f" "\xed\x94\x76\x14\x81\x33\xc0\xf9\xca\x4d\x1f\xd7\xe7\x0d\xd0\x4b\xfa\x08" "\x9d\xc5\x7e\x59\x40\xf2\x9a\x5f\xd3\x3d\xc7\x99\x13\xff\x48\x85\x37\x94" "\xfd\xaf\x89\x1d\x71\xde\x94\xc4\xa4\xfe\xd0\x54\x4e\x09\xf2\xbd\x57\x8b" "\x07\x00\x30\x31\xb8\x60\x2f\x08\xca\x8a\x79\xfa\x5e\xbf\xd5\x47\x7f\x4d" "\x4f\x03\x1c\x3e\xfe\x0d\xb2\x73\x44\x6a\x99\xd0\xcb\xe2\x1a\x3c\xf4\x3f" "\x3b\x82\x77\x4e\x46\x57\xbb\x4f\x96\x75\xad\xba\xf7\x1c\x52\x95\x3f\x0b" "\x18\xa6\x1e\x05\xa9\xc7\x70\x53\x6f\xba\xd2\x15\x84\x8f\x82\x38\xe8\x73" "\x0b\x90\x85\x18\x9e\xa4\x62\x17\x80\xda\xc5\x00\xd7\xd7\xdc\x78\x15\xb4" "\x5e\x23\x2f\x86\x59\x24\x98\xf1\x51\x5a\xc8\xc5\x03\x06\x01\x35\x24\xcc" "\x5f\x0a\x74\xb6\x7b\xc8\x5d\x43\x5d\x33\x2c\xe6\x9f\x00\x64\x1c\x86\xa3" "\xe9\x1b\xe8\x4b\x78\xac\x35\x8f\x35\xb1\x8d\x69\x67\x9d\xf4\x19\x7d\x3b" "\xe8\x55\x44\x17\xcf\x44\xae\xe6\xdc\x62\x3f\x68\xce\x33\x88\xdf\x18\x16" "\x8e\xfa\x1c\x87\xc7\x76\xcb\xda\x79\x2f\x61\x10\xb6\xaf\x17\x8e\xb8\x20" "\x0a\x91\xdf\xb7\x2c\x1e\x23\xb5\xe5\xa6\x6b\x5a\x3e\xe3\xf4\xc2\xbb\xa2" "\xcc\xac\x93\x9d\xcb\x03\x60\x06\xb8\x6e\x89\x40\x93\x92\x2a\x95\xfd\x70" "\xba\xba\x94\x24\xa3\xd0\x32\x7a\x0f\x20\x9f\xe1\x0b\x39\xf3\xce\xc3\xf6" "\x69\xd3\x01\xa2\x83\x4e\x58\xfd\x56\xf9\x4d\x62\x2d\xcc\xf6\x53\xf0\x8e" "\x77\x6c\x9f\x3e\x1b\x0e\x5b\x3c\xde\xf1\x33\x83\x4b\x93\xc4\x1c\x70\x43" "\x8d\x51\xa0\xb1\x27\x26\x28\x68\xd4\x9c\xa9\x16\x23\xc3\xd8\xb7\x5c\x2c" "\xce\x0b\x77\x1b\x9a\xc9\x41\xbb\x96\x02\x9e\x78\x22\x24\xa3\x68\x6a\x7c" "\x0d\xd1\x64\xe1\x62\xed\xe6\x67\xe0\xe5\x81\x7e\x7b\xde\x85\xad\x3b\xf3" "\x0a\x6a\x5b\xdc\x42\x0f\x75\x16\x79\xbe\x74\xa0\x2f\x84\xaa\x93\xb9\x71" "\xc3\xf4\x5a\x67\xd1\x55\xf7\xec\xb1\xd5\x28\x46\x60\x91\x8d\xbf\x10\x2b" "\xc1\x6f\x49\x6f\xb6\x2a\x12\x90\xe6\xb8\x8d\xda\xff\x55\x74\x05\x83\xcb" "\xa1\x30\x76\xaf\xd6\x23\x27\x66\x34\xe0\xc1\x16\x63\xbe\x50\x76\x69\x80" "\x94\x90\x95\x00\x3e\xf5\xbc\x6f\x90\xa9\x8b\xba\xd4\x36\xb6\x79\x28\x51" "\x3e\x70\x11\x52\x24\xf6\x72\xca\x2a\x24\xe2\x7b\xb9\x8b\xd5\x28\x8c\x49" "\xea\x23\xd4\x7e\xf1\x3c\x5f\xf2\x8c\x43\xce\x53\xca\x16\xa6\xca\xec\xcc" "\x1f\x60\x12\x26\x25\x3c\x4a\x38\xa8\x8a\x93\x82\x8f\x6c\x80\x05\x47\xca" "\xdb\xaa\x6d\x7a\xd2\x6d\xb6\x18\xcc\xcd\x38\xa6\x71\x50\x7c\xad\x5b\xa0" "\x06\x5c\xe2\xed\xba\x81\xa0\x59\xb9\x5c\x36\xc5\xd0\x4a\xb4\x56\xfd\x6f" "\xd8\x1e\xc3\x73\x8e\xbe\x54\x6d\x97\x3c\x08\x86\xa5\xe7\xb8\x3d\xd9\xc2" "\xf5\x8f\x5d\x6c\x19\x51\x9e\x67\x57\x5b\x37\x32\xa4\x86\x55\x5f\x8d\x8c" "\x4a\xe0\x04\xa6\x2e\x8d\x07\xab\x2c\x8e\xf7\x4c\xdb\x96\xaa\x99\xd7\x5a" "\xeb\x1c\x25\x98\x59\x96\xf2\x81\xd7\x11\x06\x91\x0a\x3c\x3d\xa1\x7d\xe3" "\x5e\x04\xdb\xe0\x0e\x2b\x7b\x75\xec\x2f\xed\x17\x7a\x7f\x2d\x04\xfb\xf6" "\x8b\xd0\xb8\xaf\x68\x2b\x30\x91\x18\x67\xd4\xd1\x49\x7b\xa0\x60\xb6\x62" "\xf4\xe9\x7a\x8e\x7f\xd3\x61\x30\x15\xcc\x34\x30\x23\x77\x49\x7c\xd0\x8b" "\xcd\xc2\x9f\x06\xda\xe2\x40\x82\x0d\x2c\xcd\xdb\xf8\xc9\x5c\x76\xa4\xba" "\x5d\x3e\x1b\x37\xa6\x23\x69\xce\x3f\x79\xfb\x74\xeb\xd9\xbc\x82\xc3\xfa" "\x3e\xda\xd4\x03\x4b\x67\x15\xc2\x85\x3f\xa7\x78\x1c\x97\x4b\x5a\x4e\x54" "\x1e\x8b\x69\xbf\x4b\xd6\x53\xfc\xce\x4e\x43\x40\xd9\x40\x9f\xe9\x11\x2e" "\x4d\x25\x3a\x3b\x7e\x9d\x43\xf4\x42\x61\x27\xb1\x0f\x2d\x5d\x3f\xcd\x21" "\x93\x49\x0f\x7d\x93\x3e\x0c\xc5\x3d\xae\x55\x2f\x2d\x7c\x9d\x77\xb8\xf9" "\xb2\x7c\x59\x10\x5c\xfa\xe4\x3a\x0a\xab\x31\x4a\x08\x20\xfb\xb5\x68\x4b" "\xf2\x09\x86\xe3\xbe\x21\x56\x88\xb4\x29\x38\xd2\x72\xc4\xc0\xed\xd1\x7b" "\xcd\xc8\x4a\x51\x4d\x24\x83\x45\x6d\x6c\xfb\x4f\x5c\x12\x18\x85\x9e\xe5" "\x5b\xfc\x77\xda\x36\xc9\xc7\x57\x34\x93\x2a\x12\xfd\x03\xdf\x38\x23\x20" "\x63\xed\x92\x02\x4f\x8e\xe7\xc2\x1f\x31\x41\x29\xfe\xb1\x06\x70\xbb\x4d" "\x6a\x0a\xd4\xfb\x3d\xc5\x7a\x64\xcf\xe6\x50\x9a\x07\x70\x65\x0c\xde\xc0" "\xef\xd5\xe0\xb1\xfd\x29\x43\x3c\xf8\x71\xc9\xdd\xbe\x64\x83\x19\xbd\x48" "\x13\x57\x32\x6a\xc1\xeb\x32\xb4\xbe\xf4\xad\x89\xab\x61\x22\xe9\x2d\xc7" "\x86\xde\xca\xc8\x86\x24\xa4\xa3\x96\x3a\xe7\x71\xf8\x02\x3b\x9a\x92\xe4" "\x46\x11\x47\x64\xc5\x3d\x7e\xfc\x07\xe3\xea\x77\xa9\xda\xac\x5c\xab\xbe" "\x64\x8a\x22\x3e\x24\x9d\xb6\x21\x02\xef\x7b\x7b\x6d\x06\xdf\x46\xb6\xff" "\x91\x39\x11\xb8\x98\x48\xa4\x7a\xec\xc0\x56\x3f\xb0\x6b\x6d\x77\xfe\x1d" "\xaf\x45\x41\xcf\x61\x91\x05\xab\x68\xe0\xbc\xdf\x7a\x05\xaf\x22\xb0\x55" "\x13\x23\xbf\x33\xde\xc8\x16\x7d\xf2\xb7\xfa\xc6\x2d\xc9\xe2\x86\xdd\x34" "\x62\xf4\x88\xc8\x2a\xd1\x94\xf7\xfd\x5d\x3c\xa7\x2f\xe9\xc0\xc3\x7c\xdb" "\x6d\x75\x68\x43\x26\xe5\xcb\x30\x31\x9a\xb3\x33\xfc\x70\xbb\x19\x73\x20" "\xac\xda\x16\x1d\x2e\x68\x5e\x78\xac\x2c\xb1\x41\x72\x23\xf6\x47\x42\xb1" "\x2a\x31\x6d\x59\x0b\x18\xa4\x17\x3b\x2a\x10\x5a\x38\x1b\xaf\x6f\x38\x3e" "\xc2\xe8\x1d\x04\x86\x0b\x5c\xc5\x36\x47\x5d\x7c\x5d\x05\xbd\x6a\x7d\xb1" "\xa5\xd9\x39\x30\xba\xcb\xa8\xc1\xde\x63\x70\x7b\xd2\x47\x85\xe1\x9f\xc1" "\xf1\x5b\xa7\x24\x66\x0a\xc0\x0d\x0f\x2e\xbb\xcd\x55\x28\xb8\xcb\xe4\xf3" "\xca\x33\x2e\x86\x11\xe9\x37\xa3\x10\xfc\x79\xd2\x34\xbe\x6c\x1c\xd0\x9d" "\x6a\x5c\xb0\x6a\xb3\x6a\x9d\x66\x71\x88\x14\x4c\x81\xf8\x6a\xaf\x08\x51" "\x76\x35\x73\xb3\x6c\xc2\x14\x62\xba\x4f\x3d\x6e\x95\xd3\x8d\x1e\x9b\x94" "\x30\x85\x66\x1d\x23\x4e\xf6\xd0\x79\xbc\x9d\x84\xc7\x44\x7c\x85\xba\xba" "\x88\x26\x34\x51\xba\x10\x55\x9e\x1c\xe3\x26\xfe\xe5\x07\x4b\x26\xb5\x48" "\x72\xe6\x90\xa9\xa1\xe5\x89\xe1\xc4\x44\xda\xa3\x22\x4b\x29\x2b\xf9\xec" "\x4a\x60\x4d\xc5\x12\x76\x00\x84\x08\x4f\x27\x38\x6c\x89\xa1\x19\x0b\x89" "\x05\xf0\xd7\x20\x50\x8c\x0e\xd6\x92\x72\xf3\x96\x72\x58\x05\x48\x01\x88" "\xaa\x46\x02\xa2\x6e\x83\x3c\x16\xaa\x50\x79\xc0\x57\x7a\x82\x03\xec\x0b" "\x2b\x92\x9e\xf3\xb4\x10\xbb\x42\x7c\x16\x8b\x7f\xef\xd1\xbe\x65\x2f\x06" "\xef\xc6\x1c\x7a\x29\x5a\x5d\x07\xa9\xfd\x61\xbd\x5b\xfe\x67\xac\x5f\x74" "\xe4\x85\xa6\x6c\x92\x95\x0a\x1b\x46\x02\x57\x08\x4c\xa3\xa3\x48\x99\x43" "\xad\x45\x03\x00\x96\x72\x34\xb4\x87\xfa\x3d\xef\x40\x10\xf9\xb7\x15\x19" "\x65\x62\xeb\xb0\x84\x6b\x7a\xc3\xeb\xa4\x76\x46\xaf\x62\x85\x58\x2b\x44" "\x02\xf6\x4a\xa6\x84\xdf\xf7\xd9\xcf\x81\xfb\xe1\xaa\x88\x95\x9f\x79\x06" "\xf0\x68\x39\x38\x9f\x2a\xd5\x6e\xfb\x50\x29\xaf\xe1\xd5\xce\xac\x99\xa3" "\xe6\x98\xf4\x9f\xf0\xda\x7d\xb0\x6d\x7c\x9e\x94\xa8\x77\x3a\x13\xfa\xb9" "\x3d\xef\x13\x96\x67\xb4\xdc\x6b\x74\x1b\xd2\x76\x9d\xa7\x78\x6a\xce\xcb" "\xe3\x15\xf9\x00\x6b\xb6\xb7\x2a\xbe\x5b\xdc\x58\x7d\x8d\x5a\xa8\xf6\x7a" "\xae\xfe\xf6\x81\x97\xfd\x2e\x78\x74\xd9\xb7\xda\x2c\x3a\x56\x18\x72\x0c" "\x12\xe8\xfc\x31\xdb\x3e\x33\x4c\x47\xab\xcb\xf1\x0c\x61\x81\xec\x14\xaf" "\x4f\x9e\x90\xe1\x9a\x35\x36\x0a\x79\x3b\x1e\x9b\x33\x6e\x49\xb3\xed\x67" "\x56\x8a\x86\x0c\xd4\xc2\x98\xf9\x67\xba\x32\x3d\x31\x58\x21\x95\x96\x29" "\xe5\xb7\xaa\xac\x36\x7e\x1d\xdb\x8a\x1c\x5d\x61\x50\x0a\xfa\x69\x33\x1a" "\x4c\x90\x86\x18\x52\xf5\x33\x65\x7b\x28\xb9\x7a\x34\x3b\xc5\x31\xa1\x1f" "\xf6\x34\xb1\x57\xa6\xd8\x59\xa3\x5f\x0d\x2a\x59\x53\x75\xe1\x1a\x32\x45" "\x75\x75\xf1\xd7\x3d\xa0\x33\xbf\x5e\xed\xa1\x23\x37\xb9\xfd\xd4\x6b\xce" "\x19\x2d\x3a\xaa\xa2\x40\xa8\xc6\x5b\xf4\x77\x04\xd6\xaa\x64\xa9\x53\x1f" "\x9d\xe1\x4a\x96\xfc\x9f\xe3\x80\xdb\x35\xdd\x5e\xc5\x23\x21\xc6\x7f\xb4" "\xc1\x8a\xbc\xaf\x22\xfb\xe8\xf6\x02\xed\x20\x12\x32\x25\x13\x17\xe1\xa1" "\xb7\x1e\x1e\x2c\x92\x4a\x92\xd8\x46\x85\xde\x34\x8e\xec\x97\xfe\xd9\x54" "\xb7\xf6\x68\x1d\xdf\x52\x1b\x4e\xe0\x3a\x1a\xeb\x2e\x44\x6e\xe2\xa7\xf4" "\xdf\xa3\x7b\x1c\x53\x83\x11\x39\xfc\x62\x4c\x14\xdc\xc4\xd1\x44\xcc\xdf" "\x75\x8f\xd9\xf3\x44\xb4\xcd\xc1\xdf\x70\xf6\xa2\x4f\xa7\x8c\xab\x13\x6c" "\x91\x2d\x1e\xbf\xfa\x70\x53\xcc\xbc\x9b\x94\x45\x76\x22\x36\xdc\xa4\x09" "\x82\x0f\x73\x83\x70\x11\x7d\x5c\x36\x9d\xfc\x50\xfd\x42\x27\x7f\x14\xee" "\xaf\x29\x11\x0a\xed\xcd\x50\x30\x08\xc4\x29\x14\xd0\x4e\x21\x9a\x8b\x6c" "\x01\xe3\x37\xd0\x47\x24\x91\x9b\x07\x15\x7e\x22\x75\xba\x63\x65\xa9\xdb" "\xa5\xeb\xc8\x01\x9b\xd1\xaa\x1b\x86\x68\x02\x3f\x64\xcf\x47\xe1\xb4\x9b" "\x4f\xbc\xfc\x10\xd5\x60\xbb\x74\x40\x5c\x90\x75\x15\x04\xdb\x81\x00\xd8" "\xa8\xa1\xa3\xff\x84\xd9\x8f\x12\x62\xfb\xbd\x6b\x96\x2f\x49\x2b\x95\x31" "\xa7\x41\x1c\x08\xe7\xe5\x6e\xb0\xf8\x38\x07\x5f\x75\x4b\x6a\x39\x5b\x6b" "\x58\xa8\xe4\xc4\x7e\xb4\x6b\xfa\xba\x2a\xc9\x48\x00\xa3\x96\x74\x9d\x18" "\xba\x0e\x62\x19\xf8\xd6\x16\xec\x71\xa1\xe6\x0b\x3b\xcc\x24\xe1\x9d\x4a" "\x20\xdd\xbc\x6a\x87\x1e\x6d\x7e\xfa\x50\xa3\x62\x61\x05\x98\xd8\x92\xa5" "\xad\xec\xbc\xfe\x21\x75\x34\xde\xee\x36\x20\xdf\xc8\x8c\x79\x92\xec\x2e" "\x71\x0e\x08\x3e\xf0\xa5\x0c\x20\x62\x14\x05\xf6\x54\x80\x4d\x1a\xf4\xf2" "\x4d\x22\xb8\xca\x48\xf2\x63\x03\xe6\x96\x91\x27\xa7\x4f\x0b\x27\x6a\x56" "\x24\xc3\xb8\x44\x10\xd4\xd5\xee\x3c\x62\x60\x58\x76\xe6\x0a\x88\xdf\x2b" "\xd6\xe8\xdb\x8c\x7e\x48\x6f\xdb\x45\x21\x78\x56\x3e\x7a\xdd\x6b\xc1\x26" "\xb7\x21\xb9\xef\x8b\x12\x18\x19\x89\xb8\x70\x31\x57\x3a\x40\x10\xd8\x8e" "\x34\xf1\x5a\x23\x44\xe4\x80\x8b\x74\xc9\x9a\xd6\x8f\x0c\x2a\xca\x4e\x8d" "\x50\x43\x97\xc0\x3e\x13\x28\xc4\xb1\xec\x43\xfd\x90\x2d\x20\x6c\x3c\xfb" "\x63\xd7\x54\x1a\xc5\x7f\xdb\xc7\x0b\x00\x33\xf8\x75\x14\x28\x61\x01\x23" "\x1f\xe7\xe7\x96\x68\xc8\x02\xe1\xc2\x3d\x61\x54\x0c\xdf\x13\xa5\xe6\x75" "\xb7\x36\xe2\x21\xdd\xc2\x9a\xb7\x47\xd9\xc6\x4f\x62\x13\xf5\x1d\x3c\x1d" "\xed\x2e\x2b\x0e\xfc\x4e\x45\x18\x3d\x90\x46\x8f\x61\xec\x17\x20\xf7\xa0" "\xb8\x79\x47\xe2\xc5\x41\x25\xce\xbe\x65\x63\xee\x44\x15\xd8\x86\xbb\xe8" "\x69\xd1\x7d\x36\x37\x1c\x94\x2c\x11\xdb\x1e\x13\xc1\xdd\x40\xed\x24\xca" "\xba\xf7\xee\x80\xea\xe6\xc4\xdb\x93\x4e\x98\x2d\x96\x19\xd7\x53\xdc\xd6" "\x79\xc5\x65\x0c\xd9\x5d\x21\x58\x2e\x31\xb2\x59\x04\x3a\x0d\x03\x37\x1c" "\xd2\x94\xf4\xcc\x02\x80\x42\xc7\x50\x70\xc9\xb5\x34\xa2\xd7\x9f\x16\x4a" "\xb9\xd7\x73\x29\x57\x95\x28\x0d\x15\x84\xca\x66\x4b\x53\xb2\x63\xfe\x2e" "\x23\x53\x4d\x27\xb0\xd8\x57\x42\xfa\xe8\x06\x1e\x03\x18\x77\x95\x12\x9d" "\xd2\x72\x04\x1c\x6e\xb9\xc1\x0c\x34\x06\xda\x1f\x75\x2f\x4c\xa6\x97\xbd" "\xbd\xdd\x74\x97\x5c\xd4\xdb\xba\x56\x87\xfb\x30\xac\x4f\xd5\xd2\x57\x94" "\x94\xea\xc7\x30\x53\xa6\x38\x21\xa8\x52\xcf\x41\xa8\x0f\x66\x68\x00\x6f" "\x7e\x1c\x4e\x30\xb4\x8d\x63\x8e\xba\xb4\x70\xc5\x58\xd4\x2b\xae\xed\x1a" "\xdc\x8f\xc7\x1f\x73\xe9\x5f\x3c\xa2\x12\xa4\xb0\x09\xb5\x08\xe8\x98\x98" "\x72\x7f\x80\x56\x85\xe4\xe7\x65\x0a\x29\x61\xd6\x2c\x11\x7d\x1e\xe9\x01" "\x72\x36\xa6\xbf\xfa\x0c\x36\xae\x11\xbc\x52\xd3\x46\xc8\x33\x99\xe4\x3c" "\x42\xcd\xb9\xf4\x43\xaa\x30\x71\x09\xa9\x7e\xe6\x6c\xeb\x7a\x29\xee\xb2" "\xf1\xa2\xbb\x3e\xe1\x49\x22\x29\x11\x6d\xb0\x73\x01\xb2\xaa\x41\x26\xae" "\xe7\x77\x5d\xaa\x2d\x0e\xab\x4d\x20\x6f\xae\x11\xb3\xc6\xb5\x65\xdc\xc4" "\xc7\xb4\xdd\x1c\xf2\xab\xec\x81\x15\x0d\x06\x29\x80\x3f\x6e\xb2\x21\xbe" "\x38\x4b\x87\x72\xfe\x6d\x6c\x4f\xa9\x8c\x92\x8a\x9d\x0a\x02\xe9\xff\x8b" "\xb7\xa2\x16\x8d\xbe\xbe\x14\x03\x23\xd9\x3b\xee\x89\x83\xc4\x96\xbc\xcf" "\x75\x2c\x37\x2b\x79\x5a\x34\x93\x62\x4c\xef\xb3\xcf\xeb\x43\x07\xbd\x39" "\x82\x6c\xac\x1e\xa3\xf1\x89\x12\xde\xef\x1b\x8c\x8d\xb3\x0b\xc0\x16\x99" "\x0a\x47\x7b\xc0\xa9\x25\xfb\x36\x45\x3a\x9e\x21\x35\x4b\x2d\x7e\x6e\x3d" "\x4c\xa4\xdd\x20\xf2\x7a\x8d\xb0\x54\x29\xd4\x4b\x7a\x48\x53\x65\x19\x1d" "\xc4\xba\x97\x7a\x81\x59\x58\xfa\xf6\x43\x48\x13\xa9\xf4\x04\x60\x54\x76" "\x3d\xd5\x5d\xbb\x7f\xae\x89\x2b\x74\x6e\x16\x9a\xe0\x46\xae\x33\x61\xa9" "\xf7\x5c\xf6\x22\xb0\x3f\x75\xb1\x63\x3d\xa8\x64\x39\x5b\xd1\xc3\xa5\x94" "\xfa\xb0\xb1\xfb\x37\xf0\x88\xdd\x1f\x27\x76\xe2\xb7\x95\xc7\x86\x35\xc2" "\x02\x6a\x8c\xe7\xff\x40\x96\x8a\x19\x60\x78\x60\x49\xa2\x17\xdd\x88\x72" "\xac\x0c\x01\xf4\xba\xfc\xf2\xd3\xd7\x51\xdd\x46\xa5\xe1\xbe\xc0\x05\x40" "\xa9\xca\x7a\xfc\xa3\xef\x37\x57\x5d\x4a\x8b\x12\x91\xd0\x5b\xe9\x49\x13" "\x09\x28\x90\xa9\xb4\xbf\xff\x39\xed\xbf\xf3\x07\xe5\x65\x48\x96\xe7\x92" "\x28\x77\x7c\x0f\x8e\xa4\x6c\x55\xbf\xe1\x9e\x52\x2b\xf4\x57\xab\x4e\x6b" "\x01\x67\xd7\x76\xdb\xcd\x01\x60\x59\x83\x70\xa1\x2c\x4a\x03\xe4\xed\xc8" "\x2b\x24\x5a\x76\x08\x79\x7b\x03\xd4\xed\x89\xdf\xc2\xa5\xbf\x07\xb9\xfc" "\xb2\x51\xfb\x86\x08\x55\x3f\x3b\x37\x74\x81\x87\x17\xa9\xaa\xbe\x6b\x2d" "\xed\x81\x15\x15\xba\x45\x4b\x39\x0a\x60\x65\xbb\xc5\x95\x52\xf3\xbf\xe5" "\x1d\x38\xf1\x39\x79\x2e\x1a\xae\x60\x09\x3a\x7c\x57\x70\xb5\x2a\x17\x30" "\xfe\xb1\x04\x9c\x14\xa7\xd5\x26\x1d\x64\x4f\x6b\x73\x8e\x22\xee\x72\xaa" "\xfa\x42\x2b\xd9\x3f\x61\xe1\xcc\xac\x0a\x5e\xf4\x72\x6c\x66\xf6\x1b\xb5" "\x39\xac\xb9\x37\xbd\x63\xda\x82\xc7\x00\xc0\x86\x0b\xe9\x0c\xe5\x62\x1c" "\xed\x22\xb5\x2b\x63\xd0\x41\x26\x6f\xc2\x58\xfb\xfa\x66\x41\xae\xf2\x2e" "\x97\x80\x4e\x51\x38\xad\x2c\xe4\x40\x5e\xaf\x76\xbb\x0a\xcd\x7f\xc6\x1b" "\x2d\x6d\xe4\xaa\xbc\x5c\x28\xa8\x50\xfc\xf2\x19\xcf\xf7\x7c\x97\xd3\xcb" "\x6b\xec\x00\x67\xc1\x71\xb9\x12\xd1\x1d\x82\xc5\x6c\xba\xd5\x6c\x00\x32" "\xa9\x65\x7d\x4c\xdd\x1e\xac\xac\xa5\x3f\x40\xf5\xe3\xfe\x91\x11\x27\xe1" "\xcd\x30\x78\x13\x51\xf1\x80\xe1\x41\x39\x33\xce\xe2\xd4\x6c\xa0\xee\xa3" "\x1e\xe0\x1f\xe4\xe9\x9a\x56\x7e\xdd\x0b\x10\x56\x5d\x47\xb8\x7c\x8a\x48" "\x36\x61\x43\xe8\x89\xe5\x2d\x0f\xf1\x3c\x92\x0a\xea\x09\x2c\x25\x45\xfa" "\x9b\x70\x56\x20\x4f\xec\x15\x65\x49\xd3\xc0\xa9\x97\xbc\x1c\xf4\xa0\x13" "\x38\x48\x3b\xf5\xc6\x9d\x69\x58\xae\x03\x8f\x1c\x3e\x3b\x84\xba\xeb\x2c" "\x1f\x9e\x06\x4c\x07\x50\x60\x2c\x34\xc6\xc4\x83\xc3\x16\x39\x1d\x97\x5f" "\x94\xf2\x1f\x6d\xfe\x74\xe9\x2c\x33\x22\x8b\x40\x8a\x9e\x2b\x9a\xbc\xda" "\x33\xc4\x97\xab\xba\x9c\x48\xa6\x3e\x5c\x8f\x1a\x8d\x0f\x4c\x24\xd3\x6a" "\x44\xe1\x60\x1e\x8a\x09\xe8\xa5\xc7\x17\x9b\xd4\xc4\x4b\x17\xe5\x42\xdd" "\x99\xca\xce\x87\xaa\xb6\x0a\x5e\x53\x32\x5d\x54\x4c\x99\x1b\x6f\xa5\xde" "\xff\xa4\x9f\xd8\x86\x33\x29\x80\xde\xec\xa9\x22\x9c\xb2\xf6\x7f\x49\x5a" "\x7b\x74\x31\x53\x85\x4e\xd8\x1e\x16\x23\xb1\x2d\xbd\x65\x51\x2d\x08\xa5" "\x73\x2f\xee\x2d\xb3\xfb\x45\x5c\xf6\xdf\x5a\x17\x01\xa2\xb8\x67\x46\x33" "\xc6\x79\x21\x62\xdc\x86\xac\x76\xe3\x0d\xa2\x25\xb0\x16\x7a\x7e\x70\x4a" "\xd3\x3b\xa6\x94\xf9\xc9\x02\xaf\xbe\xed\x58\xee\xf6\x09\x87\x47\x67\x05" "\x3f\x59\x41\x4d\x4d\x3e\xcc\xbb\xcd\xbc\x7e\xba\x99\x7c\x71\xf9\xb1\xf5" "\x13\x9b\xb0\x20\xd5\xda\xe1\xdb\x6e\x2d\xcf\xbb\x51\xb5\x37\x1b\x08\xbd" "\xbc\x33\x12\xb0\x5e\xe6\xd8\xc0\x3c\x8b\x5a\x7d\x4f\x23\xda\x45\xf2\x76" "\x39\x4f\x22\x2b\x1a\x0b\xdf\x4e\x26\x03\x24\x3c\xdb\xa6\x0e\xe0\x53\x03" "\x87\xc8\x8b\xb4\x57\xca\x99\x32\xf2\x28\x3a\x4d\x55\xbb\x11\x95\xe6\xd3" "\x25\xed\x93\xf7\x14\xe2\x19\x08\xb1\xba\xaf\xa4\x67\xf1\xce\xc7\xfa\x26" "\xe5\xc3\x84\xee\x68\x28\xe7\x79\x78\xbd\x1a\xbd\x01\x4d\xe5\x49\xa5\xe5" "\x96\x6f\x2b\x2f\x4b\xa0\x00\xf9\xd7\x7f\x1a\xbf\xe3\xa6\xc3\x37\xcd\xb8" "\x52\xc1\xec\x59\xf6\x1b\x63\xd5\x43\xf3\x06\x2d\xd2\x61\x6a\x16\x3e\xd7" "\xca\x60\x16\x8b\x03\x47\xb5\xc5\x64\x6a\x67\x8d\xaf\xb4\xc5\x02\xc3\x33" "\xa0\xa4\x8f\x03\x41\xb4\x7f\x5c\x59\x46\xe4\x2e\x57\x1d\xb0\xbf\xa0\x68" "\x2a\x44\x9c\xa6\x4e\x71\xb5\x66\x1a\x84\x29\x75\x18\x23\x99\x24\x5c\x6d" "\xe2\x41\x51\x2c\x67\xac\x91\x8d\x7e\x0c\x5c\xb6\x65\x65\x01\x0e\x88\x1b" "\x83\x33\x56\x7c\xa5\x84\x32\x1e\xad\x1c\x38\x3b\x09\x9d\x8b\xf1\xc5\x6d" "\xac\x08\xcb\x21\x8c\xde\x42\x26\xad\x42\x0d\x6d\x63\x13\xf9\xc4\x88\x4d" "\x63\x94\x72\x23\x04\xfd\xaa\x76\xe6\x1d\xb8\xc0\xd5\x4e\xb1\x15\x13\x44" "\xc4\x1c\xe1\x13\x02\x72\x92\x8e\xec\xb2\xf9\xf0\xf2\x3c\x75\x26\x22\x37" "\x4e\xb1\x22\x3a\x80\xef\xcf\x0b\x93\x7d\xff\x7d\x81\x3d\x7b\xe0\x34\x02" "\x26\xc0\xa7\xb1\x63\x74\x1d\x9a\xec\xaf\xcb\x7d\xda\xe5\xa2\x19\x32\x33" "\x23\xf6\x21\xc8\x02\xbe\x82\x39\x9e\x06\xd2\xe1\xcc\x58\x2e\x75\x9f\xfa" "\x30\x3c\x51\x03\xf8\xa4\x4d\x71\x29\xd2\x85\x3b\x02\xe5\x06\xab\xda\x57" "\xad\x28\x36\xd7\xff\x16\xf9\x52\x32\x14\x9f\xbe\xb8\xb6\x2e\x58\x6d\x35" "\x36\xbb\x4a\xe0\x42\xec\xd9\xe2\x5d\x1d\xee\x78\x93\x53\x07\x1f\x9c\x89" "\xd4\x36\x10\x00\xc4\x7b\x76\x35\x56\xe8\x90\x2f\x1f\x25\xcb\xd8\xae\x71" "\x67\x9e\x03\xff\x27\xdb\x0e\xc7\x5e\xee\xe3\xfc\xca\xfc\x7f\xcf\x22\xc3" "\x77\xac\x60\xd3\xc6\x1a\x43\xcb\x53\xab\xf6\x16\x21\x18\xf2\xef\xc8\x6a" "\x5c\xe8\x0e\x69\xa0\x2b\xc1\xdb\x80\x01\x8b\xee\xef\x6d\x56\x79\x41\x23" "\x2e\x44\x12\xa9\x58\xed\x01\x2b\xf7\xa8\x32\xc1\xea\xf6\x81\x34\xec\xab" "\xc4\x92\x7a\xd6\x66\xb3\xd0\xf2\x1d\x4e\x8d\x52\xfa\x37\xe0\xa9\x75\x11" "\x24\xef\xed\x8b\xf4\x75\x44\x29\x91\x38\xa6\xf6\x9d\x89\xe2\x95\x67\x7f" "\x12\x60\x6c\x79\xb7\x24\x51\xc2\x63\xfc\xa3\xee\xc2\x2b\xf0\xc4\x7c\x64" "\x11\x59\xa0\xbb\xfb\x3b\x2b\x03\x15\x4a\xf5\x33\xe5\xc0\x6a\x14\x9e\x52" "\xad\xcf\xae\x31\xbf\xc5\x5f\x30\x06\x4a\x89\x03\xc8\xd3\xb8\x28\xd2\x75" "\xa9\x37\xb1\xe4\xad\xff\xa0\x59\x7d\xa5\xe2\x53\xb5\x0b\xd7\x1b\x33\xf0" "\x57\xff\xef\xf0\xb2\xa0\x82\x9b\x3b\xf3\x33\x50\xfb\xe6\x7c\x7c\x79\x03" "\x4f\x80\xd6\x9e\x6a\x21\xbe\x49\x5a\x84\x8d\x32\x8f\x41\x6f\x15\x96\x64" "\x91\xb2\x18\xea\xb3\x90\x54\x4e\x39\xd4\x98\x25\x8a\xd8\x0d\xda\xe2\x48" "\x63\x4c\x84\x5c\xbe\x6f\x1c\x1e\x93\xe7\xc2\xb0\x20\x75\x41\x1e\x07\x5f" "\xe9\x36\xbc\xc7\x5f\x4a\x4e\x1a\x36\x87\xcb\x3d\xbb\xb6\x1c\xb3\x1d\xdf" "\xbb\xc8\x7a\x18\x59\xb3\xa4\x8f\xcc\xdd\x8e\x59\x15\xc8\xbf\x4e\xeb\xe8" "\xf7\x09\x3c\xef\x6a\x7a\x91\xc8\x68\x29\x15\xf9\x90\x8c\x85\x4c\x48\x3e" "\x90\xc9\x64\x34\x67\x29\x28\x84\xd2\x84\x13\x4d\xba\xdd\xaf\xdb\xc7\x4d" "\x94\xa5\xf9\x71\x37\x19\xd6\x2b\x4f\x6b\x42\x36\x80\x3d\x21\x01\x81\x84" "\x7c\xa2\x71\x29\xfd\xe2\x64\x15\x68\x95\xf4\xe1\x82\x2e\xf7\x8a\x3b\x21" "\x5e\xf5\x6d\x7e\x36\xd2\xb9\x4c\x93\xf5\xe9\x31\xa0\xd1\x3a\x3a\x30\x30" "\x06\x1c\xe6\x2d\xe5\x95\xee\xcf\x47\xea\xe6\xbf\x69\x85\x30\x14\x57\x57" "\x70\x0d\xf1\x8f\x66\xfd\x72\x61\xa1\x2c\x11\x9d\x66\x79\x66\x3b\x3c\x0f" "\x99\xd1\x70\x5a\xeb\xe6\x6d\xc8\x62\xeb\x21\xcc\xb7\x36\x0b\x93\xf5\x45" "\x07\x14\x9b\x57\x7a\xbf\x52\x11\x13\x99\x1e\x06\xf3\x45\xe8\x28\x2f\xdc" "\x18\xde\x67\x3e\x1c\xa7\xb1\x88\xee\x34\xb1\x4f\x37\xf8\x6d\xdc\xf9\x7f" "\xef\x0b\x91\x3c\x33\xcf\x8e\x5d\x5d\x33\x70\x7d\xbc\xdb\xe4\xb2\x7c\xef" "\x05\x66\x70\x25\x2f\x18\x67\x35\xcd\xd0\x2f\x6e\xd6\xbf\xe5\x31\x8a\x70" "\x4f\x00\xe3\x4f\xfc\x4f\xda\x98\x55\xbf\x37\xc5\x1b\xe6\xa7\x42\x3e\x44" "\xdd\x8a\x98\x88\x3c\x8f\xa8\x2c\xa3\x7c\x90\xd6\x81\xfb\x7a\x0d\xb9\x15" "\x57\x6b\x50\xe4\x9a\xff\x54\x5b\x99\xaa\x3a\xa6\x34\x3b\x81\x4b\xa0\xbf" "\x64\xe5\x3b\x2a\x1e\xdc\xae\x22\x31\xbf\x20\xd6\x5e\x4b\xb4\xda\x6d\xc8" "\x38\x21\x20\xed\xe6\x52\xad\xfb\x7c\x30\xa4\x6e\x0e\xe7\x84\xcb\xde\x74" "\x56\x3d\x83\xeb\x8d\x89\xa1\x57\x3f\xa1\x04\xfd\xdc\xa9\xd4\x83\x3c\x49" "\xdc\x90\x4b\xda\x90\x54\x26\xc7\xde\xe3\xe4\x8b\x59\x6c\x8e\xe2\x01\xbe" "\xa5\x7f\xed\xb1\xa0\x64\x94\x57\xea\xac\x3c\x5b\x5f\x45\x19\xaf\x3a\xdb" "\x66\xf1\x0b\x86\x1e\x71\x1c\xd4\x03\x44\x48\x89\x0e\x15\x04\x7c\x2f\x89" "\x02\x58\x82\x68\xb5\x64\x50\x51\xf3\xf3\x96\x8e\xd8\xd6\x30\xe0\x50\xcc" "\xef\x0d\x01\xb6\x1f\xfe\xad\xe5\x1e\x4e\x72\xd8\xfd\x46\xbb\xa4\xc2\x00" "\x09\x39\x6e\x98\x4c\x42\x4d\x17\x49\x34\xa6\x7a\x19\x30\x66\x5f\xbe\xa0" "\x4c\x80\x9e\x7c\xda\x0a\x2c\xdf\xd3\xa1\x4d\x6b\x99\xc3\xa8\xd8\xb3\x69" "\x18\x25\x83\x04\x56\x87\x6f\x18\x8f\xf8\x71\xfc\x86\x1e\x4c\x6a\x0c\xa3" "\x77\xdc\x1f\x0c\xb0\xf9\x29\xf7\xeb\x1f\x5d\xa0\x45\xd9\xa5\x88\xa3\x93" "\x31\x2a\xca\xcc\xa5\xc5\xa3\xb1\x5b\xb1\xb4\x88\xb0\x8f\xc4\x0a\xd6\x5a" "\xe2\xc1\xdf\x18\x7e\xcc\xd8\x37\x75\x25\xa8\x1d\x80\xdf\x57\x57\x9a\xe5" "\x2f\x77\x5f\xb2\xef\xdd\x17\x2a\x41\xc3\x70\x30\x0f\xcc\x59\x4c\x26\x35" "\xdc\xf5\x0e\x9e\xb9\xd3\x4f\xa8\xb4\xbb\xfd\x13\x07\x84\x22\xe3\xa7\x73" "\x4a\x8a\xe6\xcc\x09\xe3\x9d\x07\xc7\xee\x19\x83\x8f\x8d\xa4\xcb\xaf\xe4" "\x16\x2c\x8f\x8d\xc4\x4e\x28\x48\x40\xbd\x0a\x5c\x80\xbf\xc6\x57\xc2\x2e" "\x37\xe0\xd9\xa9\x6d\xda\x34\xa5\x1c\xe6\x16\xc9\xcc\xdc\x95\x95\x5c\xf8" "\x5d\x93\x86\x0d\xa9\x02\xab\x30\xf1\x1a\xa3\x33\xea\xcc\x25\xc4\x79\x81" "\xd8\x63\x60\x38\x76\x1e\xd4\xd8\x4f\xcb\xb0\xca\x92\xdd\x2e\x07\x86\x3b" "\x95\x05\xb4\x51\xc3\xc4\x9e\x36\xa1\x72\x52\x75\x78\x12\x30\x49\xff\x2d" "\xc2\xb4\xe2\x58\xa3\xf6\x98\xa1\x2c\xa4\x70\x5a\x6f\xd0\xce\x6b\xc4\xf1" "\x76\x7b\x4d\x9c\x2e\x57\xc9\xed\x13\x88\x52\x79\x64\xac\x96\xff\x5e\x4c" "\xf5\xad\x6f\xdb\x6a\x85\x3b\x43\x90\x5d\xf3\x2a\xf8\xbd\x78\x8b\x52\x0f" "\xd5\x26\xcb\xb9\x51\x95\xa1\xbc\x00\xd6\x54\xcb\x08\x0a\xcd\xf6\x79\x38" "\x51\x7a\x6c\xda\xc7\x41\xd8\x67\x30\x35\x8b\xe1\x64\x65\xb4\xe1\x30\x1f" "\x47\xf6\xa4\x44\xc4\xe8\xd2\x98\x0b\x8b\xd9\x8a\x8d\xcd\x66\x17\xcd\xe0" "\xb2\x87\xe2\xd1\xf5\x91\x67\xb5\xc4\x45\x14\x6f\xa4\x97\x28\x11\x1b\x8a" "\x27\x29\x42\x8c\xab\xd0\x2f\xac\xb8\xfb\xdd\xbd\xb2\x76\x96\x80\xf2\x88" "\x64\x8d\x6b\xaa\xc5\x3e\x0d\x90\x93\x35\xda\x3e\x2b\x4c\x13\xeb\xd4\x1f" "\x32\x82\x0c\x9f\x49\x1e\x91\x24\xca\x44\x4a\x05\x32\xf6\x0e\x28\x16\xe1" "\x5a\x58\x10\xba\xa9\x1f\x64\x45\x4a\xa3\x55\xf9\xd3\x62\xc7\xd1\xa4\x61" "\x56\x16\x89\xd0\x8b\x13\x50\xa2\x16\xb6\xf1\xbd\xa5\x7a\xae\x07\x06\xb3" "\x71\x0a\x1b\x8e\x52\xa7\xe3\x08\x4e\x60\x0b\x5e\xe3\xdc\x54\x0b\xba\x0c" "\x16\x26\x7d\x54\x93\x04\xa7\x84\x06\x59\xa3\x2e\x40\x07\x07\x15\xc9\xbb" "\x91\x27\x92\xd4\xa7\xb8\x4f\xa0\x6e\x73\xb9\xdd\xbc\x2f\x06\xc4\xed\xc1" "\x9d\x25\xf5\xa1\x98\xc7\xe3\xfc\x62\x26\x84\x2e\x62\x15\xda\x5d\x82\x6f" "\xcf\x59\x49\x61\x28\x89\xf7\x8e\x9d\xe3\x9d\x4e\x64\xb8\x6b\x70\x33\xb5" "\x71\x7a\x21\xf8\xf2\xb8\x1c\x79\x9a\x3f\xc0\xbf\xe6\xf5\x83\x7b\x25\x2e" "\xef\xa3\x60\xc9\x1a\x61\x48\x29\x6b\xd1\x9d\x50\xa3\x43\xd9\x09\xc1\xed" "\xf5\x26\x1e\x70\xc8\xdf\xb2\xc4\x88\x94\x0c\xf2\x36\x94\x1a\xd3\xfd\x01" "\x24\x7e\x37\x90\x2a\x4b\xbf\xdd\x18\x39\xf7\xc9\x2c\x26\x0a\x2c\x49\x40" "\x22\xfa\xc0\x86\x29\x30\x3c\x8e\x54\x10\x8d\x78\xae\x2c\x94\x28\x9c\x7f" "\x99\x8b\xa3\xb6\x22\xb4\x89\x31\xee\x7c\x17\xc5\x9f\x54\x99\xd2\x82\x46" "\x7a\x1b\x80\x50\xac\xc9\x4a\x0b\x17\xb2\x18\x36\xc8\x0b\x69\xf5\x19\xb9" "\xb0\x77\xd1\x8e\x33\xc0\x27\xfa\xad\x56\x2f\xa0\x9f\x2c\xc6\x12\x0f\x8c" "\xf5\xee\x18\xcf\x7d\xb9\xd7\x29\xff\xbb\x9d\xe5\x88\x85\x71\x32\x15\xb7" "\xae\xbb\x8c\x98\xd9\xfa\x00\x9b\xe0\xa9\xef\x3c\xec\xcd\xb2\xb3\x19\x68" "\xdb\x55\x5b\x26\xc5\xc9\x4e\x38\x2d\x06\xeb\xf6\xd3\x56\xe8\xca\xa8\x5d" "\xef\x58\x13\xdd\x15\x96\xd8\x23\x92\x4c\x4f\xb6\x3d\xba\x5b\xd0\x94\xcb" "\x64\xf2\x04\xd1\xe5\x9d\x31\x28\x77\x15\xf8\x31\xa1\xf0\xbe\x95\xd8\x74" "\x9f\x21\x66\xba\x0b\x0b\x6b\x64\xa3\x79\x91\xbe\x1f\xe1\xc1\xe9\x22\x83" "\x5f\x2d\xa0\xc0\x74\xec\x94\x13\x56\x1d\x52\x16\x65\x76\xb1\xc4\xf1\xe1" "\x8f\x07\x8d\xc0\x46\xd1\xc2\x84\x96\x4b\x80\x21\x7b\x55\xc5\x9a\x47\x47" "\x40\xc3\x64\x91\x16\xb3\x3e\x92\x74\x79\x73\x6b\xff\x60\x05\x85\x9c\x7c" "\x00\x59\x8f\x22\xcb\x8e\xca\x38\xaf\x80\x2f\x4c\x86\x83\x6e\x83\x30\x49" "\x2a\xc7\xef\x37\x07\x89\x0a\x8f\xf8\x56\xdc\x77\x86\xed\x76\x9b\xba\x75" "\xb1\x84\x84\xb2\x57\xb3\xb0\x22\xee\xb5\x1a\xa7\x20\x63\x9f\x79\xe6\xe6" "\xbd\x3d\x3c\x9a\x61\xf7\x82\x2a\xbe\x56\x28\x67\xb4\x69\x3f\x0b\x2f\x61" "\x13\x5a\xae\xaa\x51\x0b\x31\x11\x2e\xfe\xec\x48\xd2\x60\x2c\x6d\x4f\x2d" "\xde\xeb\x51\xbb\x03\xab\x18\xc1\x8d\x8e\x12\x7a\x37\xe2\x28\x81\xfe\xbc" "\xa4\x77\x42\xb9\x33\x2d\x3f\x22\x51\x00\x3b\x1a\x46\xc4\x0e\xca\x11\x1d" "\x02\x44\x64\x66\xb6\x69\x56\x8c\x70\x97\x1b\xd3\x32\x54\xca\x57\x77\x77" "\xf1\x26\xf8\x6f\x8a\x36\x65\xf0\x65\xb6\x45\xff\x26\x1e\x78\xe0\xf5\x32" "\xe8\x3a\x81\xb9\x9c\x5d\xe3\x48\x8d\xe7\x4c\xa8\x2d\xaa\x0e\x4e\x74\x04" "\xef\xf9\x11\xae\x95\x5a\xcb\xb8\x00\xf9\xf9\x1b\x77\x4e\x47\x2b\xc1\x4a" "\xa9\x28\x17\xb6\xd8\x58\x77\xb1\x86\x1a\x6c\xa9\x2c\x03\xc8\x3b\x6f\x14" "\x90\x06\x8b\xad\x8e\xab\x1f\x58\xc9\xe9\x1e\x10\x29\x68\x3d\xe2\xca\x45" "\xc9\x99\x66\x96\x60\x31\xee\x86\xd8\xc9\x99\x5f\x06\x12\x48\x0e\x2a\x6d" "\x53\x96\xe8\xae\x36\x1d\x6f\xd2\xe2\x45\x57\x61\x3a\x11\x91\xf5\x01\x9d" "\x4c\x80\x78\x62\x80\x13\x51\x2e\xa3\xa5\x95\x32\xef\xff\xa6\xcf\xe4\x97" "\x0d\x28\xd8\xc7\xaa\x8c\x86\x6c\x42\x75\xff\x2b\x0b\x4e\xf1\xa7\xe5\x68" "\x54\xd7\xee\x4b\xc4\x45\x71\x3d\xa9\x34\x9d\x13\xe3\x0a\x4a\x80\x2c\xb9" "\xdb\x2f\x10\x28\x0f\xd9\xea\x04\x3b\x5b\x34\x80\x44\x1e\x8e\xd2\xd9\x07" "\xea\xe1\x25\x9b\xef\xba\x9d\x87\xa0\x4c\xe4\x2b\x00\x10\xc7\x0a\xf1\x57" "\xb9\x0e\x0b\xf7\x25\x49\x85\x2f\xd1\x22\xed\xd6\xcf\x34\x75\xf7\x68\x52" "\xb1\x3b\x4b\xf8\x87\xcf\x32\xe2\x5a\xd3\x4a\xed\x7f\xd5\xa6\xe9\x7b\x30" "\x7f\x9b\x4f\xf1\xc0\x7b\x2b\x55\xbe\xef\x5e\xf3\xdd\x96\xee\xb2\xa5\x77" "\x20\xc1\x82\x09\xd9\x11\xa5\x53\x41\xce\xe6\x7e\x6f\xf5\x77\xf7\xac\xab" "\xa0\x1c\x2c\x96\x90\xb1\x5a\x3b\x8a\xaa\x5b\x9d\x73\x41\x96\x46\x7a\x8c" "\x07\x4b\x2e\xee\xb5\xae\x93\x1d\xdf\x3d\xeb\x15\xb1\xa8\xd6\x03\xe7\x21" "\x25\xc2\xe6\x8a\xd2\x06\xf2\xc4\x25\x2a\x65\x9f\x82\x48\xff\x88\x2a\x8e" "\x54\x12\x6e\xbc\x0c\x77\xa4\x61\x01\x07\x22\x72\x46\x0e\x68\x3d\x46\x52" "\x79\xa3\x69\x5b\xe6\xb6\x4c\x9e\xeb\x4a\x57\x6d\x95\xfd\x52\x0b\xe4\x2e" "\xab\x5c\x95\xcb\xac\xe0\xdf\xd8\x0e\x2d\x67\xba\xb9\xf6\x83\xa1\xcc\x9c" "\x00\x6c\x02\xf0\xf9\x0a\x21\xa0\xf5\x12\x18\xc6\x28\xf5\x60\x8f\xbf\x1a" "\xbc\x79\xaa\x63\x45\x2b\xde\x10\x02\x38\x30\x33\x57\x8f\x32\x98\x0e\x37" "\x79\xa8\xed\xeb\x22\x6f\x6d\x3f\x9b\x36\xd8\xf0\x7b\xdd\xd7\x47\x9b\x60" "\x34\x6a\x4b\x4f\xa8\x83\x94\x0e\x3a\xef\x8a\xd8\xd8\x34\xda\xd4\x40\x59" "\x60\xa4\x40\x9a\x62\x55\xe8\x75\x3d\x0c\x0a\xd0\x96\x0f\xf3\xef\x48\xce" "\x93\xfb\xe6\xb1\x65\xe8\x6e\xab\x36\xfc\xcb\x8b\x98\x9f\x5b\x54\xe6\xcc" "\xaa\x19\x74\x9f\xf0\x65\xa0\xa7\x32\xd1\x5c\x41\xb9\x07\x2b\xbc\x6f\x07" "\xe1\xfd\x5a\x3d\xf2\x77\x58\x74\xe4\x6b\x61\xed\x50\x71\x4e\x8c\x40\x3f" "\xbe\xd6\x88\x4e\xc0\x6f\x52\xab\x71\xd2\xc1\x91\xfc\xc5\x6a\xc0\xb1\x7b" "\xa3\xc4\x6d\x2d\xab\x3e\x11\xc7\x93\x83\xbd\x88\x67\xff\x14\xb5\xfb\xca" "\x73\xb9\xae\x59\x4b\x6a\x09\xfb\x73\xa2\xe8\xf1\x5a\xee\x59\x15\x0e\x8d" "\x6d\x3d\xad\x96\x59\x02\x5d\x04\x5b\xbd\x1b\x9c\xa2\x57\xc6\x7b\xb7\x8a" "\xbe\x8f\x7e\xb9\xc8\xb3\xbc\x32\x95\x1c\x41\xf7\x39\x0b\xac\xc8\xc7\x05" "\x9a\x2a\x9b\x07\x8a\xb5\x04\x13\x60\x5a\xec\x60\x4e\x46\x66\xa6\xac\xe7" "\x65\xb0\xe7\xab\x55\x8f\xe6\x23\x2f\x27\x03\xd0\x78\x11\xe3\xd0\xac\x5b" "\xf9\x43\x4e\x87\x87\x6e\x99\x25\x0e\xe9\xdb\x65\x27\xa8\xcc\xb4\xa3\xee" "\x3b\xde\x73\x85\x63\xc9\x74\x6f\x94\x1c\xf2\xcd\x7e\xfa\xcd\xbd\x25\x93" "\xca\xfd\xbe\x51\x71\x86\x4b\x29\x82\xb5\x4d\xc5\xa3\x2c\x86\x63\x8c\x0e" "\x65\x0a\x33\x16\x25\x03\x3b\x8d\xd6\x58\x51\x96\x5a\xe7\x91\x88\x03\x49" "\xd5\xcd\x52\x54\x8f\x44\x22\xa3\x17\xf9\x6e\xd7\x9e\x7c\xcf\x3b\xd6\x71" "\xe6\xdc\x70\x36\x5f\x52\x1c\x65\x20\x63\x86\xeb\x1f\x99\x57\x0a\x54\x4d" "\x11\xb3\xd3\x6f\xea\x28\x5f\x8a\x37\x70\xca\x30\x3a\x96\x5a\x0c\x1d\x59" "\x8e\xbe\x36\x96\xe6\x47\xbe\x73\x4c\xcf\x76\x0d\x3d\x47\xde\xc7\x5e\x23" "\x6d\x7a\xc0\x80\x19\xb6\x62\x2a\x7b\x9f\x08\xbc\x8f\x09\x37\xab\x75\xe7" "\x5a\x04\x7a\x73\x86\xbe\xfb\xd5\x6f\xc4\xb2\xf8\x9c\x85\x2d\xad\xce\x8d" "\xf9\x46\xcb\x3f\xaf\xe4\xee\xd2\x67\x8c\xaa\xdf\x1a\x91\x3a\xe3\x2b\x2c" "\x0b\x8a\x37\x98\x4c\xb7\x00\x34\x3c\x5e\x24\x60\x9f\x8c\x5d\xde\xff\x5e" "\x65\x38\x37\xa9\x33\x2a\x41\xc8\xe2\x14\x66\xa1\x3d\x79\x22\x41\x25\xd5" "\xf6\xa4\xfe\xf7\x9b\x5a\xda\xe7\xf4\xab\x7d\x35\x1c\x55\x40\x05\x45\xed" "\xd3\xc0\x06\x37\xbd\x27\x16\x48\x28\x92\x5e\x9b\xb5\xd7\x9f\x1f\x1e\x6e" "\xb3\x27\x0a\xb7\x99\xae\x38\x77\x2f\x77\x95\x65\xd9\x2c\x47\x50\x3d\xe6" "\x95\xf7\xaa\xd7\xdd\xac\xda\x6f\x6c\x71\xe7\x55\xb3\x73\x72\x31\xb6\x47" "\x15\xbf\x07\x84\x9d\x34\x66\xe4\xf9\x22\x39\xf7\x33\x43\x6c\xe6\x74\x38" "\x9b\xd1\x69\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00", 8192)); NONFAILING(syz_fuse_handle_req(/*fd=*/-1, /*buf=*/0x200066c0, /*len=*/0x2000, /*res=*/0)); NONFAILING(memcpy((void*)0x20000b40, "/dev/sg0\000", 9)); NONFAILING(memcpy((void*)0x20000bc0, "hostfs\000", 7)); syscall(__NR_mount, /*src=*/0x20000b40ul, /*dst=*/0ul, /*type=*/0x20000bc0ul, /*flags=MS_STRICTATIME|MS_MANDLOCK*/ 0x1000040ul, /*data=*/0ul); NONFAILING(*(uint32_t*)0x20000280 = 0x50); NONFAILING(*(uint32_t*)0x20000284 = 0); NONFAILING(*(uint64_t*)0x20000288 = 0); NONFAILING(*(uint32_t*)0x20000290 = 7); NONFAILING(*(uint32_t*)0x20000294 = 0x24); NONFAILING(*(uint32_t*)0x20000298 = 0); NONFAILING(*(uint32_t*)0x2000029c = 0); NONFAILING(*(uint16_t*)0x200002a0 = 0); NONFAILING(*(uint16_t*)0x200002a2 = 9); NONFAILING(*(uint32_t*)0x200002a4 = 0); NONFAILING(*(uint32_t*)0x200002a8 = 0); NONFAILING(*(uint16_t*)0x200002ac = 0); NONFAILING(*(uint16_t*)0x200002ae = 0); NONFAILING(memset((void*)0x200002b0, 0, 32)); syscall(__NR_write, /*fd=*/-1, /*arg=*/0x20000280ul, /*len=*/0x50ul); NONFAILING(memcpy((void*)0x20000f00, "udf\000", 4)); NONFAILING( memcpy((void*)0x20000f40, "./" "file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\000", 253)); NONFAILING(memcpy((void*)0x20000e40, "iocharset", 9)); NONFAILING(*(uint8_t*)0x20000e49 = 0x3d); NONFAILING(memcpy((void*)0x20000e4a, "iso8859-1", 9)); NONFAILING(*(uint8_t*)0x20000e53 = 0x2c); NONFAILING(memcpy((void*)0x20000e54, "nostrict", 8)); NONFAILING(*(uint8_t*)0x20000e5c = 0x2c); NONFAILING(memcpy((void*)0x20000e5d, "iocharset", 9)); NONFAILING(*(uint8_t*)0x20000e66 = 0x3d); NONFAILING(memcpy((void*)0x20000e67, "default", 7)); NONFAILING(*(uint8_t*)0x20000e6e = 0x2c); NONFAILING(memcpy((void*)0x20000e6f, "anchor", 6)); NONFAILING(*(uint8_t*)0x20000e75 = 0x3d); NONFAILING(sprintf((char*)0x20000e76, "%020llu", (long long)6)); NONFAILING(*(uint8_t*)0x20000e8a = 0x2c); NONFAILING(memcpy((void*)0x20000e8b, "gid", 3)); NONFAILING(*(uint8_t*)0x20000e8e = 0x3d); NONFAILING(sprintf((char*)0x20000e8f, "%020llu", (long long)0)); NONFAILING(*(uint8_t*)0x20000ea3 = 0x2c); NONFAILING(memcpy((void*)0x20000ea4, "partition", 9)); NONFAILING(*(uint8_t*)0x20000ead = 0x3d); NONFAILING(sprintf((char*)0x20000eae, "%020llu", (long long)2)); NONFAILING(*(uint8_t*)0x20000ec2 = 0x2c); NONFAILING(memcpy((void*)0x20000ec3, "undelete", 8)); NONFAILING(*(uint8_t*)0x20000ecb = 0x2c); NONFAILING(memcpy((void*)0x20000ecc, "partition", 9)); NONFAILING(*(uint8_t*)0x20000ed5 = 0x3d); NONFAILING(sprintf((char*)0x20000ed6, "%020llu", (long long)1)); NONFAILING(*(uint8_t*)0x20000eea = 0x2c); NONFAILING(memcpy((void*)0x20000eeb, "unhide", 6)); NONFAILING(*(uint8_t*)0x20000ef1 = 0x2c); NONFAILING(*(uint8_t*)0x20000ef2 = 0); NONFAILING(memcpy( (void*)0x200001c0, "\x78\x9c\xec\xdd\x4f\x6c\x1c\xd7\x7d\x07\xf0\xdf\x1b\x2d\xc5\x95\xdc\x56" "\x4c\xec\x2a\x4e\x1a\x07\x9b\xb6\x48\x65\xc6\x72\xf5\x2f\xa6\x62\x15\xee" "\xaa\xa6\xd9\x06\x90\x65\x22\x14\x73\x0b\xc0\x95\x48\xa9\x0b\x53\x24\x41" "\x52\x8d\x6c\xa4\x05\xd3\x4b\x0f\x3d\x04\x28\x8a\x1e\x72\x22\xd0\x1a\x05" "\x52\x34\x30\x9a\x22\xe8\x91\x69\x5d\x20\xb9\xf8\x50\xe4\xd4\x13\xd1\xc2" "\x46\x50\xf4\xc0\x16\x01\x02\x14\x08\x58\xcc\xec\x5b\x71\x49\x91\xb6\x2c" "\x92\x12\x25\x7f\x3e\x36\xf5\x9d\x9d\x79\x6f\xe6\xbd\x99\xf5\x8c\x2c\xe8" "\xcd\x0b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x20\xe2\xf7" "\x5e\xb9\x78\xea\x74\xda\x66\xc3\xa1\x87\xd0\x18\x00\xe0\x81\xb8\x3c\xf6" "\xd5\x53\x67\xb6\x7b\xfe\x03\x00\x8f\xad\x2b\x3b\xfd\xff\x3f\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x70\x50\xa4\x28\xe2\xc9\x48\x31\x77\x79" "\x2d\x4d\x54\x9f\x3b\xea\x97\xda\x7d\xb7\x6e\x8f\x0f\x8f\x6c\x5f\xed\x48" "\xaa\x6a\x1e\xaa\xca\x97\x3f\xf5\xd3\x67\xce\x9e\xfb\xd2\x0b\x43\xe7\xbb" "\x79\xa9\x3d\xf3\x01\xf5\xf7\xda\x67\xe2\xb5\xb1\x2b\x17\x1b\x2f\xcf\xde" "\x9c\x9b\x9f\x5a\x58\x98\x9a\x6c\x8c\xcf\xb4\xaf\xcd\x4e\x4e\xdd\xf3\x1e" "\x76\x5b\x7f\xab\xc1\xea\x04\x34\x6e\xbe\x7e\x6b\xf2\xfa\xf5\x85\xc6\x99" "\xe7\xcf\x6e\xda\x7c\x7b\xe0\xfd\xfe\x27\x8e\x0f\x5c\x18\x7a\xf6\xe4\x33" "\xdd\xb2\xe3\xc3\x23\x23\x63\x1b\x45\xea\xbd\xe5\x6b\xf7\xdd\x90\x8e\x9d" "\x46\x78\x1c\x8e\x22\x4e\x46\x8a\xe7\xbe\xf7\xd3\xd4\x8a\x88\x22\x76\x7f" "\x2e\xea\x0f\xf6\xda\x6f\x75\xa4\xea\xc4\x60\xd5\x89\xf1\xe1\x91\xaa\x23" "\xd3\xed\xd6\xcc\x62\xb9\x71\xb4\x7b\x22\x8a\x88\x46\x4f\xa5\x66\xf7\x1c" "\x6d\x7f\x2d\xa2\xd6\xf7\x40\xfb\xb0\xb3\x66\xc4\x52\xd9\xfc\xb2\xc1\x83" "\x65\xf7\xc6\xe6\x5a\xf3\xad\xab\xd3\x53\x8d\xd1\xd6\xfc\x62\x7b\xb1\x3d" "\x3b\x33\x9a\x3a\xad\x2d\xfb\xd3\x88\x22\xce\xa7\x88\xe5\x88\x58\xed\xbf" "\x7b\x77\x7d\x51\x44\x2d\x52\x7c\xe7\xd8\x5a\xba\x9a\xdf\xfa\x51\x9d\x87" "\x2f\x56\x03\x83\x77\x6e\x47\xb1\x8f\x7d\xbc\x07\x65\x3b\x1b\x7d\x11\xcb" "\xc5\x23\x70\xcd\x0e\xb0\xfe\x28\xe2\xd5\x48\xf1\xb3\x77\x4e\xc4\xb5\x7c" "\x9f\xa9\xee\x35\x5f\x88\x78\xb5\xcc\x1f\x44\xbc\x55\xe6\x4b\x11\xa9\xfc" "\x62\x9c\x8b\x78\x6f\x9b\xef\x11\x8f\xa6\x5a\x14\xf1\xe7\xe5\xf5\xbf\xb0" "\x96\x26\xab\xfb\x41\xf7\xbe\x72\xe9\x6b\x8d\xaf\xcc\x5c\x9f\xed\x29\xdb" "\xbd\xaf\x7c\xc4\xe7\xc3\x5d\x77\x8a\x87\xf4\x7c\x38\xb2\x25\x1f\x8c\x03" "\x7e\x6f\xaa\x47\x11\xad\xea\x8e\xbf\x96\xee\xff\x37\x3b\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\xec\xb5\x23\x51\xc4\xa7\x23\xc5\x2b" "\xff\xf6\x47\xd5\xb8\xe2\xa8\xc6\xa5\x1f\xbb\x30\xf4\xfb\x03\xbf\xdc\x3b" "\x66\xfc\xe9\x0f\xd9\x4f\x59\xf6\xf9\x88\x58\x2a\xee\x6d\x4c\xee\xe1\x3c" "\x30\x70\x34\x8d\xa6\xf4\x90\xc7\x12\x7f\x9c\xd5\xa3\x88\x3f\xce\xe3\xff" "\xbe\xf5\xb0\x1b\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\xf0\xb1\x56\xc4\x4f\x22\xc5\x8b\xef\x9e\x48\xcb\xd1\x3b\xa7\x78\x7b" "\xe6\x46\xe3\x4a\xeb\xea\x74\x67\x56\xd8\xee\xdc\xbf\xdd\x39\xd3\xd7\xd7" "\xd7\xd7\x1b\xa9\x93\xcd\x9c\x13\x39\x97\x72\x2e\xe7\x5c\xc9\xb9\x9a\x33" "\x8a\x5c\x3f\x67\x33\xe7\x44\xce\xa5\x9c\xcb\x39\x57\x72\xae\xe6\x8c\x43" "\xb9\x7e\xce\x66\xce\x89\x9c\x4b\x39\x97\x73\xae\xe4\x5c\xcd\x19\xb5\x5c" "\x3f\x67\x33\xe7\x44\xce\xa5\x9c\xcb\x39\x57\x72\xae\xe6\x8c\x03\x32\x77" "\x2f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc0\xe3\xa4\x88\x22\x7e\x11" "\x29\xbe\xfd\x8d\xb5\x14\x29\x22\x9a\x11\x13\xd1\xc9\x95\xfe\x87\xdd\x3a" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\xa0\xd4\x9f\x8a\xf8\x7e\xa4\x68\xfc\x41\xf3\xce\xba\x5a\x44\xa4\xea" "\xdf\x8e\x13\xe5\x2f\xe7\xa2\x79\xb8\xcc\x4f\x46\x73\xa8\xcc\x97\xa2\x79" "\x31\x67\xab\xca\x5a\xf3\x5b\x0f\xa1\xfd\xec\x4e\x5f\x2a\xe2\xc7\x91\xa2" "\xbf\xfe\xf6\x9d\x0b\x9e\xaf\x7f\x5f\xe7\xd3\x9d\xaf\x41\xbc\xf5\xcd\x8d" "\x4f\x9f\xa9\x75\xf2\x50\x77\xe3\xc0\xfb\xfd\x4f\x1c\x3f\x76\x61\x68\xe4" "\x73\x4f\xef\xb4\x9c\xb6\x6b\xc0\xe0\xa5\xf6\xcc\xad\xdb\x8d\xf1\xe1\x91" "\x91\xb1\x9e\xd5\xb5\x7c\xf4\x4f\xf6\xac\x1b\xc8\xc7\x2d\xf6\xa6\xeb\x44" "\xc4\xc2\x1b\x6f\xbe\xde\x9a\x9e\x9e\x9a\xbf\xff\x85\xf2\x2b\xb0\x8b\xea" "\x8f\xd0\x42\xaa\x7d\x5c\x7a\x6a\xa1\x5a\x88\xda\x81\x68\xc6\xc3\xe9\xfb" "\x26\xf5\x87\x75\x83\x62\x5f\x95\xcf\xff\xf7\x22\xc5\x6f\xbf\xfb\xef\xdd" "\x07\x7e\xe7\xf9\x5f\x8f\x5f\xea\x7c\xba\xf3\x84\x8f\x9f\xff\xc9\xc6\xf3" "\xff\xc5\xad\x3b\xba\xc7\xe7\x7f\x6d\x6b\xbd\xfc\xfc\x2f\x9f\xe9\xdb\x3d" "\xff\x9f\xec\x59\xf7\x62\xfe\xdd\x48\x5f\x2d\xa2\xbe\x78\x73\xae\xef\x78" "\x44\x7d\xe1\x8d\x37\x4f\xb6\x6f\xb6\x6e\x4c\xdd\x98\x9a\x39\x77\xea\xd4" "\x97\x87\x86\xbe\x7c\xf6\x54\xdf\xe1\x88\xfa\xf5\xf6\xf4\x54\xcf\xd2\x9e" "\x9c\x2e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x07\x27\x15" "\xf1\xbb\x91\xa2\xf5\xe3\xb5\xd4\x88\x88\xdb\xd5\x78\xad\x81\x0b\x43\xcf" "\x9e\x7c\xe6\x50\x1c\xaa\xc6\x5b\x6d\x1a\xb7\xfd\xda\xd8\x95\x8b\x8d\x97" "\x67\x6f\xce\xcd\x4f\x2d\x2c\x4c\x4d\x36\xc6\x67\xda\xd7\x66\x27\xa7\xee" "\xf5\x70\xf5\x6a\xb8\xd7\xf8\xf0\xc8\xbe\x74\xe6\x43\x1d\xd9\xe7\xf6\x1f" "\xa9\xbf\x3c\x3b\xf7\xc6\x7c\xfb\xc6\x1f\x2e\x6e\xbb\xfd\x68\xfd\xe2\xd5" "\x85\xc5\xf9\xd6\xb5\xed\x37\xc7\x91\x28\x22\x9a\xbd\x6b\x06\xab\x06\x8f" "\x0f\x8f\x54\x8d\x9e\x6e\xb7\x66\xaa\xaa\xa3\xdb\x0e\xa6\xff\xe8\xfa\x52" "\x11\xff\x11\x29\xae\x9d\x6b\xa4\xcf\xe7\x75\x79\xfc\xff\xd6\x11\xfe\x9b" "\xc6\xff\x2f\x6d\xdd\xd1\x1e\x8e\xff\xff\xdc\xd1\x8d\xf1\x7f\x9f\xe8\x29" "\x5a\x1e\x33\xa5\x22\x7e\x1e\x29\x7e\xeb\x2f\x9e\x8e\xcf\x57\xed\x3c\x1a" "\x77\x9d\xb3\x5c\xee\x6f\x22\xc5\xe0\xf9\xcf\xe6\x72\x71\xb8\x2c\xd7\x6d" "\x43\xe7\xbd\x02\x9d\x91\x81\x65\xd9\xff\x89\x14\xff\xf0\x8b\xcd\x65\xbb" "\xe3\x21\x9f\xdc\x28\x7b\xfa\x23\x9d\xdc\x47\x40\x79\xfd\x8f\x45\x8a\xef" "\xff\xd9\x77\xe3\xd7\xf3\xba\xcd\xef\x7f\xd8\xfe\xfa\x1f\xdd\xba\xa3\x7d" "\x7a\xff\xc3\x53\x3d\xeb\x8e\x6e\x7a\x5f\xc1\xae\xbb\x4e\xbe\xfe\x27\x23" "\xc5\x4b\x4f\xbe\x1d\xbf\x51\xad\xf9\xbf\x0f\x7c\xff\x47\xf7\xdd\x1b\x27" "\x3a\x85\x37\xde\xcf\xb1\x4f\xd7\xff\x57\x7b\xd6\x0d\xe4\xe3\xfe\xe6\x5e" "\x75\x1e\x00\x00\x00\x00\x00\x00\x00\x00\xe0\x11\xd6\x97\x8a\xf8\xdb\x48" "\xf1\xc3\x91\x5a\x7a\x21\xaf\xbb\x97\xbf\xff\x37\xb9\x75\x47\xfb\xf4\xf7" "\xbf\x3e\xd5\xb3\x6e\x72\x6f\xe6\x2b\xfa\xd0\x85\x5d\x9f\x54\x00\x00\x00" "\x00\x38\x20\xfa\x52\x11\x3f\x89\x14\x37\x16\xdf\xbe\x33\x86\x7a\xf3\xf8" "\xef\x9e\xf1\x9f\xbf\xb3\x31\xfe\x73\x38\x6d\xd9\x5a\xfd\x39\xdf\xaf\x54" "\xef\x0d\xd8\xcb\x3f\xff\xeb\x35\x90\x8f\x3b\xb1\xfb\x6e\x03\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc0\x81\x92\x52\x11\x2f\xe4" "\xf9\xd4\x27\xaa\xf1\xfc\x93\x3b\xce\xa7\xbe\x12\x29\x5e\xf9\xaf\xe7\x72" "\xb9\x74\xbc\x2c\xd7\x9d\x07\x7e\xa0\xfa\xb5\x7e\x79\x76\xe6\xe4\xc5\xe9" "\xe9\xd9\x7a\x2c\xb6\xae\x4e\x4f\x35\xc6\xe6\x5a\xd7\xa6\xca\xba\x4f\x45" "\x8a\xb5\xbf\xfe\x6c\xae\x5b\x54\xf3\xab\x77\xe7\x9b\xef\xcc\xf1\xbe\x31" "\x17\xfb\x7c\xa4\x18\xf9\xbb\x6e\xd9\xce\x5c\xec\xdd\xb9\xc9\x9f\xda\x28" "\x7b\xba\x2c\xfb\x89\x48\xf1\x9f\x7f\xbf\xb9\x6c\x9e\x9a\x3a\xcf\x1d\x5d" "\x95\x3d\x53\x96\xfd\xab\x48\xf1\xf5\x7f\xda\xbe\xec\xf1\x8d\xb2\x67\xcb" "\xb2\xdf\x8d\x14\x3f\xfa\x7a\xa3\x5b\xf6\x68\x59\xb6\xfb\x7e\xd4\x4f\x6d" "\x94\x7d\xfe\xda\x6c\xb1\x0f\x57\x05\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x80\x8f\x9b\xbe\x54\xc4\x9f\x46\x8a\xff\xbe\xb9\x7c" "\x67\x2c\x7f\x9e\xff\xbf\xaf\xe7\x63\xe5\xad\x6f\xf6\xcc\xf7\xbf\xc5\xed" "\x6a\x9e\xff\x81\x6a\xfe\xff\x9d\x96\xef\x67\xfe\xff\xea\xbd\x02\x4b\x3b" "\x1d\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x1e\x4f\x29\x8a\x78\x33\x52\xcc\x5d\x5e\x4b\x2b\xfd\xe5\xe7\x8e\xfa" "\xa5\xf6\xcc\xad\xdb\xe3\xc3\x23\xdb\x57\x3b\x92\xaa\x9a\x87\xaa\xf2\xe5" "\x4f\xfd\xf4\x99\xb3\xe7\xbe\xf4\xc2\xd0\xf9\x6e\x7e\x70\xfd\xbd\xf6\xe9" "\x78\x6d\xec\xca\xc5\xc6\xcb\xb3\x37\xe7\xe6\xa7\x16\x16\xa6\x26\x1b\xe3" "\x33\xed\x6b\xb3\x93\x53\xf7\xbc\x87\xdd\xd6\xdf\x6a\xb0\x3a\x01\x8d\x9b" "\xaf\xdf\x9a\xbc\x7e\x7d\xa1\x71\xe6\xf9\xb3\x9b\x36\xdf\x1e\x78\xbf\xff" "\x89\xe3\x03\x17\x86\x9e\x3d\xf9\x4c\xb7\xec\xf8\xf0\xc8\xc8\x58\x4f\x99" "\x5a\xdf\x7d\x1f\xfd\x2e\x69\x87\xf5\x87\xa3\x88\xbf\x8c\x14\xcf\x7d\xef" "\xa7\xe9\x87\xfd\x11\x45\xec\xfe\x5c\x7c\xc8\x77\x67\xbf\x1d\xa9\x3a\x31" "\x58\x75\x62\x7c\x78\xa4\xea\xc8\x74\xbb\x35\xb3\x58\x6e\x1c\xed\x9e\x88" "\x22\xa2\xd1\x53\xa9\xd9\x3d\x47\x0f\xe0\x5a\xec\x4a\x33\x62\xa9\x6c\x7e" "\xd9\xe0\xc1\xb2\x7b\x63\x73\xad\xf9\xd6\xd5\xe9\xa9\xc6\x68\x6b\x7e\xb1" "\xbd\xd8\x9e\x9d\x19\x4d\x9d\xd6\x96\xfd\x69\x44\x11\xe7\x53\xc4\x72\x44" "\xac\xf6\xdf\xbd\xbb\xbe\x28\xe2\xf5\x48\xf1\x9d\x63\x6b\xe9\x9f\xfb\x23" "\x0e\x75\xcf\xc3\x17\x2f\x8f\x7d\xf5\xd4\x99\x9d\xdb\x51\xec\x63\x1f\xef" "\x41\xd9\xce\x46\x5f\xc4\x72\xf1\x08\x5c\xb3\x03\xac\x3f\x8a\xf8\xc7\x48" "\xf1\xb3\x77\x4e\xc4\xbf\xf4\x47\xd4\xa2\xf3\x13\x5f\x88\x78\xb5\xcc\x1f" "\x44\xbc\x15\x9d\xeb\x9d\xca\x2f\xc6\xb9\x88\xf7\xb6\xf9\x1e\xf1\x68\xaa" "\x45\x11\xff\x5b\x5e\xff\x0b\x6b\xe9\x9d\xfe\xf2\x7e\xd0\xbd\xaf\x5c\xfa" "\x5a\xe3\x2b\x33\xd7\x67\x7b\xca\x76\xef\x2b\x8f\xfc\xf3\xe1\x41\x3a\xe0" "\xf7\xa6\x7a\x14\xf1\xa3\xea\x8e\xbf\x96\xfe\xd5\x7f\xd7\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x48\x11\xbf\x16\x29\x5e\x7c\xf7" "\x44\xaa\xc6\x07\xdf\x19\x53\xdc\x9e\xb9\xd1\xb8\xd2\xba\x3a\xdd\x19\xd6" "\xd7\x1d\xfb\xd7\x1d\x33\xbd\xbe\xbe\xbe\xde\x48\x9d\x6c\xe6\x9c\xc8\xb9" "\x94\x73\x39\xe7\x4a\xce\xd5\x9c\x51\xe4\xfa\x39\x9b\x65\xd6\xd7\xd7\x27" "\xf2\xe7\xa5\x9c\xcb\x39\x57\x72\xae\xe6\x8c\x43\xb9\x7e\xce\x66\xce\x89" "\x9c\x4b\x39\x97\x73\xae\xe4\x5c\xcd\x19\xb5\x5c\x3f\x67\x33\xe7\x44\xce" "\xa5\x9c\xcb\x39\x57\x72\xae\xe6\x8c\x03\x32\x76\x0f\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x78\xbc\x14\xd5\x3f\x29\xbe\xfd\x8d" "\xb5\xb4\xde\xdf\x99\x5f\x7a\x22\x3a\xb9\x62\x3e\xd0\xc7\xde\xff\x07\x00" "\x00\xff\xff\x76\xc3\xf9\x1c", 3139)); NONFAILING(syz_mount_image( /*fs=*/0x20000f00, /*dir=*/0x20000f40, /*flags=MS_I_VERSION|MS_SYNCHRONOUS|MS_RELATIME*/ 0xa00010, /*opts=*/0x20000e40, /*chdir=*/1, /*size=*/0xc43, /*img=*/0x200001c0)); NONFAILING(memcpy((void*)0x20000040, "./bus\000", 6)); syscall(__NR_creat, /*file=*/0x20000040ul, /*mode=*/0ul); NONFAILING(memcpy((void*)0x20000380, "/dev/loop", 9)); NONFAILING(*(uint8_t*)0x20000389 = 0x30); NONFAILING(*(uint8_t*)0x2000038a = 0); NONFAILING(memcpy((void*)0x20000140, "./bus\000", 6)); syscall(__NR_mount, /*src=*/0x20000380ul, /*dst=*/0x20000140ul, /*type=*/0ul, /*flags=MS_BIND*/ 0x1000ul, /*data=*/0ul); NONFAILING(memcpy((void*)0x200005c0, "./bus\000", 6)); res = syscall( __NR_open, /*file=*/0x200005c0ul, /*flags=O_NONBLOCK|O_NOFOLLOW|O_NOATIME|O_DIRECT|O_CREAT|0x2*/ 0x64842ul, /*mode=*/0ul); if (res != -1) r[0] = res; NONFAILING(*(uint64_t*)0x20000240 = 0x20000000); NONFAILING(memset((void*)0x20000000, 133, 1)); NONFAILING(*(uint64_t*)0x20000248 = 0x78c00); syscall(__NR_pwritev2, /*fd=*/r[0], /*vec=*/0x20000240ul, /*vlen=*/1ul, /*off_low=*/0x7a00, /*off_high=*/0, /*flags=RWF_HIPRI|RWF_DSYNC*/ 3ul); } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x20000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/ 7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x21000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1, /*offset=*/0ul); install_segv_handler(); do_sandbox_none(); return 0; }