// https://syzkaller.appspot.com/bug?id=29f52d4baeec7d90c9fd0fb991721f3cad42a4d5 // 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 #include #ifndef __NR_memfd_create #define __NR_memfd_create 319 #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 void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { int state; } event_t; static void event_init(event_t* ev) { ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { if (ev->state) exit(1); __atomic_store_n(&ev->state, 1, __ATOMIC_RELEASE); syscall(SYS_futex, &ev->state, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, 1000000); } static void event_wait(event_t* ev) { while (!__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, 0); } static int event_isset(event_t* ev) { return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE); } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; for (;;) { uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, &ts); if (__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) return 1; now = current_time_ms(); if (now - start > timeout) return 0; } } 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 void netlink_add_neigh(struct nlmsg* nlmsg, int sock, const char* name, const void* addr, int addrsize, const void* mac, int macsize) { struct ndmsg hdr; memset(&hdr, 0, sizeof(hdr)); hdr.ndm_family = addrsize == 4 ? AF_INET : AF_INET6; hdr.ndm_ifindex = if_nametoindex(name); hdr.ndm_state = NUD_PERMANENT; netlink_init(nlmsg, RTM_NEWNEIGH, NLM_F_EXCL | NLM_F_CREATE, &hdr, sizeof(hdr)); netlink_attr(nlmsg, NDA_DST, addr, addrsize); netlink_attr(nlmsg, NDA_LLADDR, mac, macsize); int err = netlink_send(nlmsg, sock); if (err < 0) { } } static struct nlmsg nlmsg; static int tunfd = -1; #define TUN_IFACE "syz_tun" #define LOCAL_MAC 0xaaaaaaaaaaaa #define REMOTE_MAC 0xaaaaaaaaaabb #define LOCAL_IPV4 "172.20.20.170" #define REMOTE_IPV4 "172.20.20.187" #define LOCAL_IPV6 "fe80::aa" #define REMOTE_IPV6 "fe80::bb" #define IFF_NAPI 0x0010 static void initialize_tun(void) { tunfd = open("/dev/net/tun", O_RDWR | O_NONBLOCK); if (tunfd == -1) { printf("tun: can't open /dev/net/tun: please enable CONFIG_TUN=y\n"); printf("otherwise fuzzing or reproducing might not work as intended\n"); return; } const int kTunFd = 200; if (dup2(tunfd, kTunFd) < 0) exit(1); close(tunfd); tunfd = kTunFd; struct ifreq ifr; memset(&ifr, 0, sizeof(ifr)); strncpy(ifr.ifr_name, TUN_IFACE, IFNAMSIZ); ifr.ifr_flags = IFF_TAP | IFF_NO_PI; if (ioctl(tunfd, TUNSETIFF, (void*)&ifr) < 0) { exit(1); } char sysctl[64]; sprintf(sysctl, "/proc/sys/net/ipv6/conf/%s/accept_dad", TUN_IFACE); write_file(sysctl, "0"); sprintf(sysctl, "/proc/sys/net/ipv6/conf/%s/router_solicitations", TUN_IFACE); write_file(sysctl, "0"); int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (sock == -1) exit(1); netlink_add_addr4(&nlmsg, sock, TUN_IFACE, LOCAL_IPV4); netlink_add_addr6(&nlmsg, sock, TUN_IFACE, LOCAL_IPV6); uint64_t macaddr = REMOTE_MAC; struct in_addr in_addr; inet_pton(AF_INET, REMOTE_IPV4, &in_addr); netlink_add_neigh(&nlmsg, sock, TUN_IFACE, &in_addr, sizeof(in_addr), &macaddr, ETH_ALEN); struct in6_addr in6_addr; inet_pton(AF_INET6, REMOTE_IPV6, &in6_addr); netlink_add_neigh(&nlmsg, sock, TUN_IFACE, &in6_addr, sizeof(in6_addr), &macaddr, ETH_ALEN); macaddr = LOCAL_MAC; netlink_device_change(&nlmsg, sock, TUN_IFACE, true, 0, &macaddr, ETH_ALEN, NULL); close(sock); } #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); } static int read_tun(char* data, int size) { if (tunfd < 0) return -1; int rv = read(tunfd, data, size); if (rv < 0) { if (errno == EAGAIN || errno == EBADF || errno == EBADFD) return -1; exit(1); } return rv; } static void flush_tun() { char data[1000]; while (read_tun(&data[0], sizeof(data)) != -1) { } } #define MAX_FDS 30 //% 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; } #define XT_TABLE_SIZE 1536 #define XT_MAX_ENTRIES 10 struct xt_counters { uint64_t pcnt, bcnt; }; struct ipt_getinfo { char name[32]; unsigned int valid_hooks; unsigned int hook_entry[5]; unsigned int underflow[5]; unsigned int num_entries; unsigned int size; }; struct ipt_get_entries { char name[32]; unsigned int size; uint64_t entrytable[XT_TABLE_SIZE / sizeof(uint64_t)]; }; struct ipt_replace { char name[32]; unsigned int valid_hooks; unsigned int num_entries; unsigned int size; unsigned int hook_entry[5]; unsigned int underflow[5]; unsigned int num_counters; struct xt_counters* counters; uint64_t entrytable[XT_TABLE_SIZE / sizeof(uint64_t)]; }; struct ipt_table_desc { const char* name; struct ipt_getinfo info; struct ipt_replace replace; }; static struct ipt_table_desc ipv4_tables[] = { {.name = "filter"}, {.name = "nat"}, {.name = "mangle"}, {.name = "raw"}, {.name = "security"}, }; static struct ipt_table_desc ipv6_tables[] = { {.name = "filter"}, {.name = "nat"}, {.name = "mangle"}, {.name = "raw"}, {.name = "security"}, }; #define IPT_BASE_CTL 64 #define IPT_SO_SET_REPLACE (IPT_BASE_CTL) #define IPT_SO_GET_INFO (IPT_BASE_CTL) #define IPT_SO_GET_ENTRIES (IPT_BASE_CTL + 1) struct arpt_getinfo { char name[32]; unsigned int valid_hooks; unsigned int hook_entry[3]; unsigned int underflow[3]; unsigned int num_entries; unsigned int size; }; struct arpt_get_entries { char name[32]; unsigned int size; uint64_t entrytable[XT_TABLE_SIZE / sizeof(uint64_t)]; }; struct arpt_replace { char name[32]; unsigned int valid_hooks; unsigned int num_entries; unsigned int size; unsigned int hook_entry[3]; unsigned int underflow[3]; unsigned int num_counters; struct xt_counters* counters; uint64_t entrytable[XT_TABLE_SIZE / sizeof(uint64_t)]; }; struct arpt_table_desc { const char* name; struct arpt_getinfo info; struct arpt_replace replace; }; static struct arpt_table_desc arpt_tables[] = { {.name = "filter"}, }; #define ARPT_BASE_CTL 96 #define ARPT_SO_SET_REPLACE (ARPT_BASE_CTL) #define ARPT_SO_GET_INFO (ARPT_BASE_CTL) #define ARPT_SO_GET_ENTRIES (ARPT_BASE_CTL + 1) static void checkpoint_iptables(struct ipt_table_desc* tables, int num_tables, int family, int level) { int fd = socket(family, SOCK_STREAM, IPPROTO_TCP); if (fd == -1) { switch (errno) { case EAFNOSUPPORT: case ENOPROTOOPT: case ENOENT: return; } exit(1); } for (int i = 0; i < num_tables; i++) { struct ipt_table_desc* table = &tables[i]; strcpy(table->info.name, table->name); strcpy(table->replace.name, table->name); socklen_t optlen = sizeof(table->info); if (getsockopt(fd, level, IPT_SO_GET_INFO, &table->info, &optlen)) { switch (errno) { case EPERM: case ENOENT: case ENOPROTOOPT: continue; } exit(1); } if (table->info.size > sizeof(table->replace.entrytable)) exit(1); if (table->info.num_entries > XT_MAX_ENTRIES) exit(1); struct ipt_get_entries entries; memset(&entries, 0, sizeof(entries)); strcpy(entries.name, table->name); entries.size = table->info.size; optlen = sizeof(entries) - sizeof(entries.entrytable) + table->info.size; if (getsockopt(fd, level, IPT_SO_GET_ENTRIES, &entries, &optlen)) exit(1); table->replace.valid_hooks = table->info.valid_hooks; table->replace.num_entries = table->info.num_entries; table->replace.size = table->info.size; memcpy(table->replace.hook_entry, table->info.hook_entry, sizeof(table->replace.hook_entry)); memcpy(table->replace.underflow, table->info.underflow, sizeof(table->replace.underflow)); memcpy(table->replace.entrytable, entries.entrytable, table->info.size); } close(fd); } static void reset_iptables(struct ipt_table_desc* tables, int num_tables, int family, int level) { int fd = socket(family, SOCK_STREAM, IPPROTO_TCP); if (fd == -1) { switch (errno) { case EAFNOSUPPORT: case ENOPROTOOPT: case ENOENT: return; } exit(1); } for (int i = 0; i < num_tables; i++) { struct ipt_table_desc* table = &tables[i]; if (table->info.valid_hooks == 0) continue; struct ipt_getinfo info; memset(&info, 0, sizeof(info)); strcpy(info.name, table->name); socklen_t optlen = sizeof(info); if (getsockopt(fd, level, IPT_SO_GET_INFO, &info, &optlen)) exit(1); if (memcmp(&table->info, &info, sizeof(table->info)) == 0) { struct ipt_get_entries entries; memset(&entries, 0, sizeof(entries)); strcpy(entries.name, table->name); entries.size = table->info.size; optlen = sizeof(entries) - sizeof(entries.entrytable) + entries.size; if (getsockopt(fd, level, IPT_SO_GET_ENTRIES, &entries, &optlen)) exit(1); if (memcmp(table->replace.entrytable, entries.entrytable, table->info.size) == 0) continue; } struct xt_counters counters[XT_MAX_ENTRIES]; table->replace.num_counters = info.num_entries; table->replace.counters = counters; optlen = sizeof(table->replace) - sizeof(table->replace.entrytable) + table->replace.size; if (setsockopt(fd, level, IPT_SO_SET_REPLACE, &table->replace, optlen)) exit(1); } close(fd); } static void checkpoint_arptables(void) { int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (fd == -1) { switch (errno) { case EAFNOSUPPORT: case ENOPROTOOPT: case ENOENT: return; } exit(1); } for (unsigned i = 0; i < sizeof(arpt_tables) / sizeof(arpt_tables[0]); i++) { struct arpt_table_desc* table = &arpt_tables[i]; strcpy(table->info.name, table->name); strcpy(table->replace.name, table->name); socklen_t optlen = sizeof(table->info); if (getsockopt(fd, SOL_IP, ARPT_SO_GET_INFO, &table->info, &optlen)) { switch (errno) { case EPERM: case ENOENT: case ENOPROTOOPT: continue; } exit(1); } if (table->info.size > sizeof(table->replace.entrytable)) exit(1); if (table->info.num_entries > XT_MAX_ENTRIES) exit(1); struct arpt_get_entries entries; memset(&entries, 0, sizeof(entries)); strcpy(entries.name, table->name); entries.size = table->info.size; optlen = sizeof(entries) - sizeof(entries.entrytable) + table->info.size; if (getsockopt(fd, SOL_IP, ARPT_SO_GET_ENTRIES, &entries, &optlen)) exit(1); table->replace.valid_hooks = table->info.valid_hooks; table->replace.num_entries = table->info.num_entries; table->replace.size = table->info.size; memcpy(table->replace.hook_entry, table->info.hook_entry, sizeof(table->replace.hook_entry)); memcpy(table->replace.underflow, table->info.underflow, sizeof(table->replace.underflow)); memcpy(table->replace.entrytable, entries.entrytable, table->info.size); } close(fd); } static void reset_arptables() { int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (fd == -1) { switch (errno) { case EAFNOSUPPORT: case ENOPROTOOPT: case ENOENT: return; } exit(1); } for (unsigned i = 0; i < sizeof(arpt_tables) / sizeof(arpt_tables[0]); i++) { struct arpt_table_desc* table = &arpt_tables[i]; if (table->info.valid_hooks == 0) continue; struct arpt_getinfo info; memset(&info, 0, sizeof(info)); strcpy(info.name, table->name); socklen_t optlen = sizeof(info); if (getsockopt(fd, SOL_IP, ARPT_SO_GET_INFO, &info, &optlen)) exit(1); if (memcmp(&table->info, &info, sizeof(table->info)) == 0) { struct arpt_get_entries entries; memset(&entries, 0, sizeof(entries)); strcpy(entries.name, table->name); entries.size = table->info.size; optlen = sizeof(entries) - sizeof(entries.entrytable) + entries.size; if (getsockopt(fd, SOL_IP, ARPT_SO_GET_ENTRIES, &entries, &optlen)) exit(1); if (memcmp(table->replace.entrytable, entries.entrytable, table->info.size) == 0) continue; } else { } struct xt_counters counters[XT_MAX_ENTRIES]; table->replace.num_counters = info.num_entries; table->replace.counters = counters; optlen = sizeof(table->replace) - sizeof(table->replace.entrytable) + table->replace.size; if (setsockopt(fd, SOL_IP, ARPT_SO_SET_REPLACE, &table->replace, optlen)) exit(1); } close(fd); } #define NF_BR_NUMHOOKS 6 #define EBT_TABLE_MAXNAMELEN 32 #define EBT_CHAIN_MAXNAMELEN 32 #define EBT_BASE_CTL 128 #define EBT_SO_SET_ENTRIES (EBT_BASE_CTL) #define EBT_SO_GET_INFO (EBT_BASE_CTL) #define EBT_SO_GET_ENTRIES (EBT_SO_GET_INFO + 1) #define EBT_SO_GET_INIT_INFO (EBT_SO_GET_ENTRIES + 1) #define EBT_SO_GET_INIT_ENTRIES (EBT_SO_GET_INIT_INFO + 1) struct ebt_replace { char name[EBT_TABLE_MAXNAMELEN]; unsigned int valid_hooks; unsigned int nentries; unsigned int entries_size; struct ebt_entries* hook_entry[NF_BR_NUMHOOKS]; unsigned int num_counters; struct ebt_counter* counters; char* entries; }; struct ebt_entries { unsigned int distinguisher; char name[EBT_CHAIN_MAXNAMELEN]; unsigned int counter_offset; int policy; unsigned int nentries; char data[0] __attribute__((aligned(__alignof__(struct ebt_replace)))); }; struct ebt_table_desc { const char* name; struct ebt_replace replace; char entrytable[XT_TABLE_SIZE]; }; static struct ebt_table_desc ebt_tables[] = { {.name = "filter"}, {.name = "nat"}, {.name = "broute"}, }; static void checkpoint_ebtables(void) { int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (fd == -1) { switch (errno) { case EAFNOSUPPORT: case ENOPROTOOPT: case ENOENT: return; } exit(1); } for (size_t i = 0; i < sizeof(ebt_tables) / sizeof(ebt_tables[0]); i++) { struct ebt_table_desc* table = &ebt_tables[i]; strcpy(table->replace.name, table->name); socklen_t optlen = sizeof(table->replace); if (getsockopt(fd, SOL_IP, EBT_SO_GET_INIT_INFO, &table->replace, &optlen)) { switch (errno) { case EPERM: case ENOENT: case ENOPROTOOPT: continue; } exit(1); } if (table->replace.entries_size > sizeof(table->entrytable)) exit(1); table->replace.num_counters = 0; table->replace.entries = table->entrytable; optlen = sizeof(table->replace) + table->replace.entries_size; if (getsockopt(fd, SOL_IP, EBT_SO_GET_INIT_ENTRIES, &table->replace, &optlen)) exit(1); } close(fd); } static void reset_ebtables() { int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (fd == -1) { switch (errno) { case EAFNOSUPPORT: case ENOPROTOOPT: case ENOENT: return; } exit(1); } for (unsigned i = 0; i < sizeof(ebt_tables) / sizeof(ebt_tables[0]); i++) { struct ebt_table_desc* table = &ebt_tables[i]; if (table->replace.valid_hooks == 0) continue; struct ebt_replace replace; memset(&replace, 0, sizeof(replace)); strcpy(replace.name, table->name); socklen_t optlen = sizeof(replace); if (getsockopt(fd, SOL_IP, EBT_SO_GET_INFO, &replace, &optlen)) exit(1); replace.num_counters = 0; table->replace.entries = 0; for (unsigned h = 0; h < NF_BR_NUMHOOKS; h++) table->replace.hook_entry[h] = 0; if (memcmp(&table->replace, &replace, sizeof(table->replace)) == 0) { char entrytable[XT_TABLE_SIZE]; memset(&entrytable, 0, sizeof(entrytable)); replace.entries = entrytable; optlen = sizeof(replace) + replace.entries_size; if (getsockopt(fd, SOL_IP, EBT_SO_GET_ENTRIES, &replace, &optlen)) exit(1); if (memcmp(table->entrytable, entrytable, replace.entries_size) == 0) continue; } for (unsigned j = 0, h = 0; h < NF_BR_NUMHOOKS; h++) { if (table->replace.valid_hooks & (1 << h)) { table->replace.hook_entry[h] = (struct ebt_entries*)table->entrytable + j; j++; } } table->replace.entries = table->entrytable; optlen = sizeof(table->replace) + table->replace.entries_size; if (setsockopt(fd, SOL_IP, EBT_SO_SET_ENTRIES, &table->replace, optlen)) exit(1); } close(fd); } static void checkpoint_net_namespace(void) { checkpoint_ebtables(); checkpoint_arptables(); checkpoint_iptables(ipv4_tables, sizeof(ipv4_tables) / sizeof(ipv4_tables[0]), AF_INET, SOL_IP); checkpoint_iptables(ipv6_tables, sizeof(ipv6_tables) / sizeof(ipv6_tables[0]), AF_INET6, SOL_IPV6); } static void reset_net_namespace(void) { reset_ebtables(); reset_arptables(); reset_iptables(ipv4_tables, sizeof(ipv4_tables) / sizeof(ipv4_tables[0]), AF_INET, SOL_IP); reset_iptables(ipv6_tables, sizeof(ipv6_tables) / sizeof(ipv6_tables[0]), AF_INET6, SOL_IPV6); } static void mount_cgroups(const char* dir, const char** controllers, int count) { if (mkdir(dir, 0777)) { return; } char enabled[128] = {0}; int i = 0; for (; i < count; i++) { if (mount("none", dir, "cgroup", 0, controllers[i])) { continue; } umount(dir); strcat(enabled, ","); strcat(enabled, controllers[i]); } if (enabled[0] == 0) { if (rmdir(dir) && errno != EBUSY) exit(1); return; } if (mount("none", dir, "cgroup", 0, enabled + 1)) { if (rmdir(dir) && errno != EBUSY) exit(1); } if (chmod(dir, 0777)) { } } static void mount_cgroups2(const char** controllers, int count) { if (mkdir("/syzcgroup/unified", 0777)) { return; } if (mount("none", "/syzcgroup/unified", "cgroup2", 0, NULL)) { if (rmdir("/syzcgroup/unified") && errno != EBUSY) exit(1); return; } if (chmod("/syzcgroup/unified", 0777)) { } int control = open("/syzcgroup/unified/cgroup.subtree_control", O_WRONLY); if (control == -1) return; int i; for (i = 0; i < count; i++) if (write(control, controllers[i], strlen(controllers[i])) < 0) { } close(control); } static void setup_cgroups() { const char* unified_controllers[] = {"+cpu", "+io", "+pids"}; const char* net_controllers[] = {"net", "net_prio", "devices", "blkio", "freezer"}; const char* cpu_controllers[] = {"cpuset", "cpuacct", "hugetlb", "rlimit", "memory"}; if (mkdir("/syzcgroup", 0777)) { return; } mount_cgroups2(unified_controllers, sizeof(unified_controllers) / sizeof(unified_controllers[0])); mount_cgroups("/syzcgroup/net", net_controllers, sizeof(net_controllers) / sizeof(net_controllers[0])); mount_cgroups("/syzcgroup/cpu", cpu_controllers, sizeof(cpu_controllers) / sizeof(cpu_controllers[0])); write_file("/syzcgroup/cpu/cgroup.clone_children", "1"); write_file("/syzcgroup/cpu/cpuset.memory_pressure_enabled", "1"); } static void setup_cgroups_loop() { int pid = getpid(); char file[128]; char cgroupdir[64]; snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/unified/syz%llu", procid); if (mkdir(cgroupdir, 0777)) { } snprintf(file, sizeof(file), "%s/pids.max", cgroupdir); write_file(file, "32"); snprintf(file, sizeof(file), "%s/cgroup.procs", cgroupdir); write_file(file, "%d", pid); snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/cpu/syz%llu", procid); if (mkdir(cgroupdir, 0777)) { } snprintf(file, sizeof(file), "%s/cgroup.procs", cgroupdir); write_file(file, "%d", pid); snprintf(file, sizeof(file), "%s/memory.soft_limit_in_bytes", cgroupdir); write_file(file, "%d", 299 << 20); snprintf(file, sizeof(file), "%s/memory.limit_in_bytes", cgroupdir); write_file(file, "%d", 300 << 20); snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/net/syz%llu", procid); if (mkdir(cgroupdir, 0777)) { } snprintf(file, sizeof(file), "%s/cgroup.procs", cgroupdir); write_file(file, "%d", pid); } static void setup_cgroups_test() { char cgroupdir[64]; snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/unified/syz%llu", procid); if (symlink(cgroupdir, "./cgroup")) { } snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/cpu/syz%llu", procid); if (symlink(cgroupdir, "./cgroup.cpu")) { } snprintf(cgroupdir, sizeof(cgroupdir), "/syzcgroup/net/syz%llu", procid); if (symlink(cgroupdir, "./cgroup.net")) { } } static void initialize_cgroups() { if (mkdir("./syz-tmp/newroot/syzcgroup", 0700)) exit(1); if (mkdir("./syz-tmp/newroot/syzcgroup/unified", 0700)) exit(1); if (mkdir("./syz-tmp/newroot/syzcgroup/cpu", 0700)) exit(1); if (mkdir("./syz-tmp/newroot/syzcgroup/net", 0700)) exit(1); unsigned bind_mount_flags = MS_BIND | MS_REC | MS_PRIVATE; if (mount("/syzcgroup/unified", "./syz-tmp/newroot/syzcgroup/unified", NULL, bind_mount_flags, NULL)) { } if (mount("/syzcgroup/cpu", "./syz-tmp/newroot/syzcgroup/cpu", NULL, bind_mount_flags, NULL)) { } if (mount("/syzcgroup/net", "./syz-tmp/newroot/syzcgroup/net", NULL, bind_mount_flags, NULL)) { } } static void sandbox_common_mount_tmpfs(void) { write_file("/proc/sys/fs/mount-max", "100000"); if (mkdir("./syz-tmp", 0777)) exit(1); if (mount("", "./syz-tmp", "tmpfs", 0, NULL)) exit(1); if (mkdir("./syz-tmp/newroot", 0777)) exit(1); if (mkdir("./syz-tmp/newroot/dev", 0700)) exit(1); unsigned bind_mount_flags = MS_BIND | MS_REC | MS_PRIVATE; if (mount("/dev", "./syz-tmp/newroot/dev", NULL, bind_mount_flags, NULL)) exit(1); if (mkdir("./syz-tmp/newroot/proc", 0700)) exit(1); if (mount("syz-proc", "./syz-tmp/newroot/proc", "proc", 0, NULL)) exit(1); if (mkdir("./syz-tmp/newroot/selinux", 0700)) exit(1); const char* selinux_path = "./syz-tmp/newroot/selinux"; if (mount("/selinux", selinux_path, NULL, bind_mount_flags, NULL)) { if (errno != ENOENT) exit(1); if (mount("/sys/fs/selinux", selinux_path, NULL, bind_mount_flags, NULL) && errno != ENOENT) exit(1); } if (mkdir("./syz-tmp/newroot/sys", 0700)) exit(1); if (mount("/sys", "./syz-tmp/newroot/sys", 0, bind_mount_flags, NULL)) exit(1); initialize_cgroups(); if (mkdir("./syz-tmp/pivot", 0777)) exit(1); if (syscall(SYS_pivot_root, "./syz-tmp", "./syz-tmp/pivot")) { if (chdir("./syz-tmp")) exit(1); } else { if (chdir("/")) exit(1); if (umount2("./pivot", MNT_DETACH)) exit(1); } if (chroot("./newroot")) exit(1); if (chdir("/")) exit(1); } 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)) { } } 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(); sandbox_common(); drop_caps(); initialize_netdevices_init(); if (unshare(CLONE_NEWNET)) { } write_file("/proc/sys/net/ipv4/ping_group_range", "0 65535"); initialize_tun(); initialize_netdevices(); sandbox_common_mount_tmpfs(); setup_binderfs(); loop(); exit(1); } #define FS_IOC_SETFLAGS _IOW('f', 2, long) static void remove_dir(const char* dir) { int iter = 0; DIR* dp = 0; const int umount_flags = MNT_FORCE | UMOUNT_NOFOLLOW; retry: while (umount2(dir, umount_flags) == 0) { } dp = opendir(dir); if (dp == NULL) { if (errno == EMFILE) { exit(1); } exit(1); } struct dirent* ep = 0; while ((ep = readdir(dp))) { if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0) continue; char filename[FILENAME_MAX]; snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name); while (umount2(filename, umount_flags) == 0) { } struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } int i; for (i = 0;; i++) { if (unlink(filename) == 0) break; if (errno == EPERM) { int fd = open(filename, O_RDONLY); if (fd != -1) { long flags = 0; if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) { } close(fd); continue; } } if (errno == EROFS) { break; } if (errno != EBUSY || i > 100) exit(1); if (umount2(filename, umount_flags)) exit(1); } } closedir(dp); for (int i = 0;; i++) { if (rmdir(dir) == 0) break; if (i < 100) { if (errno == EPERM) { int fd = open(dir, O_RDONLY); if (fd != -1) { long flags = 0; if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) { } close(fd); continue; } } if (errno == EROFS) { break; } if (errno == EBUSY) { if (umount2(dir, umount_flags)) exit(1); continue; } if (errno == ENOTEMPTY) { if (iter < 100) { iter++; goto retry; } } } exit(1); } } static void kill_and_wait(int pid, int* status) { kill(-pid, SIGKILL); kill(pid, SIGKILL); for (int i = 0; i < 100; i++) { if (waitpid(-1, status, WNOHANG | __WALL) == pid) return; usleep(1000); } DIR* dir = opendir("/sys/fs/fuse/connections"); if (dir) { for (;;) { struct dirent* ent = readdir(dir); if (!ent) break; if (strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0) continue; char abort[300]; snprintf(abort, sizeof(abort), "/sys/fs/fuse/connections/%s/abort", ent->d_name); int fd = open(abort, O_WRONLY); if (fd == -1) { continue; } if (write(fd, abort, 1) < 0) { } close(fd); } closedir(dir); } else { } while (waitpid(-1, status, __WALL) != pid) { } } static void setup_loop() { setup_cgroups_loop(); checkpoint_net_namespace(); } static void reset_loop() { char buf[64]; snprintf(buf, sizeof(buf), "/dev/loop%llu", procid); int loopfd = open(buf, O_RDWR); if (loopfd != -1) { ioctl(loopfd, LOOP_CLR_FD, 0); close(loopfd); } reset_net_namespace(); } static void setup_test() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setpgrp(); setup_cgroups_test(); write_file("/proc/self/oom_score_adj", "1000"); flush_tun(); if (symlink("/dev/binderfs", "./binderfs")) { } } static void close_fds() { for (int fd = 3; fd < MAX_FDS; fd++) close(fd); } static const char* setup_binfmt_misc() { if (mount(0, "/proc/sys/fs/binfmt_misc", "binfmt_misc", 0, 0)) { return NULL; } if (!write_file("/proc/sys/fs/binfmt_misc/register", ":syz0:M:0:\x01::./file0:") || !write_file("/proc/sys/fs/binfmt_misc/register", ":syz1:M:1:\x02::./file0:POC")) return "write(/proc/sys/fs/binfmt_misc/register) failed"; return NULL; } static const char* setup_usb() { if (chmod("/dev/raw-gadget", 0666)) return "failed to chmod /dev/raw-gadget"; return NULL; } static void setup_sysctl() { int cad_pid = fork(); if (cad_pid < 0) exit(1); if (cad_pid == 0) { for (;;) sleep(100); } char tmppid[32]; snprintf(tmppid, sizeof(tmppid), "%d", cad_pid); struct { const char* name; const char* data; } files[] = { {"/sys/kernel/debug/x86/nmi_longest_ns", "10000000000"}, {"/proc/sys/kernel/hung_task_check_interval_secs", "20"}, {"/proc/sys/net/core/bpf_jit_kallsyms", "1"}, {"/proc/sys/net/core/bpf_jit_harden", "0"}, {"/proc/sys/kernel/kptr_restrict", "0"}, {"/proc/sys/kernel/softlockup_all_cpu_backtrace", "1"}, {"/proc/sys/fs/mount-max", "100"}, {"/proc/sys/vm/oom_dump_tasks", "0"}, {"/proc/sys/debug/exception-trace", "0"}, {"/proc/sys/kernel/printk", "7 4 1 3"}, {"/proc/sys/kernel/keys/gc_delay", "1"}, {"/proc/sys/vm/oom_kill_allocating_task", "1"}, {"/proc/sys/kernel/ctrl-alt-del", "0"}, {"/proc/sys/kernel/cad_pid", tmppid}, }; for (size_t i = 0; i < sizeof(files) / sizeof(files[0]); i++) { if (!write_file(files[i].name, files[i].data)) { } } kill(cad_pid, SIGKILL); while (waitpid(cad_pid, NULL, 0) != cad_pid) ; } #define NL802154_CMD_SET_SHORT_ADDR 11 #define NL802154_ATTR_IFINDEX 3 #define NL802154_ATTR_SHORT_ADDR 10 static const char* setup_802154() { const char* error = NULL; int sock_generic = -1; int sock_route = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (sock_route == -1) { error = "socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE) failed"; goto fail; } sock_generic = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); if (sock_generic == -1) { error = "socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) failed"; goto fail; } { int nl802154_family_id = netlink_query_family_id(&nlmsg, sock_generic, "nl802154", true); if (nl802154_family_id < 0) { error = "netlink_query_family_id failed"; goto fail; } for (int i = 0; i < 2; i++) { char devname[] = "wpan0"; devname[strlen(devname) - 1] += i; uint64_t hwaddr = 0xaaaaaaaaaaaa0002 + (i << 8); uint16_t shortaddr = 0xaaa0 + i; int ifindex = if_nametoindex(devname); struct genlmsghdr genlhdr; memset(&genlhdr, 0, sizeof(genlhdr)); genlhdr.cmd = NL802154_CMD_SET_SHORT_ADDR; netlink_init(&nlmsg, nl802154_family_id, 0, &genlhdr, sizeof(genlhdr)); netlink_attr(&nlmsg, NL802154_ATTR_IFINDEX, &ifindex, sizeof(ifindex)); netlink_attr(&nlmsg, NL802154_ATTR_SHORT_ADDR, &shortaddr, sizeof(shortaddr)); if (netlink_send(&nlmsg, sock_generic) < 0) { error = "NL802154_CMD_SET_SHORT_ADDR failed"; goto fail; } netlink_device_change(&nlmsg, sock_route, devname, true, 0, &hwaddr, sizeof(hwaddr), 0); if (i == 0) { netlink_add_device_impl(&nlmsg, "lowpan", "lowpan0", false); netlink_done(&nlmsg); netlink_attr(&nlmsg, IFLA_LINK, &ifindex, sizeof(ifindex)); if (netlink_send(&nlmsg, sock_route) < 0) { error = "netlink: adding device lowpan0 type lowpan link wpan0"; goto fail; } } } } fail: close(sock_route); close(sock_generic); return error; } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } int i, call, thread; for (call = 0; call < 14; call++) { for (thread = 0; thread < (int)(sizeof(threads) / sizeof(threads[0])); thread++) { struct thread_t* th = &threads[thread]; if (!th->created) { th->created = 1; event_init(&th->ready); event_init(&th->done); event_set(&th->done); thread_start(thr, th); } if (!event_isset(&th->done)) continue; event_reset(&th->done); th->call = call; __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); event_set(&th->ready); event_timedwait(&th->done, 50 + (call == 0 ? 4000 : 0) + (call == 3 ? 4000 : 0) + (call == 12 ? 4000 : 0)); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); close_fds(); } static void execute_one(void); #define WAIT_FLAGS __WALL static void loop(void) { setup_loop(); int iter = 0; for (;; iter++) { char cwdbuf[32]; sprintf(cwdbuf, "./%d", iter); if (mkdir(cwdbuf, 0777)) exit(1); reset_loop(); int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { if (chdir(cwdbuf)) exit(1); setup_test(); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { sleep_ms(10); if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; if (current_time_ms() - start < 5000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[7] = {0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: NONFAILING(memcpy((void*)0x20002040, "nilfs2\000", 7)); NONFAILING(memcpy((void*)0x20000a80, "./file0\000", 8)); NONFAILING(memcpy( (void*)0x20004440, "\x78\x9c\xec\xdd\x4f\x6c\x1c\xd5\xfd\x00\xf0\x37\x6b\xaf\x9d\xc4\x26" "\x5e\x03\xbf\x1f\x01\x4a\x92\x42\x69\x20\x6d\x9d\xd4\xc9\x81\xde\x82" "\x14\xb5\x12\x42\x88\x4b\xef\xa0\x90\x40\x54\x43\xa3\x86\x1e\x40\x44" "\x31\x3d\xa5\x52\x0f\x54\x88\x0b\x55\x0f\x54\x70\xab\x94\x1e\x2a\x15" "\x54\xa9\x42\x95\x2a\xf5\x0f\x87\x9e\x7b\x42\xed\xa5\x55\x95\x4a\x91" "\xb8\x14\x29\x76\x65\xe7\xbd\xf5\xee\x8b\x87\x5d\x8f\xed\xd9\xf5\xee" "\xe7\x23\x7d\xf7\xed\xcc\x9b\x9d\xef\x77\xbc\x91\x33\x6f\x3c\xfb\x36" "\x00\x63\xab\xb1\xfe\x78\xfa\xf4\xa1\x22\x84\x77\x3e\x7a\xfb\xec\x77" "\xae\xae\xfc\x66\x6d\xdd\x91\xf6\x16\x47\xd7\x1f\x8b\xb8\xd4\x0a\x21" "\x34\x3b\x96\x8b\x6c\x7f\x9f\xc6\x15\xb7\x6e\xbe\x71\x6e\xad\x5d\xc9" "\xda\x22\x2c\xae\x3f\xa6\xfe\xf0\xcc\x8d\xf6\x6b\x67\x42\x08\xcb\xe1" "\x68\xf8\x38\xb4\xc2\x91\xe3\xad\xcf\xae\x4d\x3c\x7d\xe1\x83\x77\x3f" "\x39\x76\xe5\xd2\x53\x2f\xed\xd2\xe1\x03\x00\xc0\x58\xb9\xfe\xe7\xa5" "\xbf\x3d\xfe\xcf\x3f\x7d\x7d\xfe\xf3\xeb\x87\xcf\x84\xe9\xf6\xfa\x74" "\x7e\xde\x8a\xcb\x33\xf1\xbc\xff\x64\x3c\xbf\x4f\xe7\xfd\x8d\x10\x66" "\x43\x36\x1e\x28\x36\x19\x17\x4c\x85\xee\xd7\x4d\xc4\x68\x64\xdb\x4d" "\x64\xdb\x4d\x6e\xe4\xe9\x5a\xce\xf3\x35\xb3\xfd\x34\x4b\xb6\x9b\xea" "\x91\x6f\xa2\x63\x5d\x76\x9c\x00\x00\x00\xb0\x67\xa5\x71\x6d\x2b\x14" "\x8d\x85\xae\xe5\x46\x63\x61\xe1\xf6\xb8\x7f\xcd\xa7\x73\x53\xc5\xc2" "\x2b\x17\x97\x2e\x5c\x1e\x50\xa1\x00\x00\x00\x40\x65\x9f\x5d\x5d\xbf" "\xe9\x56\x88\xad\x44\x73\x08\x6a\x10\x42\x08\x21\x84\x10\x42\x08\xb1" "\x85\x58\x9d\x1b\xf4\x15\x08\x00\x00\x00\x60\xdc\xa4\x79\x07\xda\xf3" "\x83\xe5\x96\xf3\x99\x05\xb6\xa7\xbd\xb7\x56\x7f\xf9\x6f\x3c\xd9\xd8" "\xfc\xf5\xb0\x03\xea\xfe\xf7\x2f\xff\xde\xca\xff\xfe\x9b\x7e\xe3\x00" "\x00\x50\xdd\xa8\x9e\x4d\xa6\xe3\x4a\xe7\xd1\x69\x1e\x83\x7c\x1e\xc1" "\x89\xec\x75\x5b\x3d\xff\x6f\x64\xfb\x99\xdc\x62\x9d\x65\xf3\x0a\xee" "\x95\xf9\x06\xcb\xea\xcc\x7f\xae\xc3\xaa\xac\xfe\xad\xbe\x8f\x83\x52" "\x56\x7f\x3e\x1f\xe6\xb0\x2a\xab\x3f\x9f\xa7\x73\x58\x95\xd5\x3f\x5d" "\x73\x1d\x55\x95\xd5\xbf\xaf\xe6\x3a\xaa\x2a\xab\x7f\x7f\xcd\x75\x54" "\x55\x56\xff\x81\x9a\xeb\xa8\xaa\xac\xfe\x99\x9a\xeb\xa8\xaa\xac\xfe" "\xd9\x9a\xeb\xa8\xaa\xac\xfe\xbb\x6a\xae\xa3\xaa\xb2\xfa\x0f\xd6\x5c" "\x47\x55\x65\xf5\xef\x95\xdb\x6a\xcb\xea\x6f\xd5\x5c\x47\x55\x65\xf5" "\xcf\xd7\x5c\x47\x55\x65\xf5\xdf\x5d\x73\x1d\x55\x95\xd5\x7f\x4f\xcd" "\x75\x54\x55\x56\xff\xbd\x35\xd7\x31\x28\x0f\xc5\x36\xfd\x1c\x0e\x67" "\xfd\x9d\xe3\xe7\x7c\x4c\xb7\x57\xc6\x78\x00\x00\x00\x30\xee\xfe\x6b" "\xfe\xbf\xa1\x89\xf5\xeb\x29\x75\xe4\x9a\x1a\xfc\xb1\x8a\x2f\x88\xe9" "\x21\xa8\x41\x08\x21\x84\x18\x82\x78\x24\xfd\x81\x6a\x08\x6a\x11\x35" "\xc7\xcc\x10\xd4\x20\xc4\x08\xc6\xd5\xc1\x5e\x7e\x00\x00\x00\x00\x86" "\x40\xba\xec\x9a\x3e\xf5\xbe\x1a\xa5\xfe\x89\x1e\xfd\x93\x3d\xfa\x9b" "\x3d\xfa\xa7\x7a\xf4\x4f\xf7\xe8\x07\x00\x00\x00\x42\xf8\xed\xb5\x0b" "\xf7\xbf\x55\x6c\x7c\xce\x7f\xf3\xf9\xf0\xf6\x87\x10\xfa\x9b\x0f\x2f" "\xcd\x1b\x95\xe6\x5f\xda\xea\x3c\x46\xf9\x7c\x84\x5b\x9d\x8f\x6f\xbb" "\xf3\x9e\x6d\x37\xff\x5e\x99\xb7\x0c\x00\x00\x80\xf1\x52\x7c\xfb\xe3" "\x95\xe3\x67\xdf\x7b\x75\xfe\xf3\xeb\x87\xcf\x74\x8c\x7e\x57\xe2\x78" "\x37\xcd\x03\x3a\x19\xaf\x0d\x7c\x18\x97\xd3\x7d\x01\xb3\xd9\x72\x91" "\xc6\xd0\x67\xba\xf3\x34\x4a\xb6\xcb\xaf\x0f\xdc\x55\xb6\xbf\x67\xb7" "\x79\xa0\x00\x00\x00\x30\xc6\xd2\xf8\xbd\x15\x8a\xc6\x42\xc7\xb8\xbb" "\x15\x1a\x8d\x85\x85\x8d\xf1\xf8\xa1\xd0\x2c\x2e\x5c\x5c\x3a\x7f\x32" "\x2e\xa7\xef\x67\xf9\xe3\x5c\x73\x7a\x6d\xfd\x37\x6b\xae\x1b\x00\x00" "\x00\xe8\xdf\xc6\x78\x7f\xf3\xf1\x7f\xfa\x1e\xdf\x43\x61\xaa\x58\x78" "\xe5\xe2\xd2\x85\xcb\xb7\x97\x67\xdb\xeb\x9b\x8d\xce\xeb\x02\x73\x1b" "\xeb\x8b\xce\xeb\x02\xad\x6c\xfd\x62\xc9\xfa\x53\x71\x39\x7d\x7f\xe7" "\x4b\x73\xfb\xd7\xd7\x2f\x9c\xfb\xfe\xd2\x0b\x3b\x7d\xf0\x00\x00\x00" "\x30\x26\x2e\xbf\xf6\xfa\xf7\x9e\x5f\x5a\x3a\xff\x03\x4f\x3c\xf1\xc4" "\x93\xf6\x93\x41\xff\x66\x02\x00\x00\x76\xda\x07\xff\x78\xfb\x2f\x3f" "\x3c\x35\xfb\xbb\xdb\x9f\xff\xdf\x98\xff\x2e\x7d\xfe\xff\x68\x5c\x6e" "\xc5\xb9\xfd\xfe\x1a\x37\x48\xf7\x09\xa4\xcf\x01\xdc\xf1\x79\xfd\xe7" "\xba\xf3\xcc\x95\x6d\x77\xa9\x7b\xbb\x56\xb6\xdd\x44\x8c\xe9\xac\xee" "\x7d\x1d\xfb\x09\x1d\xf3\x0d\xa6\xd7\xcd\x97\xe5\x6b\x75\xef\x67\xaa" "\x24\xdf\x4c\x96\x6f\x36\xcb\x97\xcf\x53\x30\x99\x6d\x9f\xf2\x1d\xcc" "\xd6\xe7\xf3\x13\xa6\xed\xe6\xb2\xf5\xf9\x3c\x8c\x93\x59\x8e\x22\xcb" "\xff\x70\x00\x00\x00\x80\x72\x27\x5e\x7d\xf9\xd2\x89\xcb\xaf\xbd\xfe" "\x8d\x8b\x2f\x3f\xff\xe2\xf9\x17\xcf\xbf\x72\xea\xe4\xe2\xb7\x16\x9f" "\x58\x9c\x38\xbd\x78\x62\xfd\xbe\xfe\x13\x9d\x77\xf7\x03\x00\x00\x00" "\x7b\xd1\xc6\x4d\xbf\x83\xae\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\xc6\x57\x1d\x5f\x27\x36\xe8\x63\x04\x00\x00" "\x80\x71\xf7\x9f\xab\x21\x84\x65\x21\x84\x10\x42\x08\x21\x84\x10\x42" "\x8c\x72\xac\xae\xe6\xdf\x34\x0f\x00\x00\x00\xb0\xbb\x6e\xdd\x7c\xe3" "\x5c\x67\x7b\x87\xe5\x62\x47\xf3\xb5\xf7\xd6\xba\xdd\xac\xc4\xbc\xa9" "\xfd\xc3\xa3\x3f\x7f\x74\x2d\xd2\x66\x37\x9e\xec\xbe\x5e\x72\x60\x47" "\xab\x61\xdc\xd5\xfd\xef\x5f\xfe\xbd\x95\xff\xfd\x37\x77\x36\xff\xbe" "\xf4\xa4\xef\xdf\x7f\x8d\xee\x1d\x9c\xa9\x96\xf7\xab\x3f\xfd\xd7\x63" "\x9d\xf9\x1f\x98\xec\x33\x7f\x7e\xfc\xcf\x56\xcb\x7f\x2c\xcb\x7f\x2c" "\xf4\x97\x7f\xf5\xbd\x2c\xff\x73\xd5\xf2\x3f\x96\xe5\x3f\xd0\x67\xfe" "\x3b\x8e\xff\x52\xb5\xfc\x8f\xc7\xfc\x87\x52\x3d\x8f\xf4\x9b\xbf\xfb" "\xfd\x9f\x8e\x6d\x3a\x8e\xfd\x7d\xe6\x3f\x9e\x1d\xff\x0b\xa1\xdf\xfc" "\xd9\xf1\xb7\xfa\x4c\x98\xf9\x5a\xcc\x0f\x00\xe3\xa8\x31\xe8\x02\x76" "\x49\x3a\x4b\x48\xe7\xd1\x33\x71\x39\x1d\x6f\x3c\xdd\x0c\xf9\xdd\x0f" "\x5b\x3d\xff\x6f\x64\xfb\x99\xdc\x76\xe5\xdd\xfb\x4d\xe7\x41\xf7\xc5" "\xe5\x74\xbe\x34\x9b\xe5\x4d\xb6\x5a\xff\x4c\xb6\xbf\xbb\x2a\xd6\x99" "\xdb\x2b\x77\x95\x94\xd5\xbf\x53\xef\xe3\x6e\x2b\xab\xbf\x59\x73\x1d" "\x55\x95\xd5\x3f\x55\x73\x1d\x55\x95\xd5\x3f\x5d\x73\x1d\x55\x95\xd5" "\xbf\xaf\xe6\x3a\xaa\x2a\xab\xbf\xdf\x71\xe8\xa0\x95\xd5\xbf\x57\xae" "\x2b\x97\xd5\x3f\x53\x73\x1d\x55\x95\xd5\x3f\x5b\x73\x1d\x55\x95\xd5" "\xbf\xd5\xff\xc7\x07\xa5\xac\xfe\x83\x35\xd7\x51\x55\x59\xfd\x73\x35" "\xd7\x51\x55\x59\xfd\x15\x2f\xab\xd5\xae\xac\xfe\xf9\x9a\xeb\xa8\xaa" "\xac\xfe\xbb\x6b\xae\xa3\xaa\xb2\xfa\xef\xa9\xb9\x8e\xaa\xca\xea\xbf" "\xb7\xe6\x3a\x06\xe5\xc1\xd8\x96\x8d\x87\xd3\xf8\x73\x2e\xf6\xa5\xe5" "\x56\xb6\x3c\xbd\xc9\xcf\x72\x54\xaf\x2d\x00\x00\x00\xc0\x5e\xf3\x6f" "\xf3\xff\x09\x21\x84\x10\x42\x08\x21\x84\x10\x23\x1f\xab\xab\x83\xbe" "\x02\xc1\x20\xed\xee\xa7\x99\x01\x18\x56\x7e\xff\x8f\x37\xef\xff\x78" "\xf3\xfe\x8f\x37\xef\x3f\x5f\x24\xdd\xc3\x5f\x64\xcb\xc9\x44\x8f\xfe" "\xc9\x1e\xfd\xcd\x1e\xfd\x53\x59\x7f\xfe\xef\x75\xba\x47\xff\x3d\xd9" "\x7e\x57\xa3\xd4\x7f\x6f\x8f\xfe\xff\xeb\xd1\x7f\xb0\x47\xff\x7d\x3d" "\xfa\x0f\xf5\xe8\xbf\xbf\x47\xff\x03\x3d\xfa\x1f\xec\xd1\x0f\x00\x00" "\xc0\x78\xf8\xff\xd8\x1a\x1f\x02\x00\x00\xc0\xe8\xba\xf2\xcb\x0f\x7f" "\xf2\xeb\x63\xcf\xdd\x9c\xff\xfc\xfa\xe1\x33\x61\xea\x8e\x79\xe7\x4f" "\xc6\xe5\xe9\xf8\xb7\xf5\x6b\x71\x39\x9f\xf7\x3e\x69\xc6\xbf\xf9\xff" "\x28\x2e\xff\x22\xb6\xbf\x8f\xed\xdf\xb3\xed\xdd\x7f\x02\x00\x00\x00" "\xbb\x2f\x7d\x4f\x8c\xbf\xff\x03\x00\x00\xc0\xe8\x4a\xdf\x53\x6a\xfc" "\x0f\x00\x00\x00\xa3\x6b\x3e\xb6\xc6\xff\x00\x00\x00\x30\xba\xee\x8e" "\xad\xf1\x3f\x00\x00\x00\x8c\xb0\x62\xdf\xe6\xab\x63\x9b\xae\x0b\x3c" "\x1c\xdb\x7e\xe7\xf5\x03\x00\x86\xdf\x97\x62\xfb\x50\x6c\x0f\xc7\xf6" "\x48\x6c\xbf\x1c\xdb\x74\x1e\xf0\x48\x6c\xbf\x52\x53\x7d\x00\xc0\xce" "\xf9\xd9\x77\x7f\xfc\xc4\x5b\xc5\xc6\x7c\xff\xa7\xb2\xfe\x5b\x71\x7d" "\x6a\xef\xb0\x7c\xfb\x4a\x41\xd1\xe8\x9e\xc9\x7f\x7f\x6c\x0f\xc4\xf6" "\xd1\x3e\xeb\xc9\xbf\x0f\xa0\xdf\xfc\xc9\xc1\x3e\xf3\xec\x56\xfe\xb9" "\x6d\xe6\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x46\x47\x63\xfd\xf1\xf4\xe9\x43" "\x45\x08\xef\x7c\xf4\xf6\xd9\xb9\x2b\x67\x5f\x5c\x5b\x77\xa4\xbd\xc5" "\xd1\xf5\xc7\x22\x2e\xb5\x42\x08\xcd\xf6\xeb\x52\xef\xc6\xf2\xaf\xe2" "\x86\xb7\x6e\xbe\x71\x6e\xad\x5d\x89\xed\x6a\x6c\x8b\xb0\x18\x8a\x50" "\xb4\xfb\xc3\x33\x37\xda\x99\x66\x42\x08\xcb\xe1\x68\xf8\x38\xb4\xc2" "\x91\xe3\xad\xcf\xae\x4d\x3c\x7d\xe1\x83\x77\x3f\x39\x76\xe5\xd2\x53" "\x2f\xed\xe2\x8f\x00\x00\x00\x00\x46\xde\xff\x02\x00\x00\xff\xff\x41" "\x27\x25\x4e", 3811)); NONFAILING(syz_mount_image(/*fs=*/0x20002040, /*dir=*/0x20000a80, /*flags=*/0, /*opts=*/0x20000000, /*chdir=*/5, /*size=*/0xee3, /*img=*/0x20004440)); break; case 1: NONFAILING(memcpy((void*)0x20000040, "./file1\000", 8)); syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x20000040ul, /*flags=O_SYNC|O_NOATIME|O_CREAT|FASYNC|O_RDWR*/ 0x143042ul, /*mode=*/0ul); break; case 2: NONFAILING(memcpy((void*)0x20000100, "./file1\000", 8)); res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x20000100ul, /*flags=O_NONBLOCK|O_NOATIME|O_LARGEFILE|O_DIRECT|O_CREAT|0x2*/ 0x4c842ul, /*mode=*/0ul); if (res != -1) r[0] = res; break; case 3: NONFAILING(memcpy((void*)0x200000c0, "hfsplus\000", 8)); NONFAILING(memcpy( (void*)0x200008c0, "\023\023w\305\3745\324\024T\325\324\035)\255\032`)" "Y\201F\346\276\026nA\255\r\275@T\003<\2373\273\332\202$" "\242\363\327r\347cnH\263<\277p\203r\350\361\271\223>" "\305\022wC\276\"\006 \236\360-\371\313\362\366\350\200\3238/\000", 78)); NONFAILING( memcpy((void*)0x20000bc0, "\x6e\x6f\x62\x61\x72\x72\x69\x65\x72\x2c\x6e\x6f\x62\x61\x72" "\x72\x69\x65\x72\x2c\x63\x72\x65\x61\x74\x6f\x72\x3d\x44\x74" "\x66\xf5\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x35\x37\x2c\x75\x6d" "\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30" "\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x33\x37\x2c\x75\x6d" "\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30" "\x30\x30\x30\x30\x30\x30\x30\x30\x36\x37\x34\x35\x2c\x00", 104)); NONFAILING(memcpy( (void*)0x20000100, "\x78\x9c\xec\xdd\x4f\x6c\x1c\x57\x1d\x07\xf0\xef\x6c\x36\xeb\x6c\x90" "\x52\xf7\x5f\x1a\x10\x52\xad\x46\xaa\xa0\x11\x89\x9d\x55\x49\x90\x90" "\x1a\x10\x42\x39\x44\x28\x82\x4b\xaf\x56\xe2\x34\x56\x36\x69\xe5\xb8" "\x28\xad\x10\xd9\x00\x05\x89\x13\x27\xd4\x03\x87\x22\x14\x0e\x3d\x21" "\x84\x90\xca\x09\x51\xce\x48\x48\x5c\x38\xf9\x1e\x89\x1b\x87\x1c\x00" "\xa3\x99\x9d\x5d\xaf\xed\x8d\x63\x27\xb1\xd7\x6d\x3f\x1f\x69\x3c\xef" "\xed\x9b\xf7\xde\x6f\x7e\x9d\x3f\xbb\xb3\x8d\x36\xc0\x67\xd6\xf9\xd7" "\x73\xb0\x97\x22\xe7\x4f\x5c\xb8\x55\xd6\x57\xee\x76\xba\x2b\x77\x3b" "\xd7\x07\xe5\x24\x53\x49\x1a\x49\xb3\xbf\x4a\xd1\x4e\x8a\x8f\x93\x73" "\xe9\x2f\xf9\x7c\xf9\x62\x3d\x5c\xf1\xa0\x79\x5e\xbd\xf7\x51\xd1\x7c" "\xff\xc3\x4e\xbf\xd6\xac\x97\x6a\xfb\xc6\x56\xfd\x36\x19\xbb\x65\x2f" "\x39\x34\xac\x1c\x48\x32\xd3\x2f\xfe\x67\xdb\xc3\x6e\x1a\xaf\x5a\xaa" "\x71\x2e\xad\x8d\xf7\x88\x8a\x61\xdc\x65\xc2\x8e\x0f\x12\x07\x93\xb6" "\xba\x49\x6f\xad\xb1\xf1\xd0\xee\xdb\x3f\x6f\x81\x7d\xeb\x76\xff\xbe" "\xb9\xc9\x74\x72\x38\xfd\xbb\x6b\xf9\x3e\x20\xf5\xd5\xe1\xe1\x57\x86" "\xc9\xdb\xf2\xda\xd4\xdb\xbb\x38\x00\x00\x00\x60\xb7\x8c\xfd\x2c\x3f" "\xea\xa9\xfb\xb9\x9f\x5b\x39\xb2\x37\xe1\x00\x00\x00\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\xa7\x43\xd1\xff\xcd\xc0\xa2\x5e\x1a\x83\xf2\x4c\x8a" "\xc1\xef\xff\xb7\x46\x7e\x53\xbf\x35\xe1\x70\x1f\xd3\x7b\x57\xaa\xd5" "\x77\x9f\x9a\x74\x20\x00\x00\x00\x00\x00\x00\x00\xf0\x58\x5e\xbc\x9f" "\xfb\xb9\x95\x23\x83\xfa\x6a\x51\x7d\xe7\xff\x52\x55\x79\xae\xfa\xfb" "\xb9\xbc\x9d\x9b\x59\xc8\x52\x4e\xe6\x56\xe6\xb3\x9c\xe5\x2c\x65\x2e" "\xc9\xf4\xc8\x40\xad\x5b\xf3\xcb\xcb\x4b\x73\x9b\x7b\xfe\x32\x65\xcf" "\xd5\xd5\xd5\xdb\x75\xcf\xd3\x63\x7b\x9e\x5e\x1f\x57\x6f\x63\xa0\xe3" "\xfe\x4f\x83\x4d\x1b\x01\x00\x00\x00\x00\x00\x00\xc0\x67\xd6\x8f\x72" "\x7e\xed\xfb\x7f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\xd8\x0f\x8a\xe4\x40\x7f\x55\x2d\xcf\x0d\xca\xd3\x69\x34\x93\x1c\x4a" "\xd2\x2a\x66\x86\x9b\xb7\x26\x1a\xec\x13\xf0\xe7\x49\x07\x00\x00\x00" "\x00\xbb\xaf\x5d\xaf\x8f\x14\xff\xeb\x17\x56\x8b\xea\x33\xff\xd1\xea" "\x73\xff\xa1\xbc\x9d\x1b\x59\xce\x62\x96\xd3\xcd\x42\x2e\x57\xcf\x02" "\xfa\x9f\xfa\x1b\x7f\xef\x75\xba\x2b\x77\x3b\xd7\xcb\x65\xf3\xc0\xdf" "\xf8\xd7\x8e\xe2\xa8\x46\x4c\xff\xd9\xc3\xf8\x99\x67\xab\x2d\x9e\x1f" "\xf6\x38\x9f\x6f\xe7\x7b\x39\x91\x99\x5c\xcc\x52\x16\xf3\xfd\xcc\x67" "\x39\x0b\x99\xc9\xb7\xaa\xd2\x7c\x8a\x4c\xd7\x4f\x2f\xa6\x57\xee\xb6" "\x33\x88\x75\x73\xbc\xe7\xd6\xd5\x2e\x6e\x8c\xed\xc5\x91\x72\x19\xdf" "\xb1\x2a\x92\x76\xae\x64\xb1\x8a\xed\x64\x2e\xb5\x06\xa1\x37\xea\xed" "\x8e\x8d\xcc\xf6\xc7\x56\xb2\x61\xc6\x3b\x65\x76\x8a\xd7\x6a\xdb\xcc" "\xd1\xe5\x7a\x5d\xee\xd1\x2f\xea\xf5\xfe\x30\x5d\xed\xf9\xc1\x61\x46" "\x66\xeb\xdc\x97\xd9\x78\x7a\x34\xef\x9b\x73\xbf\xc3\xe3\x64\xe3\x4c" "\x73\x69\x0c\x9f\x41\x3d\xb7\x36\x4b\x59\xdd\x38\xd3\x23\xe5\xfc\x70" "\xbd\x2e\x73\xfd\xd3\xdd\xcd\xf9\x0e\x1f\xa5\xad\xcf\x44\xef\xe7\x65" "\x6d\x70\xf4\x1d\xdd\x3a\xe7\xc9\x97\xff\xf1\x97\x8b\x57\x1b\x37\xae" "\x5d\xbd\x72\xf3\xc4\xfe\x39\x8c\x1e\xd1\xc6\x63\xa2\x33\x92\x89\x17" "\xb6\x95\x89\x6e\x99\x89\xde\x63\x64\xe2\xd0\xe3\xc4\xff\xe4\xb4\xea" "\x6c\xf4\xaf\xa2\x3b\xbb\x5a\xbe\x54\xf5\x3d\x92\xc5\x7c\x27\x6f\xe6" "\x72\x16\x72\x26\xb3\x99\xcb\xd9\xcc\xe6\x6b\x39\x9d\x4e\x4e\x8f\xe4" "\xf5\xf9\xad\xf3\x5a\x9d\x6b\x8d\x9d\x9d\x6b\xc7\xbf\x54\x17\xca\x7b" "\xd2\xcf\x46\xee\x4d\x7b\x66\xea\x41\x0d\x65\x5e\x9f\x1e\xc9\xeb\xe8" "\x95\x6e\xba\x6a\x1b\x7d\x65\x2d\x4b\xcf\x6c\x23\x4b\x45\x2b\xe3\xb3" "\xf4\xcf\xb1\xa1\x34\xbf\x50\x17\xca\x39\x7e\x3c\x72\xc7\x99\xbc\x8d" "\x99\x98\x1b\xc9\xc4\xb3\x5b\x67\xe2\xd7\xff\x5d\x4d\x72\xb3\x7b\xe3" "\xda\xd2\xd5\xf9\xb7\xb6\x39\xdf\xcb\xf5\xba\x3c\x6d\xdf\x5b\x7f\x6d" "\xfe\xcd\x13\xd9\xa1\x9d\xab\x77\xb7\x3c\x5e\x9e\x29\xff\x63\xa5\x7f" "\xdb\x18\x3d\x3a\xca\xb6\x67\x07\x6d\x1b\xf2\xd5\xaa\xbf\x71\x69\xd6" "\x83\xad\x6b\x6b\xa5\x3a\x9f\xfb\x6d\x0f\x3b\x53\xcb\x91\x8e\xde\x19" "\x37\x52\xbf\xed\x85\xb1\xb3\x74\xaa\xb6\x63\x23\x6d\xeb\xde\xe5\xe4" "\xcd\x74\x87\xef\x42\x00\xd8\xc7\x0e\xbf\x72\xb8\xd5\xbe\xd7\xfe\x5b" "\xfb\x83\xf6\x4f\xda\x57\xdb\x17\x0e\x7d\x73\xea\xec\xd4\x17\x5b\x39" "\xf8\xd7\xe6\x9f\x0e\xfc\xae\xf1\xdb\xc6\xd7\x8b\x57\xf2\x41\x7e\x98" "\x23\x93\x8e\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3e\x0d\x6e\xbe\xf3\xee\xb5" "\xf9\x6e\x77\x61\x69\x1f\x16\xd2\x78\xc2\x03\xde\x19\xdb\x34\x48\x45" "\xff\x95\xd6\xfe\xd8\xf7\x4f\x6a\x61\x6a\xab\x23\xea\xf7\x49\xb6\xe8" "\xde\x9a\x44\xcc\xed\x24\xfb\x22\x75\x69\xee\xc1\x5c\x53\x19\xd3\x74" "\x61\xf8\x4a\x3b\x69\x0c\xe3\x49\x72\x6d\x9f\xfc\xc0\x1d\xb0\x1b\x4e" "\x2d\x5f\x7f\xeb\xd4\xcd\x77\xde\xfd\xca\xe2\xf5\xf9\x37\x16\xde\x58" "\xb8\x71\xfa\xec\x99\xd7\xce\x74\xbe\x3a\x77\xfb\xd4\x95\xc5\xee\xc2" "\x6c\xff\xef\xa4\xa3\x04\x76\xc3\xda\xdb\x80\x49\x47\x02\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x6c\xd7\x5e\xfc\xf3\x86\x31\xd3\x16\xbd\x09" "\xec\x2b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\xf0\xc9\x74\xfe\xf5\x1c\xec\xa5\xc8" "\xdc\xec\xc9\xd9\xb2\xbe\x72\xb7\xd3\x2d\x97\x41\x79\x6d\xcb\x66\x92" "\x46\x92\xe2\x07\x49\xf1\x71\x72\x2e\xfd\x25\xd3\x23\xc3\x15\x0f\x9a" "\xe7\xd5\x7b\x1f\xfd\xea\xe5\xf7\x3f\xec\xac\x8d\xd5\x1c\x6c\xdf\xd8" "\xd0\xef\x0f\xff\x5e\x5d\xdd\xe1\x5e\xf4\xea\x25\x33\x49\x0e\xd4\xeb" "\x87\x9b\xda\xd6\x78\x97\x46\xc6\xeb\xed\x30\xb0\xbe\x62\xb8\x87\x65" "\xc2\x8e\x0f\x12\x07\x93\xf6\xff\x00\x00\x00\xff\xff\x1e\x4b\x07\xce", 1700)); NONFAILING(syz_mount_image(/*fs=*/0x200000c0, /*dir=*/0x200008c0, /*flags=*/0, /*opts=*/0x20000bc0, /*chdir=*/3, /*size=*/0x6a4, /*img=*/0x20000100)); break; case 4: NONFAILING(memcpy((void*)0x20004400, "./bus\000", 6)); syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x20004400ul, /*flags=O_NOFOLLOW|O_NOCTTY|O_NOATIME|O_LARGEFILE|O_CREAT|0x3002*/ 0x6b142ul, /*mode=*/0ul); break; case 5: NONFAILING(memcpy((void*)0x20000380, "/dev/loop", 9)); NONFAILING(*(uint8_t*)0x20000389 = 0x30); NONFAILING(*(uint8_t*)0x2000038a = 0); NONFAILING(memcpy((void*)0x20000340, "./bus\000", 6)); syscall(__NR_mount, /*src=*/0x20000380ul, /*dst=*/0x20000340ul, /*type=*/0ul, /*flags=MS_BIND*/ 0x1000ul, /*data=*/0ul); break; case 6: NONFAILING(memcpy((void*)0x200005c0, "./bus\000", 6)); res = syscall(__NR_open, /*file=*/0x200005c0ul, /*flags=*/0ul, /*mode=*/0ul); if (res != -1) r[1] = res; break; case 7: NONFAILING(*(uint32_t*)0x20000140 = 0x10); syscall(__NR_ioctl, /*fd=*/r[1], /*cmd=*/0x4c02, /*arg=*/0x20000140ul); break; case 8: NONFAILING(memcpy((void*)0x20000180, "./file0\000", 8)); res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x20000180ul, /*flags=*/0ul, /*mode=*/0ul); if (res != -1) r[2] = res; break; case 9: syscall(__NR_getdents64, /*fd=*/r[2], /*ent=*/0ul, /*count=*/0ul); break; case 10: NONFAILING(memcpy((void*)0x20000040, "/dev/mISDNtimer\000", 16)); res = syscall(__NR_openat, /*fd=*/0xffffffffffffff9cul, /*file=*/0x20000040ul, /*flags=*/0ul, /*mode=*/0ul); if (res != -1) r[3] = res; break; case 11: res = syscall(__NR_ioctl, /*fd=*/r[3], /*cmd=*/0x80044940, /*arg=*/0x20001b00ul); if (res != -1) { NONFAILING(r[4] = *(uint64_t*)0x20001c10); NONFAILING(r[5] = *(uint64_t*)0x20001c68); NONFAILING(r[6] = *(uint64_t*)0x20001c70); } break; case 12: NONFAILING(memcpy((void*)0x20000180, "msdos\000", 6)); NONFAILING(memcpy((void*)0x20000100, ".\000", 2)); NONFAILING(*(uint16_t*)0x20007980 = r[6]); NONFAILING(sprintf((char*)0x20007982, "0x%016llx", (long long)r[5])); NONFAILING(memcpy( (void*)0x20007994, "\x12\xa4\x09\x5a\x2a\xac\x12\xf0\xbf\xcb\x20\x6d\x98\x2e\x44\x06\x63" "\x81\x38\x8d\x27\xf1\x40\x02\xd8\xd7\x43\x1d\x39\x47\xf6\x39\x9c\x7f" "\xf9\xf5\x19\x3f\xc0\x39\x86\x53\xe5\xa6\x7b\xbb\x31\x9f\x02\xbf\x4a" "\xc6\xf6\xcc\xd5\xac\xbf\xe1\x35\x0c\xc3\xa6\xd2\xd4\x8c\xf6\xc0\x89" "\xdd\xf6\x71\x71\xff\xb3\xb1\x59\x88\xe7\xb3\x94\xc5\xda\xf3\xe1\x2c" "\xa0\x5e\x4d\xbd\xad\x7e\xdd\x45\xf1\x0c\xbc\x29\x6a\x53\xa5\x30\xd4" "\xc2\xd2\x03\xee\x65\x0d\x5f\xff\x3a\x9b\x5a\xae\x78\x79\x4f\xe8\x43" "\x27\xe5\x08\x17\x2c\xdd\x72\xee\xff\x5a\xf4\xd6\xdb\x93\x79\xbe\xf2" "\x0d\xde\x8e\x64\xb9\x1d\x31\xa8\x4c\xe8\xa7\x59\x8b\xb7\x8c\xc8\x51" "\x08\x87\x48\x11\xfc\x65\x0f\x05\x20\xa5", 163)); NONFAILING(memcpy( (void*)0x20007a37, "\xf1\xbc\xde\x22\x81\xa8\x43\x92\xf4\xe6\x6f\xf7\xef\x22\xaa\x9a\xf7" "\x27\xce\xae\x8a\x8e\xc9\x5f\xc1\xb7\x30\x83\xde\x2d\xe8\x25\xa0\xcb" "\x2b\x0b\xe7\x74\xfd\xb3\x36\x50\xd7\xda\xce\x27\xc1\x6b\xc2\x3b\x2f" "\x7c\x7f\xb7\x25\x85\x54\x89\x39\x69\x8f\x28\x0d\x13\x8a\xa9\x25\x5a" "\x8a\x92\x40\x08\xf8\x47\x7e\x82\xba\x11\xcd\xb1\x1e\xfd\x5c\xa2\xf1" "\xab\x04\x9c\xe2\xcc\xc4\x15\xd2\xda\xf8\xda\xc7\x25\x53\x3a\x55\x8d" "\x56\x16\x54\xfa\xf5\xe0\x92\x4f\x13\x76\x17\x4f\x37\x4d\x66\x4f\xad" "\x4a\x6a\xb2\x4e\xc0\xe8\x22\xe7\xf9\x42\x6e\x8e\x5d\xe1\xfe\x58\x08" "\x5a\x0a\xe8\x6f\xd0\x2a\x11\x8b\x93\x65\x96\x18\x34\xd4\x62\x08\xb9" "\xfb\x4c\xb1\xa1\xfa\x96\x2a\x8b\x00\x00\xdc\x2e\x31\x93\x79\xea\x1e" "\x5a\x07\xae\xb3\xf9\xcd\x4e\x64\x8d\xf4\xdd\x18\xe6\x25\x3e\x7b\x23" "\x10\xa7\x8d\x63\xa2\x32\xa2\xa4\x07\x58\x02\x7a\x47\x2e\x7d\x26\x3e" "\xf5\x67\xa8\x41\x66\xf2\x6e\xe5\x6e\x70\x1c\x63\xa8\x86\x37\x87\x88" "\xa5\x12\xf2\x8e\xde\xc0\x86\xb1\xc0\x82\x3c\x02\x88\x40\xee\xaf\x3f" "\x5d\x87\x69\x02\x3c\x01\x21\x86\x14\xf4\xfa\x40\xbe\x98\x92\xe7\xa2" "\x85\xac\x63\xf7\xf9\x7a\xaa\x5b\x8e\xcc\x86\xe2\x8c\x61\x93\xbc\x21" "\xa2\xb8\x33\xe5\xc9\xc7\x03\xc4\xcf\xa0\x63\xdd\x34\xc2\x45\x70\x6b" "\xde\x3d\x7a\xc3\x73\xab\x04\xb6\x2b\x41\x11\xb5\x9e\xab\xd4\x36\xdd" "\x97\xe7\x88\xa3\x6e\xf2\x5b\xad\x99\xbe\x2a\xa9\x24\x94\x95\x58\xc8" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 353)); NONFAILING(sprintf((char*)0x20007b98, "0x%016llx", (long long)-1)); NONFAILING(*(uint16_t*)0x20007baa = r[4]); NONFAILING(sprintf((char*)0x20007bac, "%020llu", (long long)-1)); NONFAILING(memcpy( (void*)0x20007bc0, "\x9a\x7f\x40\xad\x4c\x71\x45\x90\x3a\x86\x8b\x90\x20\xe1\xe8\x89\x9e" "\xd5\x74\x7d\xb2\x30\x04\xfc\x9d\x24\x89\x00\xab\xca\xa6\xb0\x65\xcf" "\x08\x00\x93\x0a\x71\xdc\xd8\xb8\x95\x5d\x93\xc7\x8b\x9d\x4e\x5e\x06" "\xd8\xd5\xc9\xac\x9b\x75\xd1\x77\x75\x4d\x6e\xba\x23\xe6\xd2\xbe\x54" "\x6c\x0d\xfe\xcd\xf6\x1b\xaf\x73\x29\x50\xa5\x72\x9c\x01\xfb\xdc\x11" "\xe3\x6c\xb4\x11\xbe\x20\x0a\x91\x35\x65\x7a\xcd\x97\xd2\x1e\xe4\x6a" "\xac\x31\x3e\xbd\xdd\xd9\x26\x5a\xf1\x65\x58\xdd\x3e\x5b\xa4\x83\x66" "\x59\xa6\xab\xfe\x08\xaa\xd8\x42\x76\xac\xf9\x49\xbd\xaa\x34\xbd\xf7" "\xf7\xb2\xdf\xb2\xfe\x8b\x9d\x6d\x22\x5d\xce\xce\xbe\xb6\xe1\x5f\x64" "\x99\x94\x72\x88\x42\xbd\x99\xfc\x94\x89\x7d\x24\x31\x5a\xc2\xd1\x7b" "\xf6\xc2\xac\xfb\xfa\x84\x64\xd8\x0f\x36\x30\x4f\x88\xb9\x06\xb7\x8a" "\xb3\x59\xbe\x34\x79\xdb\x5b\x0e\x75\x55\xf0\x44\x16\x80\x7c\x22\x02" "\xd6\x55\x1f\x24\x25\x44\x0b\xe7\x41\xdb\xe0\x53\xe0\xbf\xeb\x84\x56" "\x23\xe7\x22\xa9\x29\x38\x43\xf1\xcf\x0a\x71\x11\x9d\xca\xdf\x7e\x35" "\x3a\xf4\xda\x52\xae\xd3\x08\x6d\x6e\x5a\x09\x57\x74\x24\x8b\xe9\xa1" "\xb1\x41\x8d\xec\x1c\x03\xa2\xcb\x0e\xce\x08\x40\xeb\xea\xaf\x7b\x67" "\x86\x7d\xa4\x59\x43\xb7\x00\xe2\xd6\xda\xd7\x75\xae\x6f\x33\xe5\x5a" "\xa8\x6c\xa8\x4c\x33\x6c\x91\xe3\xb7\xd7\x22\x4f\x7a\x9a\x10\xd5\xb4" "\x5a\x6c\xe0\x76\x9d\x87\x54\x15\xbe\xa1\x36\xb5\x50\x8e\x5e\x0a\x88" "\x29\x07\x92\xda\x3b\x11\xb2\x28\x4a\x3d\x75\x7c\x30\x1c\xec\x78\xb5" "\x5d\x3f\xcf\xa0\x73\x61\x5c\xcb\x08\x9f\x66\xc5\xb9\xa5\xc8\x4f\x6c" "\x1b\xb7\x8c\x33\x70\xc4\x68\x7e\xab\x26\x07\x11\xfa\x05\x52\x56\x87" "\xc7\x70\x9e\x15\xcd\xde\xa0\x61\xf7\x07\x98\xcb\xf9\x40\xad\x92\x9e" "\xb8\x0f\x33\xad\x8b\xb4\xfc\xd3\x22\xdd\x05\x58\xf1\x11\xd7\xd0\x13" "\x51\x14\x79\x76\xb4\x25\xa2\x7e\x57\x34\x02\x49\x00\x55\x05\x4c\xf3" "\xd8\x0b\xeb\xde\x6a\x89\xf3\x08\x61\x70\x63\x37\x40\xf0\x87\x80\xaa" "\xc3\xa7\x3f\x17\xea\xed\xa8\xde\xb6\x42\xc2\x88\x79\x62\x59\x6b\x4d" "\x78\xc0\xff\xff\xb2\x8d\x0e\x64\x07\x3b\x06\x41\xf8\x9c\xf8\x3a\x69" "\xaf\xaa\xea\x03\xba\x60\x70\x83\x8f\xdb\xda\xcc\xb8\x16\x30\xa6\xfd" "\xaa\x77\xfc\x10\x14\x60\x13\xb9\xfd\x79\xe9\x65\xa3\x20\xda\xf8\x1c" "\x1a\x51\xf0\x32\xa3\xf4\x62\xf2\x74\x0e\x57\x9e\xb1\x16\xca\xd8\x0b" "\x4e\x23\x33\x26\xbf\x94\xfe\xa5\x21\x84\x51\x7a\xcc\xf6\x08\xb1\xfb" "\xfb\x39\x59\x42\x86\x98\x41\xb9\xca\x0f\x31\x4b\xef\xf6\xb2\xdc\x0a" "\x74\xd7\x59\x90\x12\x27\x4b\x24\x77\x5f\x03\x82\xe7\x29\x07\xc1\xf0" "\xc5\x71\xb9\x94\xf0\x48\xc0\x26\x6f\xeb\x77\x5d\x89\x3f\xec\x84\xe5" "\x73\x3c\xd6\x6a\x96\xcd\x45\xb6\x0f\x63\x74\x3b\x17\xb0\x5d\x99\xc4" "\x27\xa2\xd0\x0a\x27\xfe\xf1\x7c\xad\xf1\x28\x05\x9a\x2e\x22\x7b\x80" "\x70\x17\x55\xb0\xbc\x70\x6f\x32\x25\x5c\x8c\xd6\x19\xfa\x99\x5c\xc7" "\x64\x9f\x28\x33\x73\x61\xa6\x2c\xff\x46\x66\x9f\xa4\xcf\x09\x5a\x2d" "\x14\x89\x87\xa9\xfa\xfa\x6e\x1f\xb9\xf5\x9b\x5a\xc5\xff\x10\xa4\xc6" "\x2e\x01\x87\xa3\xc7\x5a\x98\x3f\x7f\x52\x11\x14\x2c\x6c\x09\x17\x0a" "\x13\xe2\x9c\x20\x44\xe5\x56\x8b\xda\x80\x55\xce\xe4\x72\x2e\x44\x5e" "\x83\xea\x01\x30\x7c\x42\xcb\xe6\x3a\x5b\xc5\x29\xe1\x20\x0e\x58\x74" "\xf7\x50\x02\x75\xab\xac\xd6\xcc\x0e\x3b\xf8\xfd\x38\xab\x7b\xab\x39" "\xf5\x4d\x18\x0d\x60\x89\x2e\x2e\x3a\x71\x3a\x3e\x65\x4c\x89\xb8\xe9" "\xba\x44\x74\x90\x99\x91\x84\x45\x14\xc0\x4b\x65\x5c\x66\xcc\xd6\xf2" "\xa1\x7e\x29\xff\x69\xd3\x43\xeb\xac\x7a\xc5\xe1\x51\x0a\xd4\xff\x52" "\xe6\xa9\x32\xa9\x7b\xb0\xd8\x14\x25\x9d\xa6\x54\x50\x22\x15\x2d\xd6" "\x3f\x06\x21\x9a\x1d\x66\xec\x22\x78\xb6\x94\x87\x6e\xd6\x19\x5b\x05" "\x43\xb8\xc9\x28\x9b\x84\x38\xe8\xee\x57\xdd\x38\xbc\xdb\x04\x5a\x6f" "\xc4\xce\xde\x28\xef\xfa\xa0\x35\x4a\xfb\xd4\x19\x0f\xcb\xcc\xd9\xa0" "\xe9\x15\x08\xe4\x39\x9e\x0e\x30\xa0\xbf\xde\xdc\xc1\x94\x54\xb6\xdd" "\x7c\x27\x85\xa6\xe4\xfe\x74\xa0\xec\xe1\xd6\x83\xad\x07\xd7\x6e\xaf" "\xec\x02\xfb\x0d\x88\xde\xbf\xea\xcd\x35\x31\x41\x31\x85\xda\x0f\xfa" "\x4f\xb9\xb5\xe6\xd5\xa9\x16\xf7\xbb\x5d\x51\xef\xc8\xab\x61\xe4\x95" "\x3f\xc6\xb2\xd1\xe6\x70\x76\x9f\x3c\xa5\x6d\x51\xb8\x04\xce\xb1\x18" "\x27\x8a\xcc\x90\x42\x2e\x1f\x51\xe4\x48\xa2\x7d\x2f\xe4\xf9\x3c\x88" "\xcf\x7c\x61\x48\x47\x4b\xf6\x50\x90\x2d\xd6\xdd\x96\x54\x10\x44\x11" "\x3d\x24\x4c\xf9\x38\x15\x0e\xc4\x26\xe7\xed\x63\xe1\xf1\x53\xbb\xe3" "\x28\xf4\x23\x25\x52\xb1\x04\xc8\xde\xe6\x0b\x0c\x4e\x4c\x25\xf2\x60" "\x5e\x97\xcc\x6f\x42\x63\xd3\x2e\x83\x40\xbe\x2d\x16\x71\x37\x68\x23" "\x73\xae\x4c\xd5\x01\xfd\xc9\xc5\x35\x9b\x40\xf5\x28\x03\xa5\xe4\xc0" "\xe0\x4a\x5d\xe0\x41\x2c\x5c\xbd\x4d\x05\xe6\x13\x5a\x12\x09\xd4\xb2" "\xdf\xf5\x0d\x39\xe4\x81\xf1\xd1\xb0\x1e\xd7\x10\x04\xfb\x0c\x18\xe7" "\x36\xaf\x8a\xb1\x76\xf8\x33\xa4\x39\xa8\x5c\x91\x32\xe6\xd2\x29\x6f" "\x66\x57\x71\xc6\xa2\x84\xea\xdc\x08\xc9\x4f\xfa\x52\x0d\xcc\x37\xfd" "\x64\x26\xc1\x52\x36\x46\x99\x51\x4b\x15\xd4\xdf\x67\x32\xff\xf3\x98" "\x34\xe8\xba\x29\x68\x8b\x19\xdb\x27\xa9\x70\xd9\xd7\xfb\xee\x97\x3c" "\x76\xbe\xe0\x4f\xb6\x16\x49\x63\x96\x9e\xbd\xe0\xf7\x85\x60\x67\x81" "\xd6\x37\x26\x73\x6d\x8b\x60\xa7\x13\xd5\xf7\x22\x07\xa2\x3f\x6f\x00" "\x42\x0f\xdf\x24\xd1\x4c\x06\x9f\x36\xa7\xe2\x36\x62\x04\x81\xcc\x7a" "\x63\x85\x7c\xc1\x35\x5b\xac\x8d\x4f\x9a\x3f\x32\x78\x5a\xd4\xd9\xd8" "\x17\x19\x07\x7a\x81\x6b\x33\xb9\x80\x06\xc3\x22\xee\x47\x3a\xa9\xf8" "\xf8\x3f\xae\x86\xa4\xd4\x21\x10\x4b\x29\x8a\x9e\x42\x35\x7c\x44\xb7" "\x73\xe3\x50\x4b\x3f\x9e\xb5\xb2\x93\x30\x41\x1b\x77\x6b\x78\xfd\xb6" "\xdd\x97\x13\xdd\x1a\xee\x0c\xc9\xc7\xee\x8b\xd2\x3a\x50\xd4\xc8\xba" "\xba\xf6\xd7\x4b\xc2\x53\x77\x00\x9a\x8c\x57\xc9\x41\xf8\x0e\x58\xac" "\x08\xc9\x3a\x27\x56\x56\xcb\xad\x38\x64\xdf\x9e\x79\x13\x05\xd6\x61" "\x03\xab\x30\x98\x3b\x07\x55\x3e\xde\x5b\x5d\x5b\x0a\xab\x15\x7f\x80" "\x5e\xb6\xc1\x1c\x75\xdd\x7f\x29\x7c\x2c\xc9\x11\x05\x51\x13\x1a\x79" "\x71\x64\xde\xc4\x22\xb1\x37\x99\xf1\xc2\x61\x46\x4c\x76\x5a\x62\xc2" "\x01\xeb\x9c\x86\x86\xee\xe9\x46\x42\xd5\x9f\x42\x9c\xd1\x37\xcb\xa0" "\xd1\xa8\x12\x6d\xcd\xfc\x28\xea\x5c\x20\x15\x26\xc6\x11\x64\xa8\x6f" "\x48\x0d\xfd\xe0\xc6\x0f\xdf\x6a\xfd\x3c\xd6\x47\x19\xde\x1d\x89\xb5" "\xa3\x62\xe0\x58\x05\x4a\x9d\xb7\x3a\xaf\xfa\xc3\x24\xb0\x4e\x89\x03" "\x06\x0e\x1f\x14\xca\x4a\xc3\x1c\x82\x18\x30\x66\xe6\xd5\x81\x68\x5e" "\xfb\xe3\x45\x2a\x20\xa6\x65\x16\x6b\x03\x80\x82\x20\x77\x0d\x66\x05" "\x19\x71\xb6\x1d\x81\x14\x37\x6e\x22\xa4\x51\x1c\xae\x9f\xdf\x7b\xbe" "\xd6\x8b\xb9\xf4\x5b\x57\xee\xe1\xc1\x57\x75\x73\x0e\xf1\x43\x47\x31" "\xd7\xb8\x2a\x7c\xbc\xd6\x15\x53\x96\x26\x39\x84\xed\xfc\xea\x62\x19" "\x61\x89\xda\x0b\xa9\x90\x8d\x7d\x5e\xf5\x14\xd7\x5a\x3e\x1d\x4a\xe4" "\x26\x54\x36\x50\x83\x87\x3f\xc4\xce\x96\x9f\xa4\xfa\xc5\x1d\x64\x0b" "\xe8\xd9\x48\xbb\x94\x64\xd1\xa7\xe4\x94\xc8\xdf\x98\xbd\x5a\x56\x9f" "\xf7\xfe\x1a\xca\x54\x2c\x34\x61\x01\x48\xa8\xf1\xdc\x9d\x60\xff\x0f" "\x76\x12\x70\x57\x7f\x28\x6a\x36\x2f\x32\x16\x41\x84\xff\xce\x3a\xd1" "\x32\x63\x7e\x9f\x03\x81\xe9\xce\x76\xa1\x1f\x29\x6f\x9d\x1e\x83\x5c" "\xdc\x44\x92\x61\x04\xe1\xdf\x4d\x0a\x28\x2a\x84\xb9\xfb\xc2\x30\x64" "\xbf\xca\xb0\xd2\x21\xc6\xe3\x12\x4a\xe8\xba\x60\x22\xe6\x2f\x17\x0d" "\xcc\x2d\x65\x5f\x73\xb4\x0f\x83\xfd\x65\xf5\xc7\x05\xbc\x1f\x9e\x8d" "\xf1\x3a\xde\xad\xff\x9e\x1f\xe4\x66\x0a\x55\xbe\x7d\xc9\x69\xcf\xff" "\xae\xd6\x07\x19\x01\x62\xdc\xd0\x9d\x0c\xd8\x6a\x29\x7b\x22\x14\x2b" "\x88\xf0\xeb\x28\xdd\x1a\x45\x15\x2a\x4f\x4f\x2d\xca\x0d\x96\xd3\x9f" "\xa5\x94\x34\x90\x40\xf4\x86\xcd\x48\x6a\xf6\x19\xb7\x08\x32\x36\xcf" "\x90\x32\x4c\xdd\xc6\xf1\xed\x0f\x6a\x10\x3c\x8d\x93\x6d\x7f\x2f\x31" "\xd4\x20\xef\x50\x93\x18\x38\xe6\x67\x21\xbf\xf7\x49\x46\x17\xb6\xb4" "\xbc\x38\x5f\x3e\x51\xb3\xf8\x1c\xf5\xd6\x95\x3a\xc7\xfd\xdc\x0f\x34" "\x66\x68\x29\x11\xb3\x8b\xc7\xf0\x82\xe0\xc1\x8e\x3a\xe0\xba\xdf\x7f" "\x3f\xd3\xe1\x86\xeb\xc2\xba\xb7\x1f\xa2\x6f\x77\xbb\x14\xcd\x97\xe6" "\x76\x1c\x93\xc8\xc2\x58\x87\xc0\xef\x1f\x3d\xc1\xd8\xd8\x6c\xe0\xfb" "\x73\x19\x0f\x66\xf4\xde\xca\x77\x97\x7e\x8d\x60\x64\xbf\xee\xac\x3f" "\xad\x2b\xc5\x04\x88\xc1\x44\xe2\xa1\xa8\x2f\xcc\x1e\x1c\x12\xac\x54" "\xbf\x3e\x2d\x46\x8e\x8f\x53\x24\x1e\x4a\x6a\xd9\xe4\x66\x74\x6a\x45" "\xb0\x53\x45\x2d\xed\x5c\xaa\x20\x46\x18\x81\xd7\x8d\x82\x35\xe9\x86" "\xba\x8b\x77\xe8\x36\x01\x65\x5d\x26\x50\xbf\x1b\x64\xce\x17\xc7\x53" "\x14\x21\x6b\x43\xbb\xd1\x10\x1a\x2e\x12\xe5\x75\x25\xbb\x7d\x3b\x13" "\x6a\x70\x63\x5b\xda\xc8\xaf\x24\x36\x7a\x24\xce\x2f\xe2\xa7\x2e\xf2" "\xb0\xe5\x6f\xf8\xdc\x62\xa8\x29\x46\xf8\x6f\x9b\x6b\x14\x18\xa8\x9b" "\x19\x71\x37\x2d\xfe\x7d\x5c\xe2\xe6\x61\x1b\xef\xff\x72\x1f\x04\xa1" "\x9b\xce\x7f\x90\xb1\x55\x1a\x4c\xde\xad\x13\x66\x62\xc5\x05\x13\xfd" "\xde\x6f\x9d\x4a\x19\x9c\x39\x07\xed\x87\x99\xf2\x31\xf5\x4d\xd8\x34" "\x7c\x71\xd8\x29\xff\x8d\xdc\x5d\x96\xb5\xaa\xc2\xfe\x58\x65\x2c\x81" "\xff\x7f\x54\xe2\x56\x81\x19\xdf\xf2\x76\x3e\xf4\x35\xaa\x42\x06\x30" "\xda\xcc\x7e\x94\x14\x34\x0e\xe8\x68\x8f\x46\xc7\xa8\xab\x96\xd8\x60" "\x93\x76\x41\x04\x2b\x3c\xdf\x68\x57\xff\x1d\x2d\x4e\x47\xce\xc1\xf2" "\x3e\x65\xfe\x54\x1f\x38\xcb\x96\xb1\x32\x66\x6f\x99\x90\x02\xe8\x9c" "\xd1\x89\x6c\xa5\x8c\x2e\x63\xb8\x73\x82\xe1\xa6\xc1\xee\x9a\xfa\x56" "\xcf\x3b\xa9\x23\xfa\x9c\x98\x9e\x20\xbf\xf3\x13\xf3\x72\x52\x63\x2f" "\xdc\xff\x03\xfb\xdd\x2d\x33\x4e\xe9\x3b\xaf\x75\xc1\xbd\xae\x30\xfe" "\xaa\x81\xfb\x2a\xc1\xb6\x3c\x42\xdd\xa0\x6f\x20\xce\x8c\x9d\x00\x3e" "\xb3\xef\xed\x79\x31\xde\xf3\x42\xfb\x87\x4f\xce\x92\x76\x3f\x6f\x47" "\x7c\x7f\x58\x9b\x75\xd2\x12\x94\x19\xfc\x4c\xb7\xa8\x89\x3a\x1d\x3f" "\x94\x53\x3e\xd9\xfd\xf9\xf2\x1f\xc2\x54\xfd\x80\xaa\x74\x75\x08\x33" "\xd3\x90\x32\x7a\x21\x07\xe7\x61\x24\x09\x28\xd3\x5a\x36\xc5\xea\xca" "\x61\xfd\x84\x81\x16\xb8\xdd\x7e\xc8\x15\x79\x28\xbc\x2d\xd8\x7f\x77" "\x56\xaa\x51\x7c\xf6\xa6\x1d\x20\x09\xfd\x4b\xa0\x57\x9c\xa3\xb3\x12" "\x9c\xfd\x54\x03\x54\x6f\x5a\xb6\xd0\x57\x57\x99\xa0\x08\xfc\x67\xda" "\x96\x58\x42\x76\x36\xd8\xf8\x06\xd9\xb8\xca\xd6\x4a\xee\x43\x8d\x0a" "\x9b\x45\x95\x7f\x31\xa5\xaf\xe3\xed\x89\x4a\xdd\x9a\xca\xdf\xd3\x47" "\x24\x60\x99\xc6\xff\x0b\x4e\xc6\xf1\x9a\xc6\x15\x57\xda\xf8\x73\x9e" "\x52\x81\x85\xab\x14\x68\xca\x72\xd6\xd7\x2e\x4f\x02\x6e\x37\x1e\x54" "\x0b\x77\x4b\x65\x76\xdf\x30\x14\xdc\xc9\xe9\x1b\x2c\xd1\xf0\x40\x3a" "\x4f\xca\xa6\x62\x7b\x22\x68\x2b\xb5\x4f\x92\x15\x0c\x29\x17\xac\xae" "\xe1\x97\x2b\x2b\x03\xbc\x2b\xd3\x7f\xdb\x9e\x73\x52\xc6\x54\xd9\x4e" "\xf1\x96\xb7\x22\x9e\x4d\xa5\xee\x62\xb7\xd3\x95\xec\xdd\x51\x77\xf2" "\x56\x32\x42\xea\x49\xff\x78\x15\x1a\x4a\x81\x6a\x94\xe8\x9b\x03\xf4" "\x1c\x7e\x66\x84\xf8\xbe\x3e\x58\x02\xe9\x33\x8e\x7c\xbd\x3b\x43\xf7" "\x08\xc0\x62\xf9\x44\xa5\x9f\x31\xb0\x2c\xa9\xa1\x77\xe6\xb6\x81\xac" "\xce\xe8\x78\x5d\x24\x67\xd2\xd7\x86\x36\xbe\x43\x30\xfe\xba\xa3\xf6" "\x90\x7d\xb0\x79\x92\xa2\xde\x74\xe4\x59\xf3\xae\x8e\xe6\xad\xae\x20" "\xcb\xc7\x5a\xab\xd2\xd5\xd3\x42\x4d\xe0\xdd\xcc\x3d\xdd\x98\x1c\x3a" "\x49\x66\xc5\x7f\x8f\xdb\x1c\x42\xdb\x87\x39\x5f\x0b\xc8\x00\xff\x8d" "\xdb\x4c\x22\x8a\x7d\x79\x3d\x8a\x99\x78\x85\x49\x4a\x85\x78\xf5\x43" "\x3d\x3f\x82\x88\x6e\xa5\x73\x64\x1b\xf1\x60\x65\xef\xbc\x25\x71\x8c" "\x88\xf7\x27\x7c\xe0\x4c\x94\xaf\x56\x0d\x8d\xeb\x79\x68\x49\x6f\x84" "\x9d\x3f\xad\x78\x74\x12\x72\xb0\x8b\xf7\xae\xc3\xf3\xc7\x77\x42\x8d" "\x3b\x8b\x89\x73\x33\xae\x5a\xfb\x68\x23\xaf\x63\xcb\x73\x47\x60\x1e" "\xe2\xe8\xd4\xe2\x1b\x21\xa1\x2e\x6d\x42\xf6\x6a\x1a\xac\x26\xd2\x96" "\xbc\x68\xa9\x98\xd8\xba\x17\x9e\xd5\xf7\x56\xc2\xef\xd8\xa7\xac\xc0" "\xe3\xf0\x80\x93\xbb\x4a\x83\xd3\x7f\x15\xb4\xfe\x07\xc9\x08\x58\x05" "\x8a\xd1\xff\x0e\x21\xbb\x7b\xf4\x36\x30\x79\xc5\xd4\x52\xdb\xa5\x97" "\x2b\x21\xc8\xf4\x1d\xaf\x6f\x11\xa5\x1d\x32\x1d\x3c\x1d\x54\x41\x90" "\x23\x80\x36\xd9\x07\xd9\x65\xff\x46\x9c\xe4\x89\x5e\xb7\x67\x5f\x3e" "\x94\xa1\x5f\x83\xb8\x37\xb8\x92\xa4\x03\x90\xd8\x7d\x76\xe9\xb1\x5e" "\xda\x02\x36\x62\x99\xd3\xdd\x93\x94\x34\x66\xbc\xee\xb2\xf9\xe4\x65" "\xad\xcc\xc0\x8e\x1a\x02\xc3\xac\x01\x81\x59\x31\x62\x7e\xd3\x27\xe0" "\xff\xbe\x09\x56\x32\x21\xa3\x65\xb8\x8c\x4f\x24\x49\xbd\x36\x34\x92" "\x0d\x5b\xfb\xde\x7c\xdc\x92\xc4\xcb\x16\xa5\x79\xf3\x5f\x07\xda\xfc" "\x87\xce\x6c\xe4\xde\x7b\xf9\xe8\xff\x0e\x80\xb8\x1c\xda\xb8\xf2\x16" "\x4a\x25\xa0\xa6\x92\x96\x79\xce\x9a\xe0\xdc\x2a\xc7\xed\x41\xa7\x87" "\x44\x66\x76\xf0\x91\x59\x75\x51\xdc\x2e\x8c\x05\x42\x24\xba\xc6\x65" "\x2b\xba\x5f\xb6\x75\xc0\xb2\xc9\x4d\x2f\xaa\xc1\x60\xf1\x1b\x7b\x96" "\xfc\x96\x41\x5a\xca\x8a\x47\xfa\x03\x65\x8b\x8a\xfa\x24\xb6\xbd\x97" "\xf7\xdb\xee\xad\x9a\xe5\xf7\xec\x1c\xb0\xd0\x00\x05\x5f\x41\xa5\x04" "\x3c\x6c\x4c\x97\x21\x23\x98\xb1\x68\xb5\xcb\x9e\xe6\x50\x72\x6e\xab" "\xcc\x31\xb6\x71\x2e\x81\x5f\xda\xae\x77\x88\x53\x50\x88\x4f\xb3\x6d" "\x6d\x54\x44\xd5\xe5\x50\x0a\x7d\x63\x6d\x4e\xce\xd1\x4b\x9d\x41\x1c" "\x76\x5b\x36\xa4\xbe\x06\xca\x9b\xe2\x96\x5d\x6d\x6c\x06\xc3\xb6\xbc" "\xb3\x8b\xab\xeb\x29\x99\xee\x71\x29\x5d\x48\x92\x6b\xf6\xe3\x93\x63" "\xfa\xbf\x74\xde\x5e\x57\xaa\x0b\x59\xf9\xdd\xde\xca\x14\x2d\x0c\x50" "\xab\x7f\xf1\x98\x19\x6c\x69\xc9\x71\xe6\xab\x59\x12\x20\xf4\xe4\x2d" "\x65\x25\xe2\xdb\xd9\x9b\x6c\x57\x94\x9c\x85\x4e\x4e\xe0\xe4\x58\x1f" "\x9e\x3e\x16\x0b\x3f\x66\xb0\x1f\x23\xf4\xd0\x47\x2c\x0a\x1f\x30\x78" "\x37\xac\x8d\xac\x0a\x25\x7d\x09\xab\x82\x97\x51\x48\xdc\xd7\x64\xfe" "\x63\x59\xa5\xf2\x1b\x9c\xbe\x2a\xe7\xb9\xb2\x77\x48\x9a\x8b\x32\x85" "\xb8\x28\x9a\x84\xff\x85\x45\x08\xb4\x48\x8f\xfc\xf6\x8f\x47\xec\x7a" "\x5c\x18\xa8\xc3\xd0\x6e\x26\xb3\x2f\x75\x4a\xc7\x4e\xa8\xe9\x3a\x55" "\x41\x47\xfd\x3b\x3d\xaf\x1f\xbe\x92\x4e\x2e\x38\x9c\xac\x13\xa5\xf8" "\x0f\x3a\x21\xdb\xd2\x50\xd3\x91\x7f\x7b\x5a\xcf\xc7\x39\xa6\x3f\x2b" "\x3d\x6b\x3f\x09\x9e\xfb\x4b\xe7\xa8\x42\x21\x5c\x89\xfc\x87\xbd\x85" "\x50\xd1\x1b\xa2\xa4\xaf\x0f\x11\x1a\xb1\x24\x50\x3b\x26\xfe\xea\xe3" "\xbe\x3e\xe2\x41\x68\xdd\x45\x53\xa2\x26\xb9\x16\x8e\xdb\x11\xc3\xe6" "\x1b\xc8\x50\xad\xf9\x95\xb4\xd6\xf1\xaa\xce\x6d\xb0\xb9\x1f\x80\x5c" "\x3d\x17\x89\xa3\xe6\xb4\x70\xe5\x47\x09\x68\xf4\x29\xd5\xb0\x5c\x8f" "\x76\xca\x29\x81\xe3\x7f\x5b\xde\x4a\xd0\x0a\x09\x75\x5c\x76\x77\x4e" "\xad\x7d\x93\xf3\xf4\x12\x55\xb1\xd5\x61\x52\xe3\x69\x9b\x13\x3b\x2e" "\x0b\x27\x74\x27\xc9\x92\x32\x3d\x1b\x4d\x8c\x43\x84\x34\xe9\xe9\x01" "\xdd\xd4\x37\x88\xf8\x0c\xb9\xa9\x75\xe9\xdd\x16\x71\xce\x16\xbe\x5f" "\xf8\x03\x3d\x5d\xa8\x24\xf0\x0f\xd7\x8b\x54\x0e\xdb\xcd\x69\xa2\xe9" "\xaf\xf0\x3e\x31\xaf\x9a\xfe\xfb\x80\x94\x34\xf5\x2b\x4a\x12\x39\xfd" "\xd2\x41\xed\x3a\x26\x82\x58\xad\xdd\xe1\x9d\x17\x24\x15\x5a\x1a\x4c" "\x87\x7b\xd5\x9b\x06\x59\xb7\xa7\x86\x88\x6f\x6f\xfc\xb5\x99\x9d\x1f" "\x9c\x00\x7d\x61\x50\x20\x92\x6f\x71\x65\xa9\xdd\xd4\xaa\xa3\xc7\xb6" "\x31\xd3\x0c\xc9\x51\xe3\x28\x13\x1d\x99\x28\x2a\xc0\x6a\x18\xf8\x83" "\x73\x09\x23\x20\xea\x53\x08\xf0\x6c\x37\x6e\x71\x1a\xec\xda\x4c\xd1" "\xc2\xb6\x39\xd9\xea\x7a\x26\x13\xd4\xe9\xea\xa9\xa0\xef\x72\x77\x4f" "\xde\xc6\x22\xf7\xd1\x31\xb4\x51\x35\xd5\x77\x89\x7b\xf6\x86\xb4\x60" "\xa3\x71\x08\x30\x70\x13\x9e\xa5\x44\xbd\xa1\x50\x12\x25\x1d\x6c\x8e" "\x71\x63\xc2\x54\x12\x84\x1f\xae\xfb\xa7\x67\x65\x64\x8c\xa7\xcd\x1b" "\x42\x34\x03\xa6\x54\xb6\xb5\x75\x45\x88\xae\x6c\x30\x96\x21\x47\x7d" "\xb2\x0f\x7c\x92\x36\xaf\x1e\x42\x2e\xbd\x3f\xb6\xd6\xa7\x12\xe7\xa6" "\xd0\x0d\x58\x41\x6b\x7d\x65\xa5\x3a\x25\x14\xbf\x51\xbe\xdf\xe9\x20" "\x7f\x16\xa4\xd7\x94\x18\x60\x03\x89\xb9\x8e\xa8\xb9\xe0\x6b\x8d\xa7" "\x08\xa8\x6f\x19\x1e\x56\x79\x25\xaf\x39\xa0\x9a\xc9\xfd\x79\x02\xe8" "\xf8\xe7\x75\x67\xba\xf1\xb7\x5c\x05\xba\x1e\xb7\x08\x9b\x42\x48\x01" "\x40\x5a\xfc\x98\x2a\x8d\x79\xc8\x0f\xad\xa1\x84\xa1\xab\x3b\xab\x52" "\x6a\x3b\x0a\x5e\x20\xd2\xdc\x6b\xcd\xd2\xc5\xcb\x7c\x49\xf7\x35\xf3" "\xe8\xf4\xd3\x6a\x38\x8c\xa8\x05\x87\x6a\xe0\x8f\x0e\x3a\xcc\xa5\xdd" "\x86\x4c\x1f\xa1\x55\x20\x68\xbf\x79\x90\x95\x22\x14\x80\x37\x4f\xd2" "\xdc\xae\xdd\xb7\x4b\xe9\x34\x70\xef\xf4\xfe\x27\x8e\x19\x0f\x0a\x13" "\x1f\x32\x34\x0a\xda\x9c\xca\x51\x8a\xf7\x69\xf4\x29\x43\x87\x5f\x4c" "\x57\x07\xbe\xee\x21\x79\x77\x1d\xa2\x1c\xd6\x64\x05\xb9\x97\x36\x48" "\xbd\x04\x7a\x51\x6d\x1c\xf9\x02\xfa\x1f\x0f\xcd\xcb\xc3\xf4\xc1\xf2" "\x0f\xc2\x2f\x9a\x7e\x9f\x4c\x3a\x52\x57\x63\x99\x60\x4c\x46\xf8\x3e" "\xde\x44\xf5\x42\xd0\x6d\x54\xe6\xe8\xa1\xe6\x93\xa2\xcf\xcb\xb1\x6c" "\x17\x8d\x1b\xac\xe9\x76\x13\x3e\x72\xcc\x45\x33\xbd\x02\xb1\xc4\xec" "\x2c\xc2\x20\x97\x43\x5a\xff\x5a\x68\x2c\xa7\x22\x74\x14\x89\x54\x50" "\x83\x15\x60\xfa\x68\x24\x93\xf4\x81\x4c\xe8\xfb\xdb\x19\x0f\x8c\xe2" "\xb5\x33\xed\x95\x82\x63\x85\x11\xbd\xa9\x3a\xea\xe5\xd0\x69\x0f\x74" "\x5b\x78\x8d\xb6\x22\x86\x4b\xa3\xfb\x60\x95\x2f\x11\x94\x27\xfb\xe6" "\x67\x54\xc5\xc0\x38\xc5\xfb\x2c\xb8\x7c\x32\x6d\x65\x86\x2e\x35\x3c" "\x14\x95\x0b\xd1\xfa\x7c\x70\xe3\x63\x23\xe9\xcf\x90\xc8\x1f\x62\x75" "\xe5\x9c\x79\x26\xac\xac\x15\x60\xa0\xb6\xbb\xc7\xa8\x50\x81\x7f\x2e" "\xff\xa1\x9d\x48\x53\x15\xa2\x19\xd4\x9e\x29\x3f\x87\x12\x78\x29\x4d" "\x02\x76\x5c\xf7\x2c\xaa\x2f\x43\x8d\xe3\x33\x7e\xd2\x05\xbf\x68\xff" "\x6d\xda\xaa\x5e\x4b\x80\xde\x5f\xba\x02\x2d\xfc\xf9\xcf\x07\x4a\x31" "\x96\x78\xdf\x11\xeb\x77\xb3\xef\x66\xe5\x12\xb6\x7b\xa5\x18\x22\x65" "\xa6\x0e\xaf\x45\x76\x91\xe9\x73\xd2\x3c\xba\xf6\x00\x05\x37\xf8\x86" "\x69\x50\x74\xeb\xb6\x16\xf9\xcd\xad\x9d\xe7\xc6\xfe\x9e\xcf\xbd\x13" "\xd5\x37\xd6\x4c\x34\xa7\xc9\x0c\xa5\x6b\x50\xe6\x0d\x6a\x70\x67\xe3" "\x91\xe6\x35\x61\x79\x3e\xdf\x6e\xd3\xc2\xee\xb8\x55\x59\x09\xa5\x9c" "\xe7\x3d\xa1\xf0\x96\xd4\x1f\xb4\x2d\xe4\x44\x94\x12\x83\x24\xa9", 4096)); NONFAILING(*(uint8_t*)0x20008bc0 = -1); NONFAILING(*(uint16_t*)0x20008bc1 = -1); NONFAILING(syz_mount_image( /*fs=*/0x20000180, /*dir=*/0x20000100, /*flags=MS_I_VERSION|MS_PRIVATE|MS_SYNCHRONOUS|MS_STRICTATIME|MS_REMOUNT|MS_RELATIME|0x240c*/ 0x1a4243c, /*opts=*/0x20007980, /*chdir=*/0, /*size=*/0, /*img=*/0x20000000)); break; case 13: NONFAILING(*(uint32_t*)0x20006fc0 = 8); NONFAILING(memcpy( (void*)0x20006fc4, "\xb3\x46\xc1\x97\x8c\xd8\xac\x67\x4f\xee\x0e\xf8\x66\xca\x1f\xa3\x81" "\x02\x33\x12\xf7\x53\xa3\x64\x98\x27\xff\x93\x1a\xaf\x52\x0e\x0e\xcc" "\x65\x75\x04\x00\x03\xfa\xb0\x7e\xb2\x24\x05\xf9\x40\xfc\xb6\x67\xf0" "\x5a\x68\x0b\xf0\x24\xc1\x57\xfa\xd2\xcb\x74\xd2\x04\xd1\x0a\x12\xca" "\xee\x4d\xf7\xa5\x13\xe2\x49\xe3\x4b\x2a\xe0\xda\x37\x5d\x4b\x94\x90" "\x9c\xf1\xa8\xd5\x9f\x24\x98\xe5\x17\xf7\x75\x53\xa4\x01\x9e\x86\xf1" "\x87\x2f\x52\x6d\xf7\x40\xe7\x77\x32\x66\x80\xd0\xcf\xfd\x60\x9f\x4d" "\xc2\x2d\x85\x19\x74\x8c\x96\xfc\x56\xc3\x59\xdc\x45\x5f\x99\x42\x0c" "\x9b\xb2\x39\x1d\x47\x8b\xfe\xdc\x04\x79\xe0\x66\x30\x47\x54\x37\xe0" "\xdd\xd0\xe4\xc5\xbf\x60\x77\xe7\x94\xd6\xdd\xe5\x6d\xe5\xee\x67\x90" "\x39\xea\xa5\x8f\xc1\x14\x06\x52\x5a\x52\x91\xcc\xa3\xfa\x12\xe4\xf1" "\xd3\x1e\xbf\xef\x63\xf6\xd7\x0b\x56\xa6\x8c\xb9\xb7\x2f\xd9\x6a\x4f" "\x54\x29\xeb\xde\x90\xa3\x37\xfb\x8a\xeb\xfd\x9b\xfc\x43\x5c\x64\x7c" "\xf4\x2b\x70\x64\x00\xd2\x4a\x38\x15\xe0\xcf\x84\x23\x1a\xc1\xa4\x4a" "\x30\x56\x44\x12\x28\x14\xc4\x7f\x42\xe5\x10\x2e\x2a\xbe\x3e\x61\x05" "\x64\x75\x13\xa4\x6b\x9f\xc3\xa6\xde\x0c\x71\x09\x86\xe0\xd7\x0c\x04" "\x63\xe8\xf4\xf4\x3a\x60\x9d\xe5\xf5\x05\x36\x3c\xb7\xae\x60\x1c\xb8" "\xe5\xbd\x54\xf4\x28\x94\x6c\x31\x11\x53\xe0\xa5\x96\xb8\x3a\x71\xd4" "\xe0\x20\x9d\x75\xcb\x84\x69\x0b\x3e\x26\x3b\x31\x00\x0b\x25\xda\x87" "\x63\x04\xa6\x77\x0a\xb5\xc2\xdb\x9d\xd4\x7a\xbb\xf7\x48\x17\x02\x5e" "\xb3\x84\xad\xef\x9c\xea\xcf\xcb\xd5\x99\x1b\xfa\xf9\xab\x21\xd9\x6e" "\xf4\xdc\x68\x19\x2a\xb2\xa3\x1f\xac\x12\x46\xa9\x99\x06\x81\xc5\x87" "\x88\x9e\x33\xea\x77\x3c\xe7\x1f\xce\x18\xbf\x1d\xea\x8e\xf7\x08\x03" "\x44\x1f\x6d\x20\x61\x66\x3b\x40\x02\xcd\x4c\x0c\xc5\x8f\xd9\x9e\x50" "\xe7\xd2\x3a\x05\x32\x12\xa8\x21\xf2\x34\xba\x55\xc7\x13\x7b\xdc\xf0" "\x38\x23\xb0\xeb\xf0\x0a\x03\x6e\xaf\x14\x72\x81\x30\x31\xa8\x6e\xc6" "\x96\x26\x88\x5a\x13\x98\xfe\x86\xd1\x2f\xd7\xc3\x7a\x33\x44\x89\xb2" "\xbd\x23\xea\xff\x1d\xba\xb6\x0f\xab\xf0\xd0\x34\xc3\x63\x90\xe4\xc1" "\x66\xd6\xf3\x54\xe7\x5b\xe1\x96\xfe\x11\x3e\x9f\xb6\x83\x1a\xec\x67" "\xa3\x20\x94\x50\x44\xae\xec\x56\xd9\xf5\x9f\xa8\xf3\x1d\x76\x92\xcf" "\xea\x0b\x96\xbb\x4f\x1a\x05\x4d\x5e\x7f\x3c\x29\x6f\x2b\x4c\x9b\xe2" "\xde\x97\xe6\x21\xd8\x12\x0e\x6e\x4e\x45\x2e\x8f\xc1\xfc\x72\xc3\xc7" "\xc6\x5f\xc0\xb0\x5d\x96\x0d\x43\xc8\x75\x7e\xb2\xa6\x30\xa4\x71\x04" "\x1b\x32\x01\xfd\x15\x0c\xc6\xac\xd8\x09\x8a\x5b\x39\xec\x4d\xc3\x8c" "\x0c\x42\xc6\xa7\xd0\x46\x9f\x4c\xdf\x56\x28\x71\x2c\xd8\x7e\xae\x3c" "\x35\xb4\x12\x4b\xc2\x03\xb1\x9d\x33\xdb\x77\xd3\x6e\x3d\x0a\xaf\x8e" "\x37\x5f\xeb\xfc\xdd\xaa\xe3\x36\x95\xf4\x3c\x9d\xfd\x2c\xbe\x18\x2c" "\x12\x59\x74\x8f\x19\xbd\xcc\x53\x72\xbb\x20\x12\x0f\x0e\x0a\x82\xc8" "\x82\x38\x1c\xe6\x0f\x7c\x35\x27\x1c\x84\x7f\xb0\x78\x52\x9a\xe7\x2c" "\xc4\x9b\x1a\x40\xec\xd6\x39\x3f\x11\x0d\xdf\x16\xfb\x12\x86\x7e\xb1" "\x32\x31\xb6\x86\x30\x12\xed\xe0\x7f\x3e\xc8\x4b\xf1\xb9\xbc\x51\x7b" "\x14\xd1\x09\xc7\xe3\x66\x5d\xa8\x6f\x4e\x9b\x63\x08\x60\x83\x16\x66" "\x07\x7d\x9d\xbb\xc0\x93\x69\xce\x84\x32\xcf\x25\x85\xa8\xb8\x5e\xfd" "\x3f\x53\x20\x40\xc2\x77\x97\xfc\x6f\x44\x32\xdd\xd0\x75\x9d\xae\x2c" "\x4c\x65\xb3\xf8\xce\xc7\xc1\x11\xde\x52\x49\x1f\x7c\x87\x68\xdf\xac" "\xc8\x1a\x08\x28\x27\x21\x94\x59\x3b\xc7\x5c\x2f\xe1\xdd\xc3\x05\x53" "\xe4\xf1\x5d\xf1\x0d\xe1\xe6\xa9\x48\x70\x64\x2d\xfd\x8d\xea\x3b\xff" "\xd9\xb6\xa2\x3d\xc7\x65\xcc\xc5\x9d\x27\xb0\x7d\xe4\xeb\xe7\x51\x54" "\x6a\xfe\x5a\x4b\x9c\x5b\x31\x09\x86\x24\xd9\xfb\xa7\xd2\xa0\x09\x72" "\xd6\x65\x6b\x17\xdd\xe5\x91\xe9\xc6\x99\xae\xd5\x8c\x8f\x31\x5f\xec" "\xa1\xd1\xc2\x08\x8c\xe0\x74\xc9\x0a\x1d\xb7\x2d\xd5\xa2\xeb\x22\x19" "\xdb\xf9\x5b\xf1\x57\x34\x0d\x38\x7d\x0b\xe8\x7c\x37\x57\x31\xfe\xe9" "\xef\xd4\x44\xe1\x01\x14\xe7\x9a\xe4\xf5\x10\xf4\x82\xbb\x80\xb3\x41" "\xc1\x7e\x8a\x85\xe3\xf9\x62\x62\x0b\xad\x2c\xf5\xf3\x2f\xab\x7f\x4e" "\x4d\xeb\x44\x5a\x0c\x4b\xad\x36\x33\x41\x5f\x07\x13\x7d\xf9\x11\xf2" "\xe2\x87\x76\xb8\x14\x66\x91\x30\x87\x29\x0f\x3d\xc9\x7f\xbf\x75\x1a" "\x9b\x02\xfd\x8c\x1f\x4b\x0d\xe6\x8c\xa0\x18\x37\x40\xce\x21\xd5\x7c" "\x2d\xb8\xf0\xb5\xd9\x2a\x0f\xf7\xae\xf1\x13\x22\xec\xa7\x94\x6d\x8d" "\xa2\xee\x9d\x6c\xd3\x80\xb1\x53\x5c\x7b\x3a\xd2\x69\xa5\x16\xd8\xc0" "\x63\x7a\x93\x22\x0e\x0f\x84\x5c\x8b\x48\xe3\x83\xc5\xa3\xb0\xa2\xe0" "\x3f\xf5\x86\xa5\x2c\x88\x1c\x88\x25\x59\x2f\x3a\x57\xa0\x37\x54\xcf" "\xb6\xcc\x88\xb7\x3c\x9a\xa2\xc5\x8a\xe4\x36\x23\xc6\x08\x65\x1d\x19" "\xeb\xe3\x78\x2f\x21\xe5\xa5\x61\xdc\x8d\xfa\x17\xea\x20\x78\xea\x59" "\xba\x90\xc6\x4e\x2d\x98\x99\x8f\x29\x2d\x0c\x72\xe3\xba\xdf\x3c\x38" "\xaf\x4b\x95\x59\x5d\xda\xfb\xe8\x8d\xa0\x10\x41\x9e\xc7\x66\xf1\x4d" "\x20\xc2\xbc\x44\x0c\x7d\x8d\x84\x07\x3d\x2c\x7d\xc0\x97\x26\xec\xaf" "\x07\xa7\x1f\x20\x88\xc9\x0a\xe4\xf5\x57\xb9\x9a\x0c\x6d\x89\x0d\xfb" "\x2b\xea\x67\xa9\x36\x85\xc3\xcf\x34\xf0\xce\xb0\x42\x96\x17\xe2\x5c" "\x7f\xfc\x18\x0d\x56\x80\xc7\x8e\xca\x89\x67\x15\x0f\xb4\xbc\x7d\xc8" "\x4e\x87\x2b\x62\x8f\x6d\x55\x9c\x4f\x58\x71\xb9\x02\x35\xf5\x53\x50" "\x94\xec\x37\x23\xb1\x35\xbc\xda\x0e\xb1\xef\x9b\x3d\xc8\x90\x44\xd3" "\xf6\x94\x25\xaa\x94\x8c\x3a\x00\x6e\x91\xd8\x9e\x75\x29\x6b\xbc\x52" "\xc5\x7f\x38\x92\x81\x5c\xe9\x0b\x13\x4a\xb9\x44\x49\x99\x42\xb0\xee" "\x39\xfa\x0c\x63\x70\xfa\x3d\x1f\x05\xb8\x73\xdb\xa5\x25\xc4\x7a\x7d" "\x09\xd8\x16\xb9\xf1\x53\x30\x2a\xa6\xf7\x63\x67\x97\x05\xbf\x56\xc5" "\x97\x9c\xba\xa4\x30\xed\x25\x7f\x6f\x11\xc7\x94\xb5\xf7\x5a\x36\xd2" "\xf3\x2c\xd5\x05\xe4\xf4\xd4\x0e\x41\xe1\xab\xab\x4f\x28\xaa\xfe\x37" "\x35\x13\x74\xf8\x05\xd8\xfd\xab\x25\x0e\xfb\x9c\x2a\x44\xa5\x20\xde" "\xad\x55\xb1\xfd\x61\xf0\x0b\x2a\x0a\x94\xec\xf7\x56\x3e\x40\xb8\xad" "\xd0\x51\x8c\x35\x92\x60\x75\x6a\x05\xc6\xdc\x38\xbf\x49\x6d\xd7\x0a" "\x00\x70\x5d\x73\xab\xa7\xf9\x78\x6f\xf6\x7f\xbc\x09\xb9\xcf\x8f\x18" "\x6e\xb4\x1c\xf8\x0c\x68\xad\x6e\x61\xca\x42\x7f\x62\xb2\xf5\x17\xfa" "\x91\xed\x50\x67\x91\xec\xf7\x07\x71\xe0\x92\xb8\x74\xc3\x0f\xc7\xd4" "\x60\xf8\xb0\x04\xd1\xe7\x03\xa7\xbb\x1c\x41\x23\x1a\x40\xf1\x63\x7e" "\xb8\xb0\x06\x9e\x31\x30\x7c\x6e\x61\x6b\x92\xd9\xeb\x75\x1f\xd3\x5b" "\xae\xdf\x70\xf1\xfc\x3d\x43\xe1\x2c\x80\xb8\x5d\x5b\xd3\xf8\xfe\xdf" "\x31\x08\xb6\x42\x40\x69\x62\x91\x7c\xfa\xd4\x08\x77\x36\x23\x81\x9c" "\x08\x03\xcc\xa2\xb5\x7c\x08\x71\x58\xa0\x90\xc1\x8e\x4a\x6e\x4c\xbe" "\x67\xad\x19\x1d\x88\x92\x50\x6b\xc6\x93\xfd\xfb\x05\xc8\x23\xc8\x93" "\xe8\x9c\x5d\x17\x11\x9d\xf0\x30\x4e\xb1\x38\xc1\x28\x90\x69\x1f\x87" "\xc8\xb6\x0e\x4a\xfa\x50\x5b\x44\xa7\x9f\x09\x56\x4a\x1e\x7b\x78\x6b" "\x2b\x28\xcd\x41\xcd\x40\x2b\xef\xff\x2e\x87\xe2\x30\xb8\xf4\xe6\x55" "\x1e\x01\x13\x61\xa6\xfc\x2b\x14\xdc\x63\xb6\x27\xd9\x07\x19\x5f\xd8" "\x62\x45\x0a\x23\xea\x18\xfa\xea\x53\xba\x7b\x88\x3e\x19\xe1\x12\xf4" "\x5e\x5e\xa8\x0d\x78\x9c\xc2\x74\xd0\x20\x6d\xad\x5b\xd1\xd1\x63\xc6" "\xbc\x54\xae\x18\x7e\x75\xe4\x3a\x0d\xb5\x68\xbd\x77\xb4\xcf\x13\x04" "\x93\x1d\xf9\x82\xcd\xdb\xe1\x51\x18\xa6\x4a\x4f\x73\xd5\x42\x87\xcc" "\xb3\x11\x79\xa7\xdc\x42\x8c\x73\x77\xc7\xe7\x5c\x6b\x45\x2a\x25\x39" "\xe0\x36\x4f\x2c\xf5\x8b\x04\xe2\x27\xe9\xca\xec\x72\x04\x89\x5e\xf4" "\x6c\xf9\x87\xd9\x32\xdd\x59\xe6\x62\x9b\x58\x79\xd2\x66\xd5\x4a\xc0" "\x59\xb4\x99\x94\x3f\x42\x71\x1b\x35\xc8\x5c\xe0\xfa\xae\x31\x64\xe0" "\xd9\x3b\x64\x77\x2e\x28\xbb\x03\x79\x52\x6d\x67\x64\x02\xf2\x18\x86" "\xa9\x3b\xed\xab\x99\xf9\x04\x6f\xfe\x06\x08\xcf\x34\x61\x9e\xcd\xb8" "\x21\xcb\xd3\x00\x93\x84\x2c\x4b\x08\x6f\x82\xed\x41\x8a\x62\x7b\xa3" "\x3e\x2e\x3c\xe4\xa7\xef\xa7\x60\x1f\x83\x11\xc5\x49\x8c\xf3\x86\x58" "\x01\x3d\x38\xac\x6f\x82\x57\xf2\x66\x44\x04\x88\x56\x14\xc8\x8c\xd0" "\xbc\x84\x90\x1d\xfc\xea\xeb\x98\x0c\x37\xe3\xdd\x4c\xde\x43\x26\x0c" "\xf7\x66\x29\x3b\xd3\xa6\xdf\xa0\x18\x6a\xeb\xda\xa8\xaf\xf0\x86\x68" "\xb1\x07\x0c\x26\xab\x60\x41\x75\xae\x1f\x13\xa5\x61\xd3\x13\x7d\xd0" "\xd3\x9f\x64\x10\xdb\x5d\xf4\xa0\x10\x17\x34\xf9\x92\x16\x2f\x9b\x03" "\x48\x8f\x88\x4e\x05\xdc\x03\x59\x7a\x90\x77\x32\x44\xf8\x8b\x75\x93" "\xb4\xe1\xd4\x1d\x29\x46\x0a\x99\x31\x67\xec\x3b\xb0\xa4\x8a\xd5\xf8" "\xf8\x68\x2c\x3b\x64\x78\x86\x30\x7a\xc3\xa5\x81\x84\x87\x4a\x3a\x8c" "\xa4\xb1\xbd\x9f\xb5\xd7\xde\xb6\xb8\x1d\xe8\xc6\x09\xc0\xf6\x27\x87" "\x29\xeb\x61\x5a\xc1\xe2\x82\x5b\x20\x68\xa2\x77\xbc\xc4\x91\xbf\xf0" "\x55\xe2\x64\x8d\xa0\x0f\x16\x18\x2f\xcf\x73\x63\x7a\x43\xc4\x48\xf6" "\x67\x53\x2c\x08\x8a\xbf\xff\x7b\xd4\x05\x57\x75\x4f\xaf\xcb\x29\x71" "\x49\x86\xaa\xc6\x42\x71\xa8\x1e\xb6\x6e\x6a\x67\xf9\x52\x53\x5a\xaa" "\x73\xa0\x42\x5e\x8c\x2c\xb2\x78\x32\x0e\xcd\xdc\x2f\x2c\x12\xa3\x9e" "\x9f\x25\x73\x8e\x1c\xd4\xa7\x47\x8b\xf9\xd3\x01\xa5\xf2\x91\x00\xac" "\xd3\xbb\x9c\x9d\x4f\x3a\xc9\x93\xd6\x3f\x56\x6c\x74\x29\xfd\xe5\x83" "\x95\x45\x1f\x64\x2d\x27\xdf\xb3\xc5\x5e\x42\xe4\xb9\x5f\xcb\x0a\xcd" "\x3a\x1f\x16\x0d\x18\xd0\xf2\x63\xcf\x30\xb8\x7f\xe5\x50\xab\xe6\xdb" "\x89\x00\xd7\x81\xdb\x64\x68\x6d\xeb\x87\xb7\xa9\x41\x55\xc9\x0e\x0f" "\xfa\x02\x73\xd3\xb9\xa9\x5c\x47\x3d\xd2\xe7\xa7\x8e\xfd\x30\x2b\x8e" "\x6e\xc3\xcf\xb3\xc2\x13\x1f\x1c\x30\x7a\x36\xbb\xc1\x48\x25\x7a\x96" "\x53\xa3\xd3\x30\xed\x0e\x32\x4e\x78\xf5\x08\xe3\x5e\x6d\xc5\xcd\x43" "\xd4\xdf\xd1\xd3\x4c\xb1\x29\x3b\x51\x25\x4e\x41\x5a\xb1\xb7\xec\x7c" "\xf4\x24\x7d\x08\x9e\x1a\x9f\x5f\x38\x94\x22\x7e\xe4\xca\x92\x6d\x24" "\xa5\x9e\x9b\x10\x5a\x31\x60\x1d\xcf\x9a\x2f\xdc\x24\x68\x69\x04\xa0" "\x23\xeb\x60\x31\x7a\x2f\x8f\xde\x2c\xf1\xcc\x69\x33\x11\x73\xa9\x3e" "\x66\x39\x1c\x71\x42\x09\xcc\x8d\xcd\xff\xe3\x77\xf6\x97\x3c\x47\x16" "\xd1\x48\xa5\x45\xaf\xd4\x0e\x72\x51\x17\x8c\x23\x28\x61\x29\x72\x06" "\xb3\xd5\xfa\x21\x8d\x2a\xce\x14\x63\xe0\x93\xa3\x47\x30\xa2\x7f\x4f" "\x35\x77\x82\x6a\x48\x56\x18\x24\x7d\xbb\x6c\xc2\x48\x29\xb4\xeb\xd6" "\x7b\xf9\x0b\xd6\x29\x75\x4e\x79\xae\x61\x43\x93\x5b\x59\x8b\x25\x40" "\xef\x45\xd6\xd2\x65\xac\x1a\xc3\x41\x07\xa4\x37\x45\xaf\x8e\x75\x14" "\xab\x51\x48\x98\xb7\x9a\x8f\x44\xb6\xb7\x76\xc9\x8d\xf4\x4c\x77\xa3" "\xc6\x3e\x8e\x14\x14\x20\x9f\x27\xc4\x6d\xfe\x71\xa1\xb1\x23\xac\x79" "\x5f\xb5\x4b\xdf\xf1\x5e\x51\xa9\xf8\x4d\x02\x5a\xe8\x6f\x92\xae\xb5" "\xff\xa2\x63\x93\x56\xca\x6f\xa5\xd4\x31\x58\x40\xa9\xcb\x36\xdd\x9a" "\x10\xc6\xb6\x36\xf7\xc6\x9c\x75\x31\xf9\x06\x07\x78\x45\xd9\x42\x76" "\x80\x3f\x3c\xe0\x68\xd0\xeb\x7e\x2d\xbc\x1b\x14\xdb\xc4\x96\x01\xa1" "\xe9\xb3\x80\xea\x3e\x37\x8b\xd1\xeb\x42\xac\xb6\xf3\x62\xbe\xdd\x98" "\xdc\x36\x99\x2b\x28\xb2\xc0\x00\x33\x4c\x11\xf3\x51\x83\x2e\xa2\x49" "\x82\x99\x3f\xac\x27\x8e\x2a\xf2\x34\xff\x35\x32\x25\xb3\xf1\xb7\x0a" "\x7c\x27\x45\xda\xc1\xf2\x62\xd4\xd6\xb8\x67\x60\x1d\x15\xe6\x91\xd3" "\x84\x71\xd3\x4e\xd9\x2f\x44\x7c\x32\x58\xd5\xdb\x6f\x5f\xc3\x77\xab" "\x8e\x58\x78\x1f\x08\x54\x56\x93\xf9\x9b\x51\x19\xc7\xd9\x1e\xc8\x28" "\xde\x92\x8c\xb2\x3e\x75\xf0\xd7\xd4\x5a\x08\x1a\xcd\x33\x92\xfc\x41" "\x31\xb8\xd2\xa3\xd3\xeb\xce\xd5\xe9\x0e\x7b\x5d\x18\x2a\x8d\x41\x8c" "\xe5\x91\x12\x3b\xa6\x9c\xd8\xc8\xbc\x72\xaa\x3a\xfb\xaf\x86\x94\xb0" "\xff\xee\xc0\xab\xd8\xbc\x21\x69\x73\x0c\x31\x15\x80\xcb\x5a\x54\xb7" "\x86\x54\x6f\xff\x06\x22\x02\x89\x97\x09\x11\x20\x3c\x2e\x37\xab\x03" "\xd0\x79\xb7\xc1\x23\xe1\xfc\xce\x53\xd7\x10\x9c\x10\xc6\x25\xb1\xc9" "\x4e\x06\xfd\xd7\xd9\xc4\x60\xf7\x9c\x89\x4e\xaf\x2e\xa3\x0c\x2f\xfe" "\xef\xc9\x35\x39\xd2\xad\x37\xe3\xcf\xd1\x17\xdb\xd5\xee\xeb\x9b\x0a" "\xc2\xf0\x79\x7b\x94\x39\xab\x55\xd5\xfd\x03\xd4\x42\x97\x5b\xe7\x5a" "\x47\x73\xa2\x0b\x11\x21\x4f\xd1\xcf\xd8\xa2\xf7\x9d\xdb\x9c\x18\xdc" "\x05\x52\x20\x6b\x71\xf5\xe1\xcc\x27\xb4\x51\xbb\xb1\xf6\xd5\x91\x97" "\x41\x38\x7d\xd7\xfd\x10\x5a\x4e\xfe\x64\x77\xa0\x61\x15\x53\xe1\x64" "\x5c\xa1\xb6\x70\x26\x5e\x4a\xeb\x3b\x59\x7a\xcc\x86\xc8\x87\x21\xa4" "\x18\xaf\x75\xbd\xcf\xca\xd5\xc0\x41\x9b\x85\xaa\x34\xfd\xe6\xb9\xdd" "\x84\xad\xac\x25\x74\x27\x71\x9f\x2e\xe9\x44\x51\xd0\x93\xdc\xcc\x16" "\xc6\x2e\xb8\xb1\xb4\x2b\xd3\x3a\x5d\x8b\x09\x75\xbe\x66\x75\x2f\x22" "\x59\x3e\xb0\x5b\x4d\x6e\x52\x15\x40\x3e\x5f\xa9\x3e\xb8\x93\xc4\x77" "\x70\xc1\x96\xff\x94\x9f\x54\x02\xe7\x5c\xb8\xb9\xc3\x51\x47\xff\x84" "\x95\xb1\x1f\xdf\x3b\x89\x13\xcf\x60\xf9\xba\xc0\x0c\x43\x54\xcb\x43" "\x85\x0e\x60\x12\xc3\x64\xe0\x49\xcb\x9c\x7f\x38\xc9\x56\xc6\x7c\xe1" "\xe1\x54\x68\xd3\xdf\x9a\xc5\x49\xba\x39\x88\x61\x56\xb4\xb1\xa2\xf3" "\x59\xe8\x9d\x34\x7d\x90\xa4\x45\xf8\x08\xc3\xe6\x18\x09\xd2\xfb\xdb" "\x3e\x9c\x80\xab\x38\x1c\x58\xbb\x51\x27\xaf\x8e\x9e\x73\x7a\xdf\x95" "\xaa\x0a\x8d\x77\x41\x76\xe4\x7c\x93\x5d\x46\x2b\x87\x27\x37\x83\x53" "\xa4\x52\x35\x2f\x33\x0a\x03\x38\x4a\x21\x74\xa7\x9b\x80\x25\x70\xfb" "\x7b\xe7\x9a\x67\x78\x0f\x92\xf0\x82\xf2\x84\x1c\x56\x53\x27\x7c\x09" "\x3b\x57\xfb\x18\xb9\x74\x50\xc9\x3c\xb9\x63\x07\xbb\x53\x5a\x68\xe7" "\x62\xb0\xde\x51\x09\x56\x50\x04\x1a\x35\x41\x11\xb0\x28\xcc\x89\xd8" "\x2b\xf9\x17\xe8\x69\x2d\x65\xc2\x31\x15\x9c\xf1\x4c\xc5\x05\x67\x89" "\x75\x04\x2e\xa3\x7a\xeb\xdf\xb1\x85\xd8\x9c\x26\x94\xe7\x7d\xd0\xf8" "\x15\x10\x7f\x97\x67\x20\xde\x64\x01\xed\xc7\xdc\x2e\x07\x2d\x07\xf4" "\xc8\x86\x2f\xeb\xfd\xc5\x1e\x25\xbe\x8c\x2e\x52\xf8\x58\xa5\x21\x56" "\xb1\x84\x31\xe5\x5b\x83\xa0\x77\xc9\x31\xf5\x69\x25\x65\xfe\x6d\x85" "\x69\xd2\x95\x6c\xb7\xfb\xff\x72\x17\xcd\xed\x8c\x3d\x35\x25\x96\xd8" "\xb3\xd9\x2e\x51\x38\x10\x65\x83\x2f\x23\x71\x65\x4f\x64\xbc\x74\xd4" "\x98\xdb\xa1\x5a\xad\x14\x7e\xa7\x22\xe9\x65\xa7\x16\x5b\xe2\x79\xbb" "\x57\xd1\x2c\x3d\x2e\xe8\xb5\x92\x7d\x4c\x35\xca\x93\x0e\x87\x54\x76" "\xdf\x28\xbe\x87\x43\xf8\xed\xbc\x70\x85\x4a\x4f\xcc\xa9\x1c\x0d\xa1" "\x77\x17\x65\x3d\x1e\xe3\x57\x53\x6a\xd7\xbb\x60\x8d\x8d\x34\x26\xb7" "\x51\xcb\x74\x00\x83\x72\x8c\x65\x48\xed\xb2\xfe\xb2\xdc\x96\x36\x8a" "\x75\xa6\xdb\xcc\x38\x45\x2b\x3f\x67\x82\xcc\x77\x78\x14\x38\xe7\x93" "\xdd\x78\xb5\xee\x3e\x89\xab\xa2\xb6\xa7\xa4\x4d\x6a\x5d\x51\xfe\x55" "\xce\x9b\x4e\x98\xa2\x07\x23\x7e\x6d\x49\xe8\x61\xf7\x84\x88\x93\x3b" "\x94\x99\x93\xae\x23\x20\x32\x26\xf2\x05\xd1\x4b\xd4\xa1\xa1\x48\x1d" "\x12\xd6\x4f\xec\xe5\x6d\x01\xa8\x5a\x8d\xfc\xf7\x38\xbf\x68\x10\x78" "\xab\xc5\xd5\xfd\x7b\x1c\xe3\x7d\x8d\x22\xf0\x79\x2c\xe7\x07\xe9\x42" "\xee\xf6\xdd\xa6\x4c\xb9\xdc\x8f\x5b\xd6\x7e\x5f\x1d\x67\x84\x04\x05" "\x05\x23\xd5\x2e\x4f\x74\x65\x80\x3b\x11\x6e\x92\xae\x9a\x0f\x15\x47" "\xb5\xfc\x70\x6c\x3f\xd5\x4f\x26\x40\x50\x53\x9a\x81\xd5\xdb\xbc\x3d" "\x50\x3f\x93\xd6\x08\x3d\xa6\x33\x6f\xfe\x87\xcb\x11\xeb\xe1\x4a\x0a" "\x00\x24\x79\x5d\x3b\x7c\x62\x36\x16\x0b\xef\x88\x2b\x7d\x1d\x6d\x28" "\xff\x6b\x15\xff\xe5\xb6\x8a\x3d\x0e\x98\x18\x88\x01\x55\x0c\x3e\xc6" "\x29\xaa\xe6\x6c\x7b\x8d\x91\xf3\x4b\x10\x10\xac\x3a\x55\xa5\x86\xe8" "\x15\x33\x2a\xa5\xe3\xfc\xb1\xb1\x0e\xb8\x84\xce\xe4\x7d\xc9\xfc\x49" "\x2b\x8b\xe7\xc5\x36\xd8\xa3\x63\x96\xbf\xa3\xff\xe5\x9c\xed\x46\xe9" "\x1c\x31\x15\x3f\x9c\x03\xab\x55\xbb\x0e\x6a\x94\xdf\x06\x45\x6a\x16" "\x25\x3b\xf0\x95\x05\xc1\xa7\x81\xf4\x18\x25\xc0\xd1\x60\xb2\x6d\x64" "\x24\x81\xbd\xad\xf6\x01\x6f\xc3\xac\x88\xa3\x7f\x8c\x07\xdd\xfc\x37" "\x72\x26\x57\x9f\xc0\x51\x95\xc2\xf2\xe7\x28\x7d\x0b\x01\x11\xff\xd5" "\xb2\x79\x16\x26\x0c\x6a\x4c\xb9\x4d\x2a\x89\x24\xf0\x26\xd6\xd1\x7b" "\x28\x15\x0f\x9a\x0e\x59\x15\x9c\x29\x7f\xfd\xf7\x72\x1f\x59\xcf\x88" "\x87\x3d\xb5\x57\xf0\x00\x38\x39\xd0\xb4\x9e\xf9\xb4\x83\xe3\x1f\xa2" "\xb6\x3e\xc0\x1a\x60\xaf\xc0\x98\xe2\xb5\x3f\x66\xc2\xce\x45\xd6\x0d" "\x5b\x55\x27\xef\x63\x91\x86\x16\xa8\x07\x9b\x46\xbe\xa8\xb1\xf7\x7f" "\x75\x1b\xbf\xa1\x81\xdb\xc7\x9b\xec\x45\xb7\xdd\x0f\x85\x03\x7e\x36" "\x29\x2f\xf1\x18\xae\xa4\x64\x3b\x1b\xed\xcf\x80\xe1\x21\x6b\x78\xb2" "\x2b\xde\x89\x7a\x4a\x03\x59\x90\x3d\x44\x13\xe4\x50\xb2\xac\x09\x6a" "\xed\x1d\x90\xd3\x8c\x13\x08\x82\x96\xb3\xb9\x6f\x39\x85\x86\xf1\x99" "\x49\xc9\x22\xaf\x9d\x71\xf6\xb7\x59\x4a\x7d\x96\x16\x0d\xea\x11\x3d" "\xe4\x15\xa6\x41\x73\xd1\x88\xef\xe6\x33\x4e\x5d\x82\xbe\xac\x1b\x34" "\x5a\x90\x0e\x16\xe9\xa8\x3d\xf2\xc8\x53\x33\x77\x97\xc0\x3e\x47\xf4" "\xfe\x9a\xd9\x38\x29\x01\xaa\xc1\xb1\x9e\x87\x25\xec\xb1\x32\x82\x98" "\xff\xda\xce\x6d\xe1\x3b\x8b\x3a\x90\x7b\x6c\x9b\x9f\xf9\x1f\x39\xb0" "\x5c\x11\x3d\x2e\x33\x40\x51\x3c\x6d\xc8\x96\x44\xf7\xa4\x6c\x1a\x1b" "\x1a\xc9\x79\xc2\x76\x7c\xb1\x23\x4f\x26\x0e\xe0\xcf\xd7\x76\x11\x83" "\x48\x3e\xde\x5f\x14\xbe\x68\xfe\x96\xe4\x61\x13\x99\x96\x02\xa3\x0a" "\xc1\x54\x55\x76\x1d\xda\xd0\x8d\xb0\x61\x66\x91\xd4\xea\xd5\x47\x0e" "\x11\x33\xe0\x6c\xff\x94\x4e\xa2\x96\x21\xb3\xf3\xc7\x50\xd2\x7b\xc1" "\xaa\xda\xbd\x2d\x63\x49\x11\xb7\x1c\x6b\x49\x7b\xfb\x5b\x61\xf4\xf9" "\x2e\x8d\x7b\x1a\xf5\x35\xdc\x5a\xb8\x4a\x4f\xb8\x59\x94\xf7\x9e\xdc" "\xec\x76\xc3\x19\x2f\x7e\xd3\xff\x5b\x54\x56\x30\x88\xd4\x5b\x00\xfa" "\x53\x0c\xac\x7e\x3a\x9f\x1e\x90\x22\x22\xd7\x11\x6e\xd7\xfe\x12\xc5" "\x6b\x08\x6e\xe5\x51\xc8\x63\x76\xf7\xc2\x48\x18\xe9\x74\x87\xda\x59" "\xde\x53\x9e\xcb\xe5\xfa\xa6\xb7\x1c\xa5\xc9\x01\x24\x36\xf6\xf3\x30" "\x6f\x98\xf0\x63\xff\xf1\x0b\x78\x8c\x34\x06\xba\xe6\x56\xa0\xc1\x19" "\x7a\x8b\x49\x16\x40\xfb\x9d\x99\xdb\xc8\x7e\x59\x5d\xa7\x37\x09\x57" "\xb0\xbc\xc6\x25\x21\xd9\x30\x69\x70\xe5\xc1\x5b\x76\x02\xd6\x3d\x2d" "\xab\x88\xd7\xe7\xd0\x41\x89\xac\x16\xbd\xdc\x4e\x4e\x96\x98\x9e\xfe" "\x25\x90\xcd\x1a\x7e\xf2\xe8\xc6\x8f\x35\x02\x55\xb1\xd3\x23\xc4\x1d" "\xad\x0e\xc3\x4b\xe6\xb7\x0f\x35\xb9\x36\xc4\xe0\x70\x82\x8b\x32\x50" "\xf3\xbe\x2c\x10\x81\x19\x7b\x97\xc0\x3d\x6d\xf8\xfc\x01\xec\xb5\xae" "\x87\xf3\x94\x9a\x6e\x7e\x53\x48\x05\xdb\x4e\x78\x39\xd5\x87\x97", 4096)); NONFAILING(*(uint16_t*)0x20007fc4 = 0x1000); syscall(__NR_write, /*fd=*/r[0], /*data=*/0x20006fc0ul, /*len=*/0x1006ul); break; } } 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); setup_sysctl(); setup_cgroups(); const char* reason; (void)reason; if ((reason = setup_binfmt_misc())) printf("the reproducer may not work as expected: binfmt_misc setup failed: " "%s\n", reason); if ((reason = setup_usb())) printf("the reproducer may not work as expected: USB injection setup " "failed: %s\n", reason); if ((reason = setup_802154())) printf("the reproducer may not work as expected: 802154 injection setup " "failed: %s\n", reason); install_segv_handler(); use_temporary_dir(); do_sandbox_none(); return 0; }