// https://syzkaller.appspot.com/bug?id=f34aaaca22b6590b45be3c10114cf04f402cfdc0 // 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 #ifndef __NR_memfd_create #define __NR_memfd_create 319 #endif static unsigned long long procid; 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 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_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 struct nlmsg nlmsg; //% 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 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 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); } } static void setup_test() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setpgrp(); write_file("/proc/self/oom_score_adj", "1000"); if (symlink("/dev/binderfs", "./binderfs")) { } } #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 < 4; 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)); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); #define WAIT_FLAGS __WALL static void loop(void) { 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[1] = {0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: memcpy((void*)0x200000001500, "exfat\000", 6); memcpy((void*)0x200000000040, "./file1\000", 8); *(uint64_t*)0x200000000400 = 0; memcpy( (void*)0x200000003fc0, "\x78\x9c\xec\xdd\x0b\x98\x4e\x55\xdb\x38\xf0\x75\xaf\xb5\x36\x63\x9a" "\x78\x9a\xe4\x30\xac\x7b\xdd\x9b\x27\x0d\x96\x49\x92\x1c\x92\xe4\x90" "\x24\x49\x92\xe4\x94\x90\x34\x49\x92\x90\x18\x72\x4a\x42\x12\x72\x9c" "\x24\x87\x21\x24\x87\x89\x49\xe3\x7c\x3e\xe4\x9c\x34\x79\x25\x49\x12" "\x92\x53\x58\xff\x6b\xea\xed\xf5\xbe\x5f\xef\xf7\xf7\x9e\xbe\xcf\xf7" "\xbe\x73\xff\xae\x6b\x5f\xcf\xba\xaf\xbd\xef\x7b\xaf\xfd\xdc\xcf\x33" "\xcf\xde\xfb\x9a\x99\xe7\xbb\xae\xc3\x6b\x35\xa9\x5d\xbd\x11\x11\x89" "\x7f\x0a\xfc\xfa\x90\x22\x84\x88\x11\x42\x0c\x12\x42\xe4\x13\x42\x04" "\x42\x88\xf2\xf1\xe5\xe3\xb3\xd7\xe7\x51\x90\xf2\xcf\xed\x84\xfd\x6b" "\x3d\x9c\x76\xb5\x67\xc0\xae\x26\xee\x7f\xce\xc6\xfd\xcf\xd9\xb8\xff" "\x39\x1b\xf7\x3f\x67\xe3\xfe\xe7\x6c\xdc\xff\x9c\x8d\xfb\x9f\xb3\x71" "\xff\x19\xcb\xc9\xb6\xce\x2c\x7c\x1d\x2f\x39\x77\xf9\xe7\xef\xff\xc7" "\xfc\xfa\xc0\xf7\xff\xff\x0d\xf1\xe7\x7f\xce\xc6\xfd\xff\x4f\x73\x2a" "\xcf\xdf\xb3\x35\xf7\xff\x3f\xc9\x25\xef\xfd\xdf\x97\xc1\xfd\xcf\xd9" "\xb8\xff\x39\x1b\xf7\x3f\x67\xe3\xfe\xe7\x6c\xdc\xff\x9c\x8d\xfb\xcf" "\x58\x4e\x76\xb5\xef\x3f\xf3\x72\x75\x97\xab\xfd\xfa\x63\x8c\x31\xc6" "\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63" "\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31" "\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18" "\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c" "\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6" "\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63" "\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31" "\xc6\x18\x63\x8c\x31\x96\x33\x9c\xf5\x97\x69\x21\xc4\x6f\xe3\xab\x3d" "\x2f\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\xfd\xeb\xf8\xdc\x57\x7b\x06" "\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\xfb\x9f\x07\x42\x0a\x25\xb4\x08" "\x44\x2e\x91\x5b\xc4\x88\x3c\x22\x56\x5c\x23\xe2\xc4\xb5\x22\xaf\xc8" "\x27\x22\xe2\x3a\x11\x2f\xae\x17\xf9\xc5\x0d\xa2\x80\x28\x28\x0a\x89" "\xc2\x22\x41\x14\x11\x45\x85\x11\x28\xac\x20\x11\x8a\x62\xa2\xb8\x88" "\x8a\x1b\x45\x09\x71\x93\x48\x14\x25\x45\x29\x51\x5a\x38\x51\x46\x24" "\x89\x9b\x45\x59\x71\x8b\x28\x27\x6e\x15\xe5\xc5\x6d\xa2\x82\xb8\x5d" "\x54\x14\x95\x44\x65\x51\x45\xdc\x21\xaa\x8a\x3b\x45\x35\x71\x97\xa8" "\x2e\xee\x16\x35\x44\x4d\x51\x4b\xd4\x16\xf7\x88\x3a\xe2\x5e\x51\x57" "\xdc\x27\xea\x89\xfb\x45\x7d\xf1\x80\x68\x20\x1e\x14\x0d\xc5\x43\xa2" "\x91\x78\x58\x34\x16\x8f\x88\x26\xe2\x51\xd1\x54\x3c\x26\x9a\x89\xe6" "\xa2\x85\x68\x29\x5a\xfd\x43\xf9\x2f\x89\x9e\xe2\x65\xd1\x4b\xf4\x16" "\x29\xa2\x8f\xe8\x2b\x5e\x11\xfd\x44\x7f\x31\x40\x0c\x14\x83\xc4\xab" "\x62\xb0\x78\x4d\x0c\x11\xaf\x8b\xa1\x62\x98\x18\x2e\xde\x10\x23\xc4" "\x9b\x62\xa4\x78\x4b\x8c\x12\xa3\xc5\x18\xf1\xb6\x18\x2b\xc6\x89\xf1" "\x62\x82\x98\x28\x26\x89\x54\xf1\x8e\x98\x2c\xde\x15\x53\xc4\x7b\x62" "\xaa\x98\x26\xa6\x8b\x19\x22\x4d\xcc\x14\xb3\xc4\xfb\x62\xb6\x98\x23" "\xe6\x8a\x0f\xc4\x3c\xf1\xa1\x98\x2f\x16\x88\x85\x62\x91\x48\x17\x1f" "\x89\xc5\x62\x89\xc8\x10\x1f\x8b\xa5\xe2\x13\x91\x29\x96\x89\xe5\x62" "\x85\x58\x29\x56\x89\xd5\x62\x8d\x58\x2b\xd6\x89\xf5\x62\x83\xd8\x28" "\x36\x89\xcd\x62\x8b\xd8\x2a\x3e\x15\xdb\xc4\x76\xb1\x43\xec\x14\xbb" "\xc4\x6e\xb1\x47\x7c\x26\xf6\x8a\xcf\xc5\x3e\xf1\x85\xc8\x12\x5f\xfe" "\x9d\xf9\x67\xfe\x4b\x7e\x37\x10\x20\x40\x82\x04\x0d\x1a\x72\x41\x2e" "\x88\x81\x18\x88\x85\x58\x88\x83\x38\xc8\x0b\x79\x21\x02\x11\x88\x87" "\x78\xc8\x0f\xf9\xa1\x00\x14\x80\x42\x50\x08\x12\x20\x01\x8a\x42\x51" "\x40\x40\x20\x20\x28\x06\xc5\x20\x0a\x51\x28\x01\x25\x20\x11\x12\xa1" "\x14\x94\x02\x07\x0e\x92\x20\x09\xca\xc2\x2d\x50\x0e\xca\x41\x79\x28" "\x0f\x15\xa0\x02\x54\x84\x4a\x50\x09\xaa\x40\x15\xa8\x0a\x55\xa1\x1a" "\x54\x83\xea\x50\x1d\x6a\x40\x0d\xa8\x05\xb5\xe0\x1e\xb8\x07\xee\x85" "\xba\x50\x17\xea\x41\x3d\xa8\x0f\xf5\xa1\x01\x34\x80\x86\xd0\x10\x1a" "\x41\x23\x68\x0c\x8d\xa1\x09\x34\x81\xa6\xd0\x14\x9a\x41\x33\x68\x01" "\x2d\xa0\x15\xb4\x82\xd6\xd0\x1a\xda\x40\x1b\x68\x07\xed\xa0\x3d\xb4" "\x87\x0e\xd0\x01\x92\x21\x19\x3a\x42\x47\xe8\x04\x9d\xa0\x33\x74\x86" "\x2e\xd0\x05\xba\x42\x57\xe8\x06\xdd\xa1\x3b\xbc\x04\x2f\xc1\xcb\xf0" "\x32\xf4\x86\x1a\xb2\x0f\xf4\x85\xbe\xd0\x0f\xfa\xc1\x00\x18\x08\x03" "\xe1\x55\x18\x0c\xaf\xc1\x6b\xf0\x3a\x0c\x85\x61\x30\x1c\xde\x80\x37" "\xe0\x4d\x18\x09\xa7\x61\x14\x8c\x86\x31\x30\x06\xaa\xca\x71\x30\x1e" "\x26\x00\xc9\x49\x90\x0a\xa9\x30\x19\x26\xc3\x14\x98\x02\x53\x61\x1a" "\x4c\x83\x19\x90\x06\x33\x61\x16\xcc\x82\xd9\x30\x07\xe6\xc0\x07\x30" "\x0f\x3e\x84\x0f\x61\x01\x2c\x80\x45\x90\x0e\xe9\xb0\x18\x96\x40\x06" "\x64\xc0\x52\x38\x03\x99\xb0\x0c\x96\xc3\x0a\x58\x09\xab\x60\x25\xac" "\x81\xb5\xb0\x06\xd6\xc3\x06\x58\x0f\x9b\x60\x13\x6c\x81\x2d\xf0\x29" "\x7c\x0a\xdb\x61\x3b\xec\x84\x9d\xb0\x1b\x76\xc3\x67\xf0\x19\x7c\x0e" "\x9f\xc3\x50\xc8\x82\x2c\xd8\x0f\xfb\xe1\x00\x1c\x80\x83\x70\x10\x0e" "\xc1\x21\x38\x0c\x87\xe1\x08\x1c\x81\xa3\x70\x14\x8e\xc1\x31\x38\x0e" "\x27\xe0\x24\x9c\x80\x53\x70\x0a\x4e\xc3\x19\x38\x0b\x67\xe1\x3c\x9c" "\x87\x0b\x70\x01\x2e\xc1\xa5\xec\x37\xbf\xcc\xa6\xa5\x96\xb9\x64\x2e" "\x19\x23\x63\x64\xac\x8c\x95\x71\x32\x4e\xe6\x95\x79\x65\x44\x46\x64" "\xbc\x8c\x97\xf9\xe5\x23\xb2\x80\x2c\x20\x0b\xc9\x42\x32\x41\x26\xc8" "\xa2\xb2\xa8\x44\x89\x92\x64\x28\x8b\xc9\x62\x32\x2a\xa3\xb2\x84\x2c" "\x21\x13\x65\xa2\x2c\x25\x4b\x49\x27\x9d\x4c\x92\x49\xb2\xac\x2c\x2b" "\xcb\xc9\x72\xb2\xbc\xbc\x4d\x56\x90\xb7\xcb\x8a\xb2\x92\x6c\xeb\xaa" "\xc8\x2a\xb2\xaa\x6c\xe7\xaa\xc9\xbb\x64\x75\x59\x5d\xd6\x90\x35\x65" "\x2d\x59\x5b\xd6\x96\x75\x64\x1d\x59\x57\xd6\x95\xf5\x64\x3d\x59\x5f" "\xd6\x97\x0d\xe4\x83\xb2\xa1\xec\x03\x03\xe0\x61\x99\xdd\x99\x26\x72" "\x18\x34\x95\xc3\xa1\x99\x6c\x2e\x5b\xc8\x96\xf2\x4d\x78\x5c\xb6\x96" "\x23\xa1\x8d\x6c\x2b\xdb\xc9\x27\xe5\x68\x18\x05\x1d\x64\x6b\x97\x2c" "\x9f\x91\x1d\xe5\x78\xe8\x24\x9f\x93\x13\xe0\x79\xd9\x45\x4e\x82\xae" "\xf2\x45\xd9\x4d\x76\x97\x3d\xe4\x4b\xb2\xa7\x6c\xe3\x7a\xc9\xde\x72" "\x2a\xf4\x91\x7d\xe5\x0c\xe8\x27\xfb\xcb\x01\x72\xa0\x9c\x0d\x35\x65" "\x76\xc7\x6a\xc9\xd7\xe5\x50\x39\x4c\x0e\x97\x6f\xc8\x45\xf0\xa6\x1c" "\x29\xdf\x92\xa3\xe4\x68\x39\x46\xbe\x2d\xc7\xca\x71\x72\xbc\x9c\x20" "\x27\xca\x49\x32\x55\xbe\x23\x27\xcb\x77\xe5\x14\xf9\x9e\x9c\x2a\xa7" "\xc9\xe9\x72\x86\x4c\x93\x33\xe5\x2c\xf9\xbe\x9c\x2d\xe7\xc8\xb9\xf2" "\x03\x39\x4f\x7e\x28\xe7\xcb\x05\x72\xa1\x5c\x24\xd3\xe5\x47\x72\xb1" "\x5c\x22\x33\xe4\xc7\x72\xa9\xfc\x44\x66\xca\x65\x72\xb9\x5c\x21\x57" "\xca\x55\x72\xb5\x5c\x23\xd7\xca\x75\x72\xbd\xdc\x20\x37\xca\x4d\x72" "\xb3\xdc\x22\xb7\xca\x4f\xe5\x36\xb9\x5d\xee\x90\x3b\xe5\x2e\xb9\x5b" "\xee\x91\x9f\xc9\xbd\xf2\x73\xb9\x4f\x7e\x21\xb3\xe4\x97\x72\xbf\xfc" "\x83\x3c\x20\xbf\x92\x07\xe5\xd7\xf2\x90\xfc\x46\x1e\x96\xdf\xca\x23" "\xf2\x3b\x79\x54\x7e\x2f\x8f\xc9\x1f\xe4\x71\x79\x42\x9e\x94\x3f\xca" "\x53\xf2\x27\x79\x5a\x9e\x91\x67\xe5\x39\x79\x5e\xfe\x2c\x2f\xc8\x8b" "\xf2\x92\xf4\x52\x28\x50\x52\x29\xa5\x55\xa0\x72\xa9\xdc\x2a\x46\xe5" "\x51\xb1\xea\x1a\x15\xa7\xae\x55\x79\x55\x3e\x15\x51\xd7\xa9\x78\x75" "\xbd\xca\xaf\x6e\x50\x05\x54\x41\x55\x48\x15\x56\x09\xaa\x88\x2a\xaa" "\x8c\x42\x65\x15\xa9\x50\x15\x53\xc5\x55\x54\xdd\xa8\x4a\xa8\x9b\x54" "\xa2\x2a\xa9\x4a\xa9\xd2\xca\xa9\x32\x2a\x49\xdd\xac\xca\xaa\x5b\x54" "\x39\x75\xab\x2a\xaf\x6e\x53\x15\xd4\xed\xaa\xa2\xaa\xa4\x2a\xab\x2a" "\xea\x0e\x55\x55\xdd\xa9\xaa\xa9\xbb\x54\x75\x75\xb7\xaa\xa1\x6a\xaa" "\x5a\xaa\xb6\xba\x47\xd5\x51\xf7\xaa\xba\xea\x3e\x55\x4f\xdd\xaf\xea" "\xab\x07\x54\x03\xf5\xa0\x6a\xa8\x1e\x52\x8d\xd4\xc3\xaa\xb1\x7a\x44" "\x35\x51\x8f\xaa\xa6\xea\x31\xd5\x4c\x35\x57\x2d\x54\x4b\xd5\x4a\x3d" "\xae\x5a\xab\x27\x54\x1b\xd5\x56\xb5\x53\x4f\xaa\xf6\xea\x29\xd5\x41" "\x3d\xad\x92\xd5\x33\xaa\xa3\x7a\x56\x75\x52\xcf\xa9\xce\xea\x79\xd5" "\x45\xbd\xa0\xba\xaa\x17\x55\x37\xd5\x5d\xf5\x50\x17\xd5\x25\xe5\x55" "\x2f\xd5\x5b\xa5\xa8\x3e\xaa\xaf\x7a\x45\xf5\x53\xfd\xd5\x00\x35\x50" "\x0d\x52\xaf\xaa\xc1\xea\x35\x35\x44\xbd\xae\x86\xaa\x61\x6a\xb8\x7a" "\x43\x8d\x50\x6f\xaa\x91\xea\x2d\x35\x4a\x8d\x56\x63\xd4\xdb\x6a\xac" "\x1a\xa7\xc6\xab\x09\x6a\xa2\x9a\xa4\x52\xd5\x3b\x6a\xb2\x7a\x57\x4d" "\x51\xef\xa9\xa9\x6a\x9a\x9a\xae\x66\xa8\x34\x35\x53\x0d\xf8\x63\xa5" "\xb9\x7f\x43\xfe\xbb\x7f\x25\x7f\xc8\x2f\x7b\xdf\xa2\xb6\xaa\x4f\xd5" "\x36\xb5\x5d\xed\x50\x3b\xd5\x2e\xb5\x5b\xed\x51\x7b\xd4\x5e\xb5\x57" "\xed\x53\xfb\x54\x96\xca\x52\xfb\xd5\x7e\x75\x40\x1d\x50\x07\xd5\x41" "\x75\x48\x1d\x52\x87\xd5\x61\x75\x44\x1d\x51\x47\xd5\x51\x75\x4c\x1d" "\x53\xc7\xd5\x09\x75\x4e\xfd\xa8\x4e\xa9\x9f\xd4\x69\x75\x46\x9d\x51" "\xe7\xd4\x79\x75\x5e\x5d\xf8\xe3\x73\x20\x34\x68\xa9\x95\xd6\x3a\xd0" "\xb9\x74\x6e\x1d\xa3\xf3\xe8\x58\x7d\x8d\x8e\xd3\xd7\xea\xbc\x3a\x9f" "\x8e\xe8\xeb\x74\xbc\xbe\x5e\xe7\xd7\x37\xe8\x02\xba\xa0\x2e\xa4\x0b" "\xeb\x04\x5d\x44\x17\xd5\x46\xa3\xb6\x9a\x74\xa8\x8b\xe9\xe2\x3a\xaa" "\x6f\xd4\x25\xf4\x4d\x3a\x51\x97\xd4\xa5\x74\x69\xed\x74\x19\x9d\xa4" "\x6f\xfe\xa7\xf3\xaf\x34\xbf\x56\xba\x95\x6e\xad\x5b\xeb\x36\xba\x8d" "\x6e\xa7\xdb\xe9\xf6\xba\xbd\xee\xa0\x3b\xe8\x64\x9d\xac\x3b\xea\x8e" "\xba\x93\xee\xa4\x3b\xeb\xce\xba\x8b\xee\xa2\xbb\xea\xae\xba\x9b\xee" "\xa6\x7b\xe8\x1e\xba\xa7\xee\xa9\xbd\x10\x22\x45\xa7\xe8\xbe\xfa\x15" "\xdd\x4f\xf7\xd7\x03\xf4\x40\x3d\x48\xbf\xaa\x07\xeb\xc1\x7a\x88\x1e" "\xa2\x87\xea\xa1\x7a\xb8\x1e\xae\x47\xe8\x11\x7a\xa4\x1e\xa9\x47\xe9" "\x51\x7a\x8c\x1e\xa3\xc7\xea\xb1\x7a\xbc\x1e\xaf\x27\xea\x89\x3a\x55" "\xa7\xea\xc9\x7a\xb2\x9e\xa2\xa7\xe8\xa9\x7a\xaa\x9e\xae\xa7\xeb\x34" "\x9d\xa6\x67\xe9\x59\x7a\xb6\x9e\xad\xe7\xea\xb9\x7a\x9e\x9e\xa7\xe7" "\xeb\xf9\x7a\xa1\x5e\xa8\xd3\x75\xba\x5e\xac\x17\xeb\x0c\x9d\xa1\x97" "\xea\xa5\x3a\x53\x2f\xd3\xcb\xf4\x0a\xbd\x42\xaf\xd2\xab\xf4\x1a\xbd" "\x46\xaf\xd3\xeb\xf4\x06\xbd\x41\x6f\xd2\x9b\x74\xa6\xfe\xed\x17\x34" "\x77\xe8\x1d\x7a\x97\xde\xa5\xf7\xe8\x3d\x7a\xaf\xde\xab\xf7\xe9\x7d" "\x3a\x4b\x67\xe9\xfd\x7a\xbf\x3e\xa0\x0f\xe8\x83\xfa\xa0\x3e\xa4\x0f" "\xe9\xc3\xfa\xb0\x3e\xa2\x8f\xe8\xa3\xfa\xa8\x3e\xa6\x8f\xe9\xe3\xfa" "\xb8\x3e\xa9\x4f\xea\x53\xfa\x94\x3e\xad\x4f\xeb\xb3\xfa\xac\x3e\xaf" "\xcf\xeb\x0b\xfa\x82\xbe\xa4\x2f\x65\x9f\xf6\x05\x32\x90\x81\x0e\x74" "\x90\x2b\xc8\x15\xc4\x04\x31\x41\x6c\x10\x1b\xc4\x05\x71\x41\xde\x20" "\x6f\x10\x09\x22\x41\x7c\x10\x1f\xe4\x0f\x6e\x08\x0a\x04\x05\x83\x42" "\x41\xe1\x20\x21\x28\x12\x14\x0d\x4c\x80\x81\x0d\x28\x08\x83\x62\x41" "\xf1\x20\x1a\xdc\x18\x94\x08\x6e\x0a\x12\x83\x92\x41\xa9\xa0\x74\xe0" "\x82\x32\x41\x52\x70\x73\x50\x36\xb8\x25\x28\x17\xdc\x1a\x94\x0f\x6e" "\x0b\x2a\x04\xb7\x07\x15\x83\x4a\x41\xe5\xa0\x4a\x70\x47\x50\x35\xb8" "\xd3\xf7\xfe\xf5\x14\x34\xa8\x11\xd4\x0c\x6a\x05\xb5\x83\x7b\x82\x3a" "\xc1\xbd\x41\xdd\xe0\xbe\xa0\x5e\x70\x7f\x50\x3f\x78\x20\x68\x10\x3c" "\x18\x34\x0c\x1e\x0a\x1a\x05\x0f\x07\x8d\x83\x47\x82\x26\xc1\xa3\x41" "\xd3\xe0\xb1\xa0\x59\xd0\x3c\x68\x11\xb4\x0c\x5a\xfd\xff\xea\x07\xd5" "\x82\xbb\x82\xea\xc1\xdd\x7f\x73\x7d\xef\x4f\x17\x7c\xc2\xf5\x32\xbd" "\x4d\x8a\xe9\x63\xfa\x9a\x57\x4c\x3f\xd3\xdf\x0c\x30\x03\xcd\x20\xf3" "\xaa\x19\x6c\x5e\x33\x43\xcc\xeb\x66\xa8\x19\x66\x86\x9b\x37\xcc\x08" "\xf3\xa6\x19\x69\xde\x32\xa3\xcc\x68\x33\xc6\xbc\x6d\xc6\x9a\x71\x66" "\xbc\x99\x60\x26\x9a\x49\x26\xd5\xbc\x63\x26\x9b\x77\xcd\x14\xf3\x9e" "\x99\x6a\xa6\x99\xe9\x66\x86\x49\x33\x33\xcd\x2c\xf3\xbe\x99\x6d\xe6" "\x98\xb9\xe6\x03\x33\xcf\x7c\x68\xe6\x9b\x05\x66\xa1\x59\x64\xd2\xcd" "\x47\x66\xb1\x59\x62\x32\xcc\xc7\x66\xa9\xf9\xc4\x64\x9a\x65\x66\xb9" "\x59\x61\x56\x9a\x55\x66\xb5\x59\x63\xd6\x9a\x75\x66\xbd\xd9\x60\x36" "\x9a\x4d\x66\xb3\xd9\x62\xb6\x9a\x4f\xcd\x36\xb3\xdd\xec\x30\x3b\xcd" "\x2e\xb3\xdb\xec\x31\x9f\x99\xbd\xe6\x73\xb3\xcf\x7c\x61\xb2\xcc\x97" "\x66\xbf\xf9\x83\x39\x60\xbe\x32\x07\xcd\xd7\xe6\x90\xf9\xc6\x1c\x36" "\xdf\x9a\x23\xe6\x3b\x73\xd4\x7c\x6f\x8e\x99\x1f\xcc\x71\x73\xc2\x9c" "\x34\x3f\x9a\x53\xe6\x27\x73\xda\x9c\x31\x67\xcd\x39\x73\xde\xfc\x6c" "\x2e\x98\x8b\xe6\x92\xf1\xd9\x27\xf7\xd9\x1f\xef\xa8\x51\x63\x2e\xcc" "\x85\x31\x18\x83\xb1\x18\x8b\x71\x18\x87\x79\x31\x2f\x46\x30\x82\xf1" "\x18\x8f\xf9\x31\x3f\x16\xc0\x02\x58\x08\x0b\x61\x02\x26\x60\x51\x2c" "\x8a\xd9\x08\x09\x8b\x61\x31\x8c\x62\x14\x4b\x60\x09\x4c\xc4\x44\x2c" "\x85\xa5\xd0\xa1\xc3\x24\x4c\xc2\xb2\x58\x16\xcb\x61\x39\x2c\x8f\xe5" "\xb1\x02\x56\xc0\x8a\x58\x11\x2b\x63\xf6\x8b\xe1\x0e\xbc\x13\xef\xc4" "\xbb\xf0\x2e\xbc\x1b\xef\xc6\x9a\x58\x13\x6b\x63\x6d\xac\x83\x75\xb0" "\x2e\xd6\xc5\x7a\x58\x0f\xeb\x63\x7d\x6c\x80\x0d\xb0\x21\x36\xc4\x46" "\xd8\x08\x1b\x63\x63\x6c\x82\x4d\xb0\x29\x36\xc5\x66\xd8\x0c\x5b\x60" "\x0b\x6c\x85\xad\xb0\x35\xb6\xc6\x36\xd8\x06\xdb\x61\x3b\x6c\x8f\xed" "\xb1\x03\x76\xc0\x64\x4c\xc6\x8e\xd8\x11\x3b\x61\x27\xec\x8c\x9d\xb1" "\x0b\x76\xc1\xae\xd8\x15\xbb\x61\x37\xec\x81\x3d\xb0\x27\xf6\xc4\x5e" "\xd8\x0b\x53\x30\x05\xfb\x62\x5f\xec\x87\xfd\x70\x00\x0e\xc0\x41\x38" "\x08\x07\xe3\x60\x1c\x82\x43\x70\x28\x0e\xc5\xe1\x38\x1c\x47\xe0\x08" "\x1c\x89\x23\x71\x14\x8e\xc6\x31\xf8\x36\x8e\xc5\x71\x38\x1e\x27\xe0" "\x44\x9c\x84\xa9\x98\x8a\x93\x71\x32\x4e\xc1\x29\x38\x15\xa7\xe2\x74" "\x9c\x8e\x69\x98\x86\xb3\x70\x16\xce\xc6\xd9\x38\x17\xe7\xe2\x3c\x9c" "\x87\xf3\x71\x3e\x2e\xc4\x85\x98\x8e\xe9\xb8\x18\x17\x63\x06\x66\xe0" "\x52\x5c\x8a\x99\x98\x89\xcb\x71\x39\xae\xc4\x95\xb8\x1a\x57\xe3\x5a" "\x5c\x8b\xeb\x71\x3d\x6e\xc4\x8d\xb8\x19\x37\xe3\x56\xdc\x8a\xdb\x70" "\x1b\xee\xc0\x1d\xb8\x0b\x77\xe1\x1e\xdc\x83\x7b\x71\x2f\xee\xc3\x7d" "\x98\x85\x59\xb8\x1f\xf7\xe3\x01\x3c\x80\x07\xf1\x20\x1e\xc2\x43\x78" "\x18\x0f\xe3\x11\x3c\x82\x47\xf1\x28\x1e\xc3\x63\x78\x1c\x8f\xc3\x49" "\x3c\x89\xa7\xf0\x14\x9e\xc6\xd3\x78\x16\xcf\xe2\x79\xfc\x19\x2f\xe0" "\x45\xbc\x84\x1e\x63\x6c\x1e\x1b\x6b\xaf\xb1\x71\xf6\x5a\x9b\xd7\xe6" "\xb3\x31\x36\x4f\xf6\x9b\xf5\x4f\x71\x21\x5b\xd8\x26\xd8\x22\xb6\xa8" "\x35\xb6\x80\x2d\xf8\x17\x31\x5a\x6b\x13\x6d\x49\x5b\xca\x96\xb6\xce" "\x96\xb1\x49\xf6\xe6\xdf\xc5\x15\x6d\x25\x5b\xd9\x56\xb1\x77\xd8\xaa" "\xf6\x4e\x5b\xed\x77\x71\x1d\x7b\xaf\xad\x6b\xef\xb3\xf5\xec\xfd\xb6" "\xb6\xbd\xe7\x2f\xe2\xfa\xf6\x01\xdb\xc0\x3e\x6a\x1b\xda\xc7\x6c\x23" "\xdb\xdc\x36\xb6\x2d\x6d\x13\xfb\xa8\x6d\x6a\x1f\xb3\xcd\x6c\x73\xdb" "\xc2\xb6\xb4\xed\xed\x53\xb6\x83\x7d\xda\x26\xdb\x67\x6c\x47\xfb\xec" "\xef\xe2\xc5\x76\x89\x5d\x6b\xd7\xd9\xf5\x76\x83\xdd\x6b\x3f\xb7\x67" "\xed\x39\x7b\xc4\x7e\x67\xcf\xdb\x9f\x6d\x2f\xdb\xdb\x0e\xb2\xaf\xda" "\xc1\xf6\x35\x3b\xc4\xbe\x6e\x87\xda\x61\xbf\x8b\xc7\xd8\xb7\xed\x58" "\x3b\xce\x8e\xb7\x13\xec\x44\x3b\xe9\x77\xf1\x74\x3b\xc3\xa6\xd9\x99" "\x76\x96\x7d\xdf\xce\xb6\x73\x7e\x17\xa7\xdb\x8f\xec\x3c\x9b\x61\xe7" "\xdb\x05\x76\xa1\x5d\xf4\x4b\x9c\x3d\xa7\x0c\xfb\xb1\x5d\x6a\x3f\xb1" "\x99\x76\x99\x5d\x6e\x57\xd8\x95\x76\x95\x5d\x6d\xd7\xfc\x69\xae\x2b" "\xec\x26\xbb\xd9\x6e\xb1\x7b\xec\x67\x76\x9b\xdd\x6e\x77\xd8\x9d\x76" "\x97\xdd\xfd\x4b\x9c\x7d\x1c\xfb\xec\x17\x36\xcb\x7e\x69\x0f\xdb\x6f" "\xed\x01\xfb\x95\x3d\x68\x8f\xda\x43\xf6\x9b\x5f\xe2\xec\xe3\x3b\x6a" "\xbf\xb7\xc7\xec\x0f\xf6\xb8\x3d\x61\x4f\xda\x1f\xed\x29\xfb\x93\x3d" "\x6d\xcf\xfc\x72\xfc\xd9\xc7\xfe\xa3\xbd\x68\x2f\x59\x6f\x05\x01\x49" "\x52\xa4\x29\xa0\x5c\x94\x9b\x62\x28\x0f\xc5\xd2\x35\x14\x47\xd7\x52" "\x5e\xca\x47\x11\xba\x8e\xe2\xe9\x7a\xca\x4f\x37\x50\x01\x2a\x48\x85" "\xa8\x30\x25\x50\x11\x2a\x4a\x86\x90\x2c\x11\x85\x54\x8c\x8a\x53\x94" "\x6e\xa4\x12\x74\x13\x25\x52\x49\x2a\x45\xa5\xc9\x51\x19\x4a\xa2\x9b" "\xa9\x2c\xdd\x42\xe5\xe8\x56\x2a\x4f\xb7\x51\x05\xba\x9d\x2a\x52\x25" "\xaa\x4c\x55\xe8\x0e\xaa\x4a\x77\x52\x35\xba\x8b\xaa\xd3\xdd\x54\x83" "\x6a\x52\x2d\xaa\x4d\xf7\x50\x1d\xba\x97\xea\xd2\x7d\x54\x8f\xee\xa7" "\xfa\xf4\x00\x35\xa0\x07\xa9\x21\x3d\x44\x8d\xe8\x61\x6a\x4c\x8f\x50" "\x13\x7a\x94\x9a\xd2\x63\xd4\x8c\x9a\x53\x0b\x6a\x49\xad\xe8\x71\x6a" "\x4d\x4f\x50\x1b\x6a\x4b\xed\xe8\x49\x6a\x4f\x4f\x51\x07\x7a\x9a\x92" "\xe9\x19\xea\x48\xcf\x52\x27\x7a\x8e\x3a\xd3\xf3\xd4\x85\x5e\xa0\xae" "\xf4\x22\x75\xa3\xee\xd4\x83\x5e\xa2\x9e\xf4\x32\xf5\xa2\xde\x94\x42" "\x7d\xa8\x2f\xbd\x42\xfd\xa8\x3f\x0d\xa0\x81\x34\x88\x5e\xa5\xc1\xf4" "\x1a\x0d\xa1\xd7\x69\x28\x0d\xa3\xe1\xf4\x06\x8d\xa0\x37\x69\x24\xbd" "\x45\xa3\x68\x34\x8d\xa1\xb7\x69\x2c\x8d\xa3\xf1\x34\x81\x26\xd2\x24" "\x4a\xa5\x77\x68\x32\xbd\x4b\x53\xe8\x3d\x9a\x4a\xd3\x68\x3a\xcd\xa0" "\x34\x9a\x49\xb3\xe8\x7d\x9a\x4d\x73\x68\x2e\x7d\x40\xf3\xe8\x43\x9a" "\x4f\x0b\x68\x21\x2d\xa2\x74\xfa\x88\x16\xd3\x12\xca\xa0\x8f\x69\x29" "\x7d\x42\x99\xb4\x8c\x96\xd3\x0a\x5a\x49\xab\x68\x35\xad\xa1\xb5\xb4" "\x8e\xd6\xd3\x06\xda\x48\x9b\x68\x33\x6d\xa1\xad\xf4\x29\x6d\xa3\xed" "\xb4\x83\x76\xd2\x2e\xda\x4d\x7b\xe8\x33\xda\x4b\x9f\xd3\x3e\xfa\x82" "\xb2\xe8\x4b\xda\x4f\x7f\xa0\x03\xf4\x15\x1d\xa4\xaf\xe9\x10\x7d\x43" "\x87\xe9\x5b\x3a\x42\xdf\xd1\x51\xfa\x9e\x8e\xd1\x0f\x74\x9c\x4e\xd0" "\x49\xfa\x91\x4e\xd1\x4f\x74\x9a\xce\xd0\x59\x3a\x47\xe7\xe9\x67\xba" "\x40\x17\xe9\x12\x79\x12\x21\x84\x32\x54\xa1\x0e\x83\x30\x57\x98\x3b" "\x8c\x09\xf3\x84\xb1\xe1\x35\x61\x5c\x78\x6d\x98\x37\xcc\x17\x46\xc2" "\xeb\xc2\xf8\xf0\xfa\x30\x7f\x78\x43\x58\x20\x2c\x18\x16\x0a\x0b\x87" "\x09\x61\x91\xb0\x68\x68\x42\x0c\x6d\x48\x61\x18\x16\x0b\x8b\x87\xd1" "\xf0\xc6\xb0\x44\x78\x53\x98\x18\x96\x0c\x4b\x85\xa5\x43\x17\x96\x09" "\x93\xc2\x9b\xc3\xb2\xe1\x2d\x61\xb9\xf0\xd6\xb0\x7c\x78\x5b\x58\x21" "\xbc\x3d\xac\x18\x56\x0a\x2b\x87\x55\xc2\x3b\xc2\xaa\xe1\x9d\x61\xb5" "\xf0\xae\xb0\x7a\x78\x77\x58\x23\xac\x19\xd6\x0a\x6b\x87\xf7\x84\x75" "\xc2\x7b\xc3\xba\xe1\x7d\x61\xbd\xf0\xfe\xb0\x5c\xf8\x40\xd8\x20\x7c" "\x30\x6c\x18\x3e\x14\x36\x0a\x1f\x0e\x1b\x87\x8f\x84\x4d\xc2\x47\xc3" "\xa6\xe1\x63\x61\xb3\xb0\x79\xd8\x22\x6c\x19\xb6\x0a\x1f\x0f\x5b\x87" "\x4f\x84\x6d\xc2\xb6\x61\xbb\xf0\xc9\xb0\x7d\xf8\x54\xd8\x21\x7c\x3a" "\x4c\x0e\x9f\x09\x3b\x86\xcf\x5e\x71\x7d\x4a\xd8\x27\xec\x1b\xbe\x12" "\xbe\x12\x7a\x7f\x9f\x5a\x18\x5d\x14\x4d\x8f\x7e\x14\x5d\x1c\x5d\x12" "\xcd\x88\x7e\x1c\x5d\x1a\xfd\x24\x9a\x19\x5d\x16\x5d\x1e\x5d\x11\x5d" "\x19\x5d\x15\x5d\x1d\x5d\x13\x5d\x1b\x5d\x17\x5d\x1f\xdd\x10\xdd\x18" "\xdd\x14\xdd\x1c\xdd\x12\xf5\xbe\x76\x6e\xe1\xc0\x49\xa7\x9c\x76\x81" "\xcb\xe5\x72\xbb\x18\x97\xc7\xc5\xba\x6b\x5c\x9c\xbb\xd6\xe5\x75\xf9" "\x5c\xc4\x5d\xe7\xe2\xdd\xf5\x2e\xbf\xbb\xc1\x15\x70\x05\x5d\x21\x57" "\xd8\x25\xb8\x22\xae\xa8\x33\x0e\x9d\x75\xe4\x42\x57\xcc\x15\x77\x51" "\x77\xa3\x2b\xe1\x6e\x72\x89\xae\xa4\x2b\xe5\x4a\x3b\xe7\xca\xb8\x24" "\xd7\xd2\xb5\x72\xad\x5c\x6b\xf7\x84\x6b\xe3\xda\xba\x76\xee\x49\xf7" "\xa4\x7b\xca\x3d\xe5\x9e\x76\x4f\xbb\x67\x5c\x47\xf7\xac\xeb\xe4\x9e" "\x73\x9d\xdd\xf3\xae\x8b\x7b\xc1\xbd\xe0\x5e\x74\xdd\x5c\x77\xd7\xc3" "\xbd\xe4\x7a\xba\x97\x5d\x2f\xd7\xdb\xa5\xb8\x14\xd7\xd7\xf5\x75\xfd" "\x5c\x3f\x37\xc0\x0d\x70\x83\xdc\x20\x37\xd8\x0d\x76\x43\xdc\x10\x37" "\xd4\x0d\x75\xc3\xdd\x70\x37\xc2\x8d\x70\x23\xdd\x48\x37\xca\x8d\x72" "\x63\xdc\x18\x37\xd6\x8d\x75\xe3\xdd\x78\x37\xd1\x4d\x74\xa9\x2e\xd5" "\x4d\x76\x93\xdd\x14\x37\xc5\x4d\x75\x53\xdd\x74\x37\xdd\xa5\xb9\x34" "\x37\xcb\xcd\x72\xb3\xdd\x6c\x37\xd7\xcd\x75\xf3\xdc\x3c\x37\xdf\xcd" "\x77\x0b\xdd\x42\x97\xee\xd2\xdd\x62\xb7\xd8\x65\xb8\x0c\xb7\xd4\x2d" "\x75\x99\x2e\xd3\x2d\x77\xcb\xdd\x4a\xb7\xd2\xad\x76\xab\xdd\x5a\xb7" "\xd6\xad\x77\xeb\xdd\x46\xb7\xd1\x6d\x76\x9b\xdd\x56\xb7\xd5\x6d\x73" "\xdb\xdc\x0e\xb7\xc3\xed\x72\xbb\xdc\x1e\xb7\xc7\xed\x75\x7b\xdd\x3e" "\xb7\xcf\x65\xb9\x2c\xb7\xdf\xed\x77\x07\xdc\x01\x77\xd0\x7d\xed\x0e" "\xb9\x6f\xdc\x61\xf7\xad\x3b\xe2\xbe\x73\x47\xdd\xf7\xee\x98\xfb\xc1" "\x1d\x77\x27\xdc\x49\xf7\xa3\x3b\xe5\x7e\x72\xa7\xdd\x19\x77\xd6\x9d" "\x73\xe7\xdd\xcf\xee\x82\xbb\xe8\x2e\x39\xef\x52\x23\xef\x44\x26\x47" "\xde\x8d\x4c\x89\xbc\x17\x99\x1a\x99\x16\x99\x1e\x99\x11\x49\x8b\xcc" "\x8c\xcc\x8a\xbc\x1f\x99\x1d\x99\x13\x99\x1b\xf9\x20\x32\x2f\xf2\x61" "\x64\x7e\x64\x41\x64\x61\x64\x51\x24\x3d\xf2\x51\x64\x71\x64\x49\x24" "\x23\xf2\x71\x64\x69\xe4\x93\x48\x66\x64\x59\x64\x79\x64\x45\x64\x65" "\x64\x55\xc4\xfb\x22\xdb\x42\x5f\xcc\x17\xf7\x51\x7f\xa3\x2f\xe1\x6f" "\xf2\x89\xbe\xa4\x2f\xe5\x4b\x7b\xe7\xcb\xf8\x24\x7f\xb3\x2f\xeb\x6f" "\xf1\xe5\xfc\xad\xbe\xbc\xbf\xcd\x57\xf0\xb7\xfb\x8a\xbe\x92\xaf\xec" "\x1f\xf3\xcd\x7c\x73\xdf\xc2\xb7\xf4\xad\xfc\xe3\xbe\xb5\x7f\xc2\xb7" "\xf1\x6d\x7d\x3b\xff\xa4\x6f\xef\x9f\xf2\x1d\xfc\xd3\x3e\xd9\x3f\xe3" "\x3b\xfa\x67\x7d\x27\xff\x9c\xef\xec\x9f\xf7\x5d\xfc\x0b\xbe\xab\x7f" "\xd1\x77\xf3\xdd\x7d\x0f\xff\x92\xef\xe9\x5f\xf6\xbd\x7c\x6f\x9f\xe2" "\xfb\xf8\xbe\xfe\x15\xdf\xcf\xf7\xf7\x03\xfc\x40\x3f\xc8\xbf\xea\x07" "\xfb\xd7\xfc\x10\xff\xba\x1f\xea\x87\xf9\xe1\xfe\x0d\x3f\xc2\xbf\xe9" "\x47\xfa\xb7\xfc\x28\x3f\xda\x8f\xf1\x6f\xfb\xb1\x7e\x9c\x1f\xef\x27" "\xf8\x89\x7e\x92\x4f\xf5\xef\xf8\xc9\xfe\x5d\x3f\xc5\xbf\xe7\xa7\xfa" "\x69\x7e\xba\x9f\xe1\xd3\xfc\x4c\x3f\xcb\xbf\xef\x67\xfb\x39\x7e\xae" "\xff\xc0\xcf\xf3\x1f\xfa\xf9\x7e\x81\x5f\xe8\x17\xf9\x74\xff\x91\x5f" "\xec\x97\xf8\x0c\xff\xb1\x5f\xea\x3f\xf1\x99\x7e\x99\x5f\xee\x57\xf8" "\x95\x7e\x95\x5f\xed\xd7\xf8\xb5\x7e\x9d\x5f\xef\x37\xf8\x8d\x7e\x93" "\xdf\xec\xb7\xf8\xad\xfe\x53\xbf\xcd\x6f\xf7\x3b\xfc\x4e\xbf\xcb\xef" "\xf6\x7b\xfc\x67\x7e\xaf\xff\xdc\xef\xf3\x5f\xf8\x2c\xff\xa5\xdf\xef" "\xff\xe0\x0f\xf8\xaf\xfc\x41\xff\xb5\x3f\xe4\xbf\xf1\x87\xfd\xb7\xfe" "\x88\xff\xce\x1f\xf5\xdf\xfb\x63\xfe\x07\x7f\xdc\x9f\xf0\x27\xfd\x8f" "\xfe\x94\xff\xc9\x9f\xf6\x67\xfc\x59\x7f\xce\x9f\xf7\x3f\xfb\x0b\xfe" "\xa2\xbf\xc4\x7f\xb3\xc6\x18\x63\x8c\x31\xf6\x37\x51\x57\x58\xdf\xe7" "\xbf\xc9\x91\x7f\x1c\xf7\x15\x42\x5c\xbb\xbd\xf0\xa1\xff\xba\x7e\x63" "\x81\x5f\xc7\xfd\x73\x27\xb4\x8f\x08\x21\x9e\xe9\xdd\xf5\xe1\xdf\x96" "\x1a\x35\x52\x52\x52\xfe\xb8\x6d\xa6\x12\x41\xf1\x05\x42\x88\xc8\xe5" "\xfc\x5c\xe2\x72\xbc\x4c\xb4\x13\x4f\x89\x64\xd1\x56\x94\xfd\xd3\xfa" "\x98\x3f\xdb\x57\x7f\xd9\xfd\x3c\x5d\xa1\x7e\xf4\x36\x21\x62\xff\x2c" "\x27\x3b\xff\xb7\xf8\x72\xfd\x5b\xfe\xea\xf1\xf7\x97\xe3\xe6\x5d\xb1" "\xfe\x02\x21\x12\x8b\x5f\xce\xc9\x23\x2e\xc7\x97\xeb\x97\xfb\x6f\xea" "\x17\x6c\x7d\x85\xfa\x79\xbe\x4a\x15\xa2\xcd\x9f\xe5\xc4\x89\xcb\xf1" "\xe5\xfa\x49\xe2\x09\xf1\xac\x48\xfe\x8b\x2d\x19\x63\x8c\x31\xc6\x18" "\x63\x8c\xb1\x5f\xf5\x97\x95\x3b\x5f\xe9\xfa\x36\xfb\xfa\x3c\x41\x5f" "\xce\xc9\x2d\x2e\xc7\x7f\xed\xfa\x9c\x31\xc6\x18\x63\x8c\x31\xc6\x18" "\x63\xff\xb7\x3c\xdf\xbd\xc7\xd3\x8f\x27\x27\xb7\xed\xfc\x0f\x0c\xf4" "\x3f\x94\x95\xe3\x06\x3e\xdf\xaf\x4f\xf5\xff\x95\xf9\xf0\xe0\xdf\x78" "\xe0\xff\xd7\xf6\x75\xb5\x7f\x32\x31\xc6\x18\x63\x8c\x31\xc6\xfe\xd5" "\x2e\x9f\xf4\x5f\xed\x99\x30\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31" "\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18" "\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x39\xd7\xff\xc6\xbf\x13" "\xfb\x6d\x5f\x57\xfa\xae\x41\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31" "\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18" "\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c" "\x31\xc6\x18\x63\xec\x3f\xd5\xff\x0b\x00\x00\xff\xff\x36\x64\x3b\xe2", 5389); syz_mount_image(/*fs=*/0x200000001500, /*dir=*/0x200000000040, /*flags=*/0, /*opts=*/0x200000000400, /*chdir=*/1, /*size=*/0x150d, /*img=*/0x200000003fc0); break; case 1: memcpy((void*)0x2000000000c0, "devices.list\000", 13); res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x2000000000c0ul, /*flags=*/0x275a, /*mode=*/0); if (res != -1) r[0] = res; break; case 2: memcpy((void*)0x200000000280, "./file2\000", 8); syz_mount_image(/*fs=*/0, /*dir=*/0x200000000280, /*flags=MS_SILENT|MS_NOSUID*/ 0x8002, /*opts=*/0, /*chdir=*/0, /*size=*/0, /*img=*/0); break; case 3: *(uint32_t*)0x200000000080 = 0; *(uint32_t*)0x200000000084 = r[0]; *(uint64_t*)0x200000000088 = 0; *(uint64_t*)0x200000000090 = 0; *(uint64_t*)0x200000000098 = 0; *(uint64_t*)0x2000000000a0 = 0; syscall(__NR_ioctl, /*fd=*/r[0], /*cmd=*/0x8004587d, /*arg=*/0x200000000080ul); break; } } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/ 7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; if ((reason = setup_802154())) printf("the reproducer may not work as expected: 802154 injection setup " "failed: %s\n", reason); for (procid = 0; procid < 5; procid++) { if (fork() == 0) { use_temporary_dir(); loop(); } } sleep(1000000); return 0; }