// 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 __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 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")) { } } 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 < 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: NONFAILING(memcpy((void*)0x200000001500, "exfat\000", 6)); NONFAILING(memcpy((void*)0x200000001540, "./file1\000", 8)); NONFAILING(memcpy( (void*)0x200000002a80, "\x78\x9c\xec\xdd\x09\x74\x54\x45\xd6\x38\xf0\x7b\xab\xea\x41\x88\x11" "\xda\x88\x2c\x81\xaa\xba\x0f\x5a\x0c\x50\x22\x22\x22\x8b\x88\xc8\x22" "\x22\x22\x22\x2a\x22\x9b\x08\x88\x18\x11\x11\x11\x10\x21\x20\xbb\x08" "\x88\x08\xc8\x1a\x11\x59\x02\x02\x22\x4b\x84\x88\x61\xdf\xf7\x7d\x31" "\x32\x88\x88\x88\xc8\x26\x9b\x40\xfd\x4f\x5c\x86\x99\xcf\xf9\x8e\x33" "\xdf\xe8\x9f\x19\xb9\xbf\x73\xde\xe9\xba\xe7\xbd\x5b\xaf\xaa\x6f\x77" "\xba\xde\x3b\x9d\xe4\x9b\x0e\x83\xab\xd5\xaf\x5e\xb9\x1e\x11\xc1\xbf" "\x05\x7f\x7a\x48\x06\x80\x18\x00\xe8\x0b\x00\xb9\x00\x20\x00\x80\xd2" "\xf1\xa5\xe3\xb3\xf6\xe7\x90\x98\xfc\xef\x9d\x84\xfd\xbe\x1e\x49\xbd" "\xd2\x23\x60\x57\x12\xd7\xff\xea\xc6\xf5\xbf\xba\x71\xfd\xaf\x6e\x5c" "\xff\xab\x1b\xd7\xff\xea\xc6\xf5\xbf\xba\x71\xfd\xaf\x6e\x5c\x7f\xc6" "\xae\x66\x1b\xa7\xe6\xbf\x8e\xb7\xab\x77\xfb\xf7\xef\xff\xc7\xfc\xf4" "\xc0\xf7\xff\xff\x0b\xf1\xe7\xff\x9f\x42\xcc\xff\x35\x91\xeb\xff\x67" "\x73\x2a\xc7\xbf\x72\x34\xd7\xff\xcf\xe4\x92\xf7\xfe\x5f\x38\x3c\xf8" "\x03\x87\xc2\xfe\x2b\xf0\xfb\xff\xea\xc6\xf5\xff\x13\xfb\x27\x56\x85" "\x5c\xff\xab\x1b\xd7\xff\xea\xc6\xf5\x67\xec\x6a\x76\xa5\xef\x3f\xf3" "\xf6\xbb\x6d\x59\xeb\xbd\x7f\x39\xef\x4a\xbf\xfe\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" "\xc6\x18\x63\x8c\x5d\x1d\xce\xfa\xcb\x14\x00\xfc\xd2\xbe\xd2\xe3\x62" "\x8c\x31\xc6\x18\x63\x8c\x31\xc6\xd8\xef\xc7\x67\x07\x90\x57\x7a\x10" "\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\xfb\x83\x21\x08\x90\xa0\x20\x80" "\x6c\x90\x1d\x62\x20\x07\xc4\xc2\x35\x10\x07\xd7\x42\x4e\xc8\x05\x11" "\xb8\x0e\xe2\xe1\x7a\xc8\x0d\x37\x40\x1e\xc8\x0b\xf9\x20\x3f\x24\x40" "\x01\x28\x08\x1a\x0c\x58\x20\x08\xa1\x10\x14\x86\x28\xdc\x08\x45\xe0" "\x26\x48\x84\xa2\x50\x0c\x8a\x83\x83\x9b\xa1\x04\xdc\x02\x25\xe1\x56" "\x28\x05\xb7\x41\x69\xb8\x1d\xca\xc0\x1d\x50\x16\xca\x41\x79\xa8\x00" "\x77\x42\x45\xb8\x0b\x2a\xc1\xdd\x50\x19\xee\x81\x2a\x50\x15\xaa\x41" "\x75\xb8\x17\x6a\xc0\x7d\x50\x13\xee\x87\x5a\xf0\x00\xd4\x86\x07\xa1" "\x0e\x3c\x04\x75\xe1\x61\xa8\x07\x8f\xc0\xa3\xf0\x18\xd4\x87\xc7\xa1" "\x01\x3c\x01\x0d\xa1\x11\x34\x86\x26\xd0\xf4\xff\x94\xff\x0a\x74\x81" "\x57\xa1\x2b\x74\x83\x64\xe8\x0e\x3d\xe0\x35\xe8\x09\xbd\xa0\x37\xf4" "\x81\xbe\xd0\x0f\xfa\xc3\xeb\x30\x00\xde\x80\x81\x30\x08\x06\xc3\x9b" "\x30\x04\xde\x82\xa1\xf0\x36\x0c\x83\xe1\x30\x02\xde\x81\x91\x30\x0a" "\x46\xc3\x18\x18\x0b\xe3\x20\x05\xde\x85\xf1\xf0\x1e\x4c\x80\xf7\x61" "\x22\x4c\x82\xc9\x30\x05\x52\x61\x2a\x4c\x83\x0f\x60\x3a\xcc\x80\x99" "\xf0\x21\xcc\x82\x8f\x60\x36\xcc\x81\xb9\x30\x0f\xd2\xe0\x63\x98\x0f" "\x0b\x20\x1d\x3e\x81\x85\xf0\x29\x64\xc0\x22\x58\x0c\x4b\x60\x29\x2c" "\x83\xe5\xb0\x02\x56\xc2\x2a\x58\x0d\x6b\x60\x2d\xac\x83\xf5\xb0\x01" "\x36\xc2\x26\xd8\x0c\x5b\x60\x2b\x6c\x83\xed\xb0\x03\x76\xc2\x2e\xd8" "\x0d\x7b\x60\x2f\x7c\x06\x99\xf0\xf9\xbf\x98\x7f\xe6\x7f\xe4\x77\x44" "\x40\x40\x81\x02\x15\x2a\xcc\x86\xd9\x30\x06\x63\x30\x16\x63\x31\x0e" "\xe3\x30\x27\xe6\xc4\x08\x46\x30\x1e\xe3\xfb\x01\xe6\xc6\x3c\x98\x07" "\xf3\x61\x3e\x4c\xc0\x04\x2c\x88\x05\xd1\xa0\x41\x42\xc2\x42\x58\x08" "\xa3\x18\xc5\x22\x58\x04\x13\x31\x11\x8b\x61\x31\x74\xe8\xb0\x04\x96" "\xc0\x92\x78\x2b\x96\xc2\x52\x58\x1a\x4b\x63\x19\x2c\x83\x65\xb1\x1c" "\x96\xc3\x0a\x58\x01\x2b\x62\x45\xac\x84\x95\xb0\x32\x56\xc6\x2a\x58" "\x05\xab\x61\x35\xbc\x17\xef\xc5\xfb\xb0\x26\xd6\xc4\x5a\x58\x0b\x6b" "\x63\x6d\xac\x83\x75\xb0\x2e\xd6\xc5\x7a\x58\x0f\x1f\xc5\x47\xb1\x3e" "\xd6\xc7\x06\xd8\x00\x1b\x62\x43\x6c\x8c\x8d\xb1\x29\x36\xc5\x66\xd8" "\x0c\x9b\x63\x73\x6c\x89\x2d\xb1\x15\xb6\xc2\xd6\xd8\x1a\x93\x30\x09" "\xdb\x60\x1b\x6c\x8b\x6d\xb1\x1d\xb6\xc3\xf6\xd8\x1e\x3b\x60\x07\xec" "\x88\x9d\xb0\x13\xbe\x82\xaf\xe0\xab\xf8\x2a\x76\xc3\x2a\xa2\x3b\xf6" "\xc0\x1e\xd8\x13\x7b\x62\x6f\xec\x83\x7d\xb0\x1f\xf6\xc7\xd7\xf1\x75" "\x7c\x03\x07\xe2\x20\x1c\x8c\x6f\xe2\x9b\xf8\x16\x0e\xc5\xd3\x38\x0c" "\x87\xe3\x08\x1c\x81\x15\xc5\x28\x1c\x8d\x63\x90\xc4\x38\x4c\xc1\x14" "\x1c\x8f\xe3\x71\x02\x4e\xc0\x89\x38\x09\x27\xe1\x14\x4c\xc5\xa9\x38" "\x0d\xa7\xe1\x74\x9c\x81\x33\xf0\x43\x9c\x85\x1f\xe1\x47\x38\x07\xe7" "\xe0\x3c\x4c\xc3\x34\x9c\x8f\x0b\x30\x1d\xd3\x71\x21\x9e\xc1\x0c\x5c" "\x84\x8b\x71\x09\x2e\xc5\x65\xb8\x14\x57\xe0\x4a\x5c\x81\xab\x71\x0d" "\xae\xc6\x75\xb8\x0e\x37\xe0\x06\xdc\x84\x9b\x70\x0b\x6e\xc1\x6d\xb8" "\x0d\x77\xe0\x0e\xdc\x85\xbb\x70\x0f\xee\xc1\x81\x98\x89\x99\xb8\x0f" "\xf7\xe1\x7e\xdc\x8f\x07\xf0\x00\x1e\xc4\x83\x78\x08\x0f\xe1\x61\x3c" "\x8c\x47\xf0\x08\x1e\xc5\xa3\x78\x0c\x8f\xe3\x09\x3c\x8e\xa7\xf0\x14" "\x9e\xc6\x33\x78\x16\xcf\xe2\x79\x3c\x8f\x17\xf0\x02\x5e\xc2\x4b\x59" "\x6f\x7e\x91\x45\x09\x25\xb2\x89\x6c\x22\x46\xc4\x88\x58\x11\x2b\xe2" "\x44\x9c\xc8\x29\x72\x8a\x88\x88\x88\x78\x11\x2f\x72\x8b\xdc\x22\x8f" "\xc8\x23\xf2\x89\x7c\x22\x41\x24\x88\x82\xa2\xa0\x30\xc2\x08\x12\xa1" "\x28\x24\x0a\x89\xa8\x88\x8a\x22\xa2\x88\x48\x14\x89\xa2\x98\x28\x26" "\x9c\x70\xa2\x84\x28\x21\x4a\x8a\x92\xa2\x94\x28\x25\x4a\x8b\xdb\x45" "\x19\x71\x87\x28\x2b\xca\x89\x16\xae\x82\xa8\x20\x2a\x8a\x96\xae\x92" "\xb8\x5b\x54\x16\x95\x45\x15\x51\x55\x54\x13\xd5\x45\x75\x51\x43\xd4" "\x10\x35\x45\x4d\x51\x4b\xd4\x12\xb5\x45\x6d\x51\x47\x3c\x24\xea\x8a" "\xee\xd8\x1b\x1f\x11\x59\x95\xa9\x2f\x06\x61\x03\x31\x18\x1b\x8a\x46" "\xa2\xb1\x68\x22\xde\xc2\x27\x45\x33\x31\x14\x9b\x8b\x16\xa2\xa5\x78" "\x5a\x0c\xc7\x61\xd8\x5a\x34\x73\x49\xe2\x39\xd1\x46\x8c\xc6\xb6\xe2" "\x05\x31\x06\x5f\x14\xed\xc5\x38\xec\x20\x5e\x16\x1d\x45\x27\xd1\x59" "\xbc\x22\xba\x88\xe6\xae\xab\xe8\x26\x26\x62\x77\xd1\x43\x4c\xc1\x9e" "\xa2\x97\xe8\x2d\xfa\x88\xe9\x58\x55\x64\x55\xac\x9a\x78\x43\x0c\x14" "\x83\xc4\x60\xf1\xa6\x98\x87\x6f\x89\xa1\xe2\x6d\x31\x4c\x0c\x17\x23" "\xc4\x3b\x62\xa4\x18\x25\x46\x8b\x31\x62\xac\x18\x27\x52\xc4\xbb\x62" "\xbc\x78\x4f\x4c\x10\xef\x8b\x89\x62\x92\x98\x2c\xa6\x88\x54\x31\x55" "\x4c\x13\x1f\x88\xe9\x62\x86\x98\x29\x3e\x14\xb3\xc4\x47\x62\xb6\x98" "\x23\xe6\x8a\x79\x22\x4d\x7c\x2c\xe6\x8b\x05\x22\x5d\x7c\x22\x16\x8a" "\x4f\x45\x86\x58\x24\x16\x8b\x25\x62\xa9\x58\x26\x96\x8b\x15\x62\xa5" "\x58\x25\x56\x8b\x35\x62\xad\x58\x27\xd6\x8b\x0d\x62\xa3\xd8\x24\x36" "\x8b\x2d\x62\xab\xd8\x26\xb6\x8b\x1d\x62\xa7\xd8\x25\x76\x8b\x3d\x62" "\xaf\xf8\x4c\x64\x8a\xcf\xc5\x3e\xf1\x17\xb1\x5f\x7c\x21\x0e\x88\x2f" "\xc5\x41\xf1\x95\x38\x24\xbe\x16\x87\xc5\x37\xe2\x88\xf8\x56\x1c\x15" "\xdf\x89\x63\xe2\xb8\x38\x21\x4e\x8a\x53\xe2\x7b\x71\x5a\x9c\x11\x67" "\xc5\x39\x71\x5e\xfc\x20\x2e\x88\x8b\xe2\x92\xf0\x02\x24\x4a\x21\xa5" "\x54\x32\x90\xd9\x64\x76\x19\x23\x73\xc8\x58\x79\x8d\x8c\x93\xd7\xca" "\x9c\x32\x97\x8c\xc8\xeb\x64\xbc\xbc\x5e\xe6\x96\x37\xc8\x3c\x32\xaf" "\xcc\x27\xf3\xcb\x04\x59\x40\x16\x94\x5a\x1a\x69\x25\xc9\x50\x16\x92" "\x85\x65\x54\xde\x28\x8b\xc8\x9b\x64\xa2\x2c\x2a\x8b\xc9\xe2\xd2\xc9" "\x9b\x65\x09\x79\x8b\x2c\x29\x6f\x95\xa5\xe4\x6d\xb2\xb4\xbc\x5d\x96" "\x91\x77\xc8\xb2\xb2\x9c\x2c\x2f\x2b\xc8\x3b\x65\x45\x79\x97\xac\x24" "\xef\x96\x95\xe5\x3d\xb2\x8a\xac\x2a\xab\xc9\xea\xf2\x5e\x59\x43\xde" "\x27\x6b\xca\xfb\x65\x2d\xf9\x80\xac\x2d\x1f\x94\x75\xe4\x43\xb2\xae" "\x7c\x58\xd6\x93\x8f\xc8\x47\xe5\x63\xb2\xbe\x7c\x5c\x36\x90\x4f\xc8" "\x86\xb2\x91\x6c\x2c\x9b\xc8\xa6\xf2\x49\xd9\x4c\x3e\x25\x9b\xcb\x16" "\xb2\xa5\x7c\x5a\xb6\x92\xcf\xc8\xd6\xf2\x59\x99\x24\x9f\x93\x6d\xe4" "\xf3\xb2\xad\x7c\x41\xb6\x93\x2f\xca\xf6\xf2\x25\xd9\x41\xbe\x2c\x3b" "\xca\x4e\xb2\xb3\xbc\x28\x2f\x49\x2f\xbb\xca\x6e\x32\x59\x76\x97\x3d" "\xe4\x6b\xb2\xa7\xec\x25\x7b\xcb\x3e\xb2\xaf\xec\x27\xfb\xcb\xd7\xe5" "\x00\xf9\x86\x1c\x28\x07\xc9\xc1\xf2\x4d\x39\x44\xbe\x25\x87\xca\xb7" "\xe5\x30\x39\x5c\x8e\x90\xef\xc8\x91\x72\x94\x1c\x2d\xc7\xc8\xb1\x72" "\x9c\x4c\x91\xef\xca\xf1\xf2\x3d\x39\x41\xbe\x2f\x27\xca\x49\x72\xb2" "\x9c\x22\x53\xe5\x54\xd9\xfb\xe7\x9e\x66\xfe\x13\xf9\xef\xfd\x83\xfc" "\x01\x3f\x9e\x7d\x83\xdc\x28\x37\xc9\xcd\x72\x8b\xdc\x2a\xb7\xc9\xed" "\x72\x87\xdc\x29\x77\xca\xdd\x72\xb7\xdc\x2b\xf7\xca\x4c\x99\x29\xf7" "\xc9\x7d\x72\xbf\xdc\x2f\x0f\xc8\x03\xf2\xa0\x3c\x28\x0f\xc9\x43\xf2" "\xb0\x3c\x2c\x8f\xc8\x23\xf2\xa8\x3c\x2a\x8f\xc9\xe3\xf2\x9c\x3c\x29" "\x4f\xc9\xef\xe5\x69\x79\x46\x9e\x91\xe7\xe4\x79\x79\x5e\x5e\xf8\xf9" "\x39\x00\x85\x4a\x28\xa9\x94\x0a\x54\x36\x95\x5d\xc5\xa8\x1c\x2a\x56" "\x5d\xa3\xe2\xd4\xb5\x2a\xa7\xca\xa5\x22\xea\x3a\x15\xaf\xae\x57\xb9" "\xd5\x0d\x2a\x8f\xca\xab\xf2\xa9\xfc\x2a\x41\x15\x50\x05\x95\x56\x46" "\x59\x45\x2a\x54\x85\x54\x61\x15\x55\x37\xaa\x22\xea\x26\x95\xa8\x8a" "\xaa\x62\xaa\xb8\x72\xea\x66\x55\x42\xdd\xf2\x6f\xe7\xff\xd6\xf8\x9a" "\xaa\xa6\xaa\x99\x6a\xa6\x9a\xab\xe6\xaa\xa5\x6a\xa9\x5a\xa9\x56\xaa" "\xb5\x6a\xad\x92\x54\x92\x6a\xa3\xda\xa8\xb6\xaa\xad\x6a\xa7\xda\xa9" "\xf6\xaa\xbd\xea\xa0\x3a\xa8\x8e\xaa\xa3\xea\xac\x3a\xab\x2e\xaa\x8b" "\xf2\x00\x90\xac\x92\x55\x0f\xf5\x9a\xea\xa9\x7a\xa9\xde\xaa\x8f\xea" "\xab\xfa\xa9\xfe\xaa\xbf\x1a\xa0\x06\xa8\x81\x6a\xa0\x1a\xac\x06\xab" "\x21\x6a\x88\x1a\xaa\x86\xaa\x61\x6a\x98\x1a\xa1\x46\xa8\x91\x6a\xa4" "\x1a\xad\x46\xab\xb1\x6a\xac\x4a\x51\x29\x6a\xbc\x1a\xaf\x26\xa8\x09" "\x6a\xa2\x9a\xa8\x26\xab\xc9\x2a\x55\xa5\xaa\x69\x6a\x9a\x9a\xae\xa6" "\xab\x99\x6a\xa6\x9a\xa5\x66\xa9\xd9\x6a\xb6\x9a\xab\xe6\xaa\x34\x95" "\xa6\xe6\xab\xf9\x2a\x5d\xa5\xab\x85\x6a\xa1\xca\x50\x8b\xd4\x22\xb5" "\x44\x2d\x51\xcb\xd4\x32\xb5\x42\xad\x50\xab\xd4\x2a\xb5\x46\xad\x51" "\xeb\xd4\x3a\x95\xa1\x7e\xf9\x82\xe6\x56\xb5\x55\x6d\x57\xdb\xd5\x4e" "\xb5\x53\xed\x56\xbb\xd5\x5e\xb5\x57\x65\xaa\x4c\xb5\x4f\xed\x53\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\x27\xd4\x09\x75\x4a\x9d\x52" "\xa7\xd5\x69\x75\x56\x9d\x55\xe7\xd5\x79\x75\x41\x5d\x50\x97\xd4\xa5" "\xac\x65\x5f\x20\x02\x11\xa8\x40\x05\xd9\x82\x6c\x41\x4c\x10\x13\xc4" "\x06\xb1\x41\x5c\x10\x17\xe4\x0c\x72\x06\x91\x20\x12\xc4\x07\xf1\x41" "\xee\xe0\x86\x20\x4f\x90\x37\xc8\x17\xe4\x0f\x12\x82\x02\x41\xc1\x40" "\x07\x26\xb0\x01\x05\x61\x50\x28\x28\x1c\x44\x83\x1b\x83\x22\xc1\x4d" "\x41\x62\x50\x34\x28\x16\x14\x0f\x5c\x70\x73\x50\x22\xb8\x25\x28\x19" "\xdc\x1a\x94\x0a\x6e\x0b\x4a\x07\xb7\x07\x65\x82\x3b\x82\xb2\x41\xb9" "\xa0\x7c\x50\x21\xb8\x33\xa8\x18\xdc\x15\x54\x0a\xee\x0e\x2a\x07\xf7" "\x04\x55\x82\xaa\x41\xb5\xa0\x7a\x70\x6f\x50\x23\xb8\x2f\xa8\x19\xdc" "\x1f\xd4\x0a\x1e\x08\x6a\x07\x0f\x06\x75\x82\x87\x82\xba\xc1\xc3\x41" "\xbd\xe0\x91\xe0\xd1\xe0\xb1\xa0\x7e\xf0\x78\xd0\x20\x78\x22\x68\x18" "\x34\x0a\x1a\x07\x4d\x82\xa6\xbf\x6b\xff\xde\x9f\xce\xfb\x94\xeb\xaa" "\xbb\xe9\x64\xdd\x5d\xf7\xd0\xaf\xe9\x9e\xba\x97\xee\xad\xfb\xe8\xbe" "\xba\x9f\xee\xaf\x5f\xd7\x03\xf4\x1b\x7a\xa0\x1e\xa4\x07\xeb\x37\xf5" "\x10\xfd\x96\x1e\xaa\xdf\xd6\xc3\xf4\x70\x3d\x42\xbf\xa3\x47\xea\x51" "\x7a\xb4\x1e\xa3\xc7\xea\x71\x3a\x45\xbf\xab\xc7\xeb\xf7\xf4\x04\xfd" "\xbe\x9e\xa8\x27\xe9\xc9\x7a\x8a\x4e\xd5\x53\xf5\x34\xfd\x81\x9e\xae" "\x67\xe8\x99\xfa\x43\x3d\x4b\x7f\xa4\x67\xeb\x39\x7a\xae\x9e\xa7\xd3" "\xf4\xc7\x7a\xbe\x5e\xa0\xd3\xf5\x27\x7a\xa1\xfe\x54\x67\xe8\x45\x7a" "\xb1\x5e\xa2\x97\xea\x65\x7a\xb9\x5e\xa1\x57\xea\x55\x7a\xb5\x5e\xa3" "\xd7\xea\x75\x7a\xbd\xde\xa0\x37\xea\x4d\x7a\xb3\xde\xa2\xb7\xea\x6d" "\x7a\xbb\xde\xa1\x77\xea\x5d\x7a\xb7\xde\xa3\xf7\xea\xcf\x74\xa6\xfe" "\x5c\xef\xd3\x7f\xd1\xfb\xf5\x17\xfa\x80\xfe\x52\x1f\xd4\x5f\xe9\x43" "\xfa\x6b\x7d\x58\x7f\xa3\x8f\xe8\x6f\xf5\x51\xfd\x9d\x3e\xa6\x8f\xeb" "\x13\xfa\xa4\x3e\xa5\xbf\xd7\xa7\xf5\x19\x7d\x56\x9f\xd3\xe7\xf5\x0f" "\xfa\x82\xbe\xa8\x2f\x69\x9f\xb5\xb8\xcf\xfa\x78\x37\xca\x28\x93\xcd" "\x64\x33\x31\x26\xc6\xc4\x9a\x58\x13\x67\xe2\x4c\x4e\x93\xd3\x44\x4c" "\xc4\xc4\x9b\x78\x93\xdb\xe4\x36\x79\x4c\x1e\x93\xcf\xe4\x33\x09\x26" "\xc1\x14\x34\x05\x4d\x16\x32\x64\x0a\x99\x42\x26\x6a\xa2\xa6\x88\x29" "\x62\x12\x4d\xa2\x29\x66\x8a\x19\x67\x9c\x29\x61\x4a\x98\x92\xa6\xa4" "\x29\x65\x4a\x99\xd2\xa6\xb4\x29\x63\xca\x98\xb2\xa6\xac\x29\x6f\xb2" "\xae\x47\xee\x34\x77\x99\xbb\xcc\xdd\xe6\x6e\x73\x8f\xb9\xc7\x54\x35" "\x55\x4d\x75\x53\xdd\xd4\x30\x35\x4c\x4d\x53\xd3\xd4\x32\xb5\x4c\x6d" "\x53\xdb\xd4\x31\x75\x4c\x5d\x53\xd7\xd4\x33\xf5\x4c\x0e\x00\xa8\x6f" "\xea\x9b\x06\xa6\x81\x69\x68\x1a\x9a\xc6\xa6\xb1\x69\x6a\x9a\x9a\x66" "\xa6\x99\x69\x6e\x9a\x9b\x96\xa6\xa5\x69\x65\x5a\x99\xd6\xa6\xb5\x49" "\x32\x49\xa6\x8d\x69\x63\xda\x9a\xb6\xa6\x9d\x69\x67\xda\x9b\xf6\xa6" "\x83\xe9\x60\x3a\x9a\x8e\xa6\xb3\xe9\x6c\xba\x98\x2e\xa6\xab\xe9\x6a" "\x92\x4d\xb2\xe9\x61\x7a\x98\x9e\xa6\xa7\xe9\x6d\x7a\x9b\xbe\xa6\xaf" "\xe9\x6f\xfa\x9b\x01\x66\x80\x19\x68\x06\x9a\xc1\x66\xb0\x19\x62\x86" "\x98\xa1\x66\xa8\x19\x66\x86\x9b\x11\xe6\x1d\x33\xd2\x8c\x32\xa3\xcd" "\x18\x33\xd6\x8c\x33\x29\x26\xc5\x8c\x37\xe3\xcd\x04\x33\xc1\x4c\x34" "\x13\xcd\x64\x33\xd9\xa4\x9a\x54\x33\xcd\x4c\x33\xd3\xcd\x74\x33\xd3" "\xcc\x34\xb3\xcc\x2c\x33\xdb\xcc\x36\x73\xcd\x5c\x93\x66\xd2\xcc\x7c" "\x33\xdf\xa4\x9b\x74\xb3\xd0\x2c\x34\x19\x26\xc3\x2c\x36\x8b\xcd\x52" "\xb3\xd4\x2c\x37\xcb\xcd\x4a\xb3\xd2\xac\x36\xab\xcd\x5a\xb3\xd6\xac" "\x37\xeb\xcd\x46\xb3\xd1\x6c\x36\x9b\xcd\x56\xb3\xd5\x6c\x37\xdb\xcd" "\x4e\xb3\xd3\xec\x36\xbb\xcd\x5e\xb3\xd7\x64\x9a\x4c\xb3\xcf\xec\x33" "\xfb\xcd\x7e\x73\xc0\x1c\x30\x07\xcd\x41\x73\xc8\x1c\x32\x87\xcd\x61" "\x73\xc4\x1c\x31\x47\xcd\x51\x73\xcc\x1c\xc3\x13\xe6\x84\x39\x65\x4e" "\x99\xd3\xe6\xb4\x39\x6b\xce\x9a\xf3\xe6\x07\x73\xc1\x5c\x34\x97\x8c" "\x37\x31\x36\x87\x8d\xb5\xd7\xd8\x38\x7b\xad\xcd\x69\x73\xd9\x18\x9b" "\xa3\x1b\x00\xfc\x35\xce\x67\xf3\xdb\x04\x5b\xc0\x16\xb4\xda\xe6\xb1" "\x79\xff\x2e\x36\xd6\xda\x44\x5b\xd4\x16\xb3\xc5\xad\xb3\x37\xdb\x12" "\xf6\x96\x5f\xc5\x65\x6d\x39\x5b\xde\x56\xb0\x77\xda\x8a\xf6\x2e\x5b" "\xe9\x57\x71\x0d\x7b\x9f\xad\x69\xef\xb7\xb5\xec\x03\xb6\xba\xbd\xf7" "\xef\xe2\xda\xf6\x41\x5b\xc7\x3e\x6e\xeb\xda\x27\x6c\x3d\xdb\xc8\x3e" "\x6a\x9b\xd8\xfa\xf6\x71\xdb\xc0\x3e\x61\x1b\xda\x46\xb6\xb1\x6d\x62" "\x5b\xd9\x67\x6c\x6b\xfb\xac\x4d\xb2\xcf\xd9\x36\xf6\xf9\x5f\xc5\xf3" "\xed\x02\xbb\xd2\xae\xb2\xab\xed\x1a\xbb\xdb\xee\xb1\x67\xed\x39\x7b" "\xd8\x7e\x63\xcf\xdb\x1f\x6c\x57\xdb\xcd\xf6\xb5\xfd\x6c\x7f\xfb\xba" "\x1d\x60\xdf\xb0\x03\xed\xa0\x5f\xc5\x23\xec\x3b\x76\xa4\x1d\x65\x47" "\xdb\x31\x76\xac\x1d\xf7\xab\x78\xb2\x9d\x62\x53\xed\x54\x3b\xcd\x7e" "\x60\xa7\xdb\x19\xbf\x8a\xd3\xec\xc7\x76\x96\x4d\xb7\xb3\xed\x1c\x3b" "\xd7\xce\xfb\x31\xce\x1a\x53\xba\xfd\xc4\x2e\xb4\x9f\xda\x0c\xbb\xc8" "\x2e\xb6\x4b\xec\x52\xbb\xcc\x2e\xb7\x2b\xfe\x3a\xd6\x25\x76\x9d\x5d" "\x6f\x37\xd8\x9d\x76\x97\xdd\x6c\xb7\xd8\xad\x76\x9b\xdd\x6e\x77\xfc" "\x18\x67\xcd\x63\xaf\xfd\xcc\x66\xda\xcf\xed\x21\xfb\xb5\xdd\x6f\xbf" "\xb0\x07\xec\x11\x7b\xd0\x7e\xf5\x63\x9c\x35\xbf\x23\xf6\x5b\x7b\xd4" "\x7e\x67\x8f\xd9\xe3\xf6\x84\x3d\x69\x4f\xd9\xef\xed\x69\x7b\xe6\xc7" "\xf9\x67\xcd\xfd\xa4\xbd\x68\x2f\x59\x6f\x81\x90\x04\x49\x52\x14\x50" "\x36\xca\x4e\x31\x94\x83\x62\xe9\x1a\x8a\xa3\x6b\x29\x27\xe5\xa2\x08" "\x5d\x47\xf1\x74\x3d\xe5\xa6\x1b\x28\x0f\xe5\xa5\x7c\x94\x9f\x12\xa8" "\x00\x15\x24\x4d\x86\x2c\x11\x85\x54\x88\x0a\x53\x94\x6e\xa4\x22\x74" "\x13\x25\x52\x51\x2a\x46\xc5\x83\x9f\x6f\x3a\x50\x49\xba\x95\x4a\xd1" "\x6d\x54\x9a\x6e\xa7\x32\x74\x07\x95\xa5\x72\x54\x9e\x2a\xd0\x9d\x54" "\x91\xee\xa2\x4a\x74\x37\x55\xa6\x7b\xa8\x0a\x55\xa5\x6a\x54\x9d\xee" "\xa5\x1a\x74\x1f\xd5\xa4\xfb\xa9\x16\x3d\x40\xb5\xe9\x41\xaa\x43\x0f" "\x51\x5d\x7a\x98\xea\xd1\x23\xf4\x28\x3d\x46\xf5\xe9\x71\x6a\x40\x4f" "\x50\x43\x6a\x44\x8d\xa9\x09\x35\xa5\x27\xa9\x19\x3d\x45\xcd\xa9\x05" "\xb5\xa4\xa7\xa9\x15\x3d\x43\xad\xe9\x59\x4a\xa2\xe7\xa8\x0d\x3d\x4f" "\x6d\xe9\x05\x6a\x47\x71\xd4\x9e\x5e\xa2\x0e\xf4\x32\x75\xa4\x4e\xd4" "\x99\x5e\xa1\x2e\xf4\x2a\x75\xa5\x6e\x94\x4c\xdd\xa9\x07\xbd\x46\x3d" "\xa9\x17\xf5\xa6\x3e\xd4\x97\xfa\x51\x7f\x7a\x9d\x06\xd0\x1b\x34\x90" "\x06\xd1\x60\x7a\x93\x86\xd0\x5b\x34\x94\xde\xa6\x61\x34\x9c\x46\xd0" "\x3b\x34\x92\x46\xd1\x68\x1a\x43\x63\x69\x1c\xa5\xd0\xbb\x34\x9e\xde" "\xa3\x09\xf4\x3e\x4d\xa4\x49\x34\x99\xa6\x50\x2a\x4d\xa5\x69\xf4\x01" "\x4d\xa7\x19\x34\x93\x3e\xa4\x59\xf4\x11\xcd\xa6\x39\x34\x97\xe6\x51" "\x1a\x7d\x4c\xf3\x69\x01\xa5\xd3\x27\xb4\x90\x3e\xa5\x0c\x5a\x44\x8b" "\x69\x09\x2d\xa5\x65\xb4\x9c\x56\xd0\x4a\x5a\x45\xab\x69\x0d\xad\xa5" "\x75\xb4\x9e\x36\xd0\x46\xda\x44\x9b\x69\x0b\x6d\xa5\x6d\xb4\x9d\x76" "\xd0\x4e\xda\x45\xbb\x69\x0f\xed\xa5\xcf\x28\x93\x3e\xa7\x7d\xf4\x17" "\xda\x4f\x5f\xd0\x01\xfa\x92\x0e\xd2\x57\x74\x88\xbe\xa6\xc3\xf4\x0d" "\x1d\xa1\x6f\xe9\x28\x7d\x47\xc7\xe8\x38\x9d\xa0\x93\x74\x8a\xbe\xa7" "\xd3\x74\x86\xce\xd2\x39\x3a\x4f\x3f\xd0\x05\xba\x48\x97\xc8\x13\x84" "\x18\x8a\x50\x86\x2a\x0c\xc2\x6c\x61\xf6\x30\x26\xcc\x11\xc6\x86\xd7" "\x84\x71\xe1\xb5\x61\xce\x30\x57\x18\x09\xaf\x0b\xe3\xc3\xeb\xc3\xdc" "\xe1\x0d\x61\x9e\x30\x6f\x98\x2f\xcc\x1f\x26\x84\x05\xc2\x82\xa1\x0e" "\x4d\x68\x43\x0a\xc3\xb0\x50\x58\x38\x8c\x86\x37\x86\x45\xc2\x9b\xc2" "\xc4\xb0\x68\x58\x2c\x2c\x1e\xba\xf0\xe6\xb0\x44\x78\x4b\x58\x32\xbc" "\x35\x2c\x15\xde\x16\x96\x0e\x6f\x0f\xcb\x84\x77\x84\x65\xc3\x72\x61" "\xf9\xb0\x42\x78\x67\x58\x31\xbc\x2b\xac\x14\xde\x1d\x56\x0e\xef\x09" "\xab\x84\x55\xc3\x6a\x61\xf5\xf0\xde\xb0\x46\x78\x5f\x58\x33\xbc\x3f" "\xac\x15\x3e\x10\x96\x0a\x1f\x0c\xeb\x84\x0f\x85\x75\xc3\x87\xc3\x7a" "\xe1\x23\xe1\xa3\xe1\x63\x61\xfd\xf0\xf1\xb0\x41\xf8\x44\xd8\x30\x6c" "\x14\x36\x0e\x9b\x84\x4d\xc3\x27\xb3\xff\xfc\x5a\x0b\x5b\x86\x4f\x87" "\xad\xc2\x67\xc2\xd6\xe1\xb3\x61\x52\xf8\x5c\xd8\x26\x7c\x3e\x6b\x7f" "\xd8\x2c\x7c\x2a\x6c\x1e\xb6\xf8\x87\xfb\x93\xc3\xee\x61\x8f\xf0\xb5" "\xf0\xb5\xd0\xfb\xfb\xe5\xdc\xe8\xbc\x68\x5a\xf4\xe3\xe8\xfc\xe8\x82" "\x68\x7a\xf4\x93\xe8\xc2\xe8\xa7\xd1\x8c\xe8\xa2\xe8\xe2\xe8\x92\xe8" "\xd2\xe8\xb2\xe8\xf2\xe8\x8a\xe8\xca\xe8\xaa\xe8\xea\xe8\x9a\xe8\xda" "\xe8\xba\xe8\xfa\xe8\x86\xa8\xf7\xd5\xb3\x83\x43\x27\x9c\x74\xca\x05" "\x2e\x9b\xcb\xee\x62\x5c\x0e\x17\xeb\xae\x71\x71\xee\x5a\x97\xd3\xe5" "\x72\x11\x77\x9d\x8b\x77\xd7\xbb\xdc\xee\x06\x97\xc7\xe5\x75\xf9\x5c" "\x7e\x97\xe0\x0a\xb8\x82\x4e\x3b\xe3\xac\x23\x17\xba\x42\xae\xb0\x8b" "\xba\x1b\x5d\x11\x77\x93\x4b\x74\x45\x5d\x31\x57\xdc\x39\x77\xb3\x2b" "\xe1\x9a\xb8\xa6\xae\xa9\x6b\xe6\x9e\x72\xcd\x5d\x0b\xd7\xd2\x3d\xed" "\x9e\x76\xcf\xb8\x67\xdc\xb3\xee\x59\xf7\x9c\x6b\xe3\x9e\x77\x6d\xdd" "\x0b\xae\x9d\x7b\xd1\xb5\x77\x2f\xb9\x97\xdc\xcb\xae\xa3\xeb\xe4\x3a" "\xbb\x57\x5c\x17\xf7\xaa\xeb\xea\xba\xb9\x64\x97\xec\x7a\xb8\x1e\xae" "\xa7\xeb\xe9\x7a\xbb\xde\xae\xaf\xeb\xeb\xfa\xbb\xfe\x6e\x80\x1b\xe0" "\x06\xba\x81\x6e\xb0\x1b\xec\x86\xb8\x21\x6e\xa8\x1b\xea\x86\xb9\x61" "\x6e\x84\x1b\xe1\x46\xba\x91\x6e\xb4\x1b\xed\xc6\xba\xb1\x2e\xc5\xa5" "\xb8\xf1\x6e\xbc\x9b\xe0\x26\xb8\x89\x6e\xa2\x9b\xec\x26\xbb\x54\x97" "\xea\xa6\xb9\x69\x6e\xba\x9b\xee\x66\xba\x99\x6e\x96\x9b\xe5\x66\xbb" "\xd9\x6e\xae\x9b\xeb\xd2\x5c\x9a\x9b\xef\xe6\xbb\x74\x97\xee\x16\xba" "\x85\x2e\xc3\x65\xb8\xc5\x6e\xb1\x5b\xea\x96\xba\xe5\x6e\xb9\x5b\xe9" "\x56\xba\xd5\x6e\xb5\x5b\xeb\xd6\xba\xf5\x6e\xbd\xdb\xe8\x36\xba\xcd" "\x6e\xb3\xdb\xea\xb6\xba\xed\x6e\xbb\xdb\xe9\x76\xba\xdd\x6e\xb7\xdb" "\xeb\xf6\xba\x4c\x97\xe9\xf6\xb9\x7d\x6e\xbf\xdb\xef\x0e\xb8\x2f\xdd" "\x41\xf7\x95\x3b\xe4\xbe\x76\x87\xdd\x37\xee\x88\xfb\xd6\x1d\x75\xdf" "\xb9\x63\xee\xb8\x3b\xe1\x4e\xba\x53\xee\x7b\x77\xda\x9d\x71\x67\xdd" "\x39\x77\xde\xfd\xe0\x2e\xb8\x8b\xee\x92\xf3\x2e\x25\xf2\x6e\x64\x7c" "\xe4\xbd\xc8\x84\xc8\xfb\x91\x89\x91\x49\x91\xc9\x91\x29\x91\xd4\xc8" "\xd4\xc8\xb4\xc8\x07\x91\xe9\x91\x19\x91\x99\x91\x0f\x23\xb3\x22\x1f" "\x45\x66\x47\xe6\x44\xe6\x46\xe6\x45\xd2\x22\x1f\x47\xe6\x47\x16\x44" "\xd2\x23\x9f\x44\x16\x46\x3e\x8d\x64\x44\x16\x45\x16\x47\x96\x44\x96" "\x46\x96\x45\xbc\x2f\xb0\x39\xf4\x85\x7c\x61\x1f\xf5\x37\xfa\x22\xfe" "\x26\x9f\xe8\x8b\xfa\x62\xbe\xb8\x77\xfe\x66\x5f\xc2\xdf\xe2\x4b\xfa" "\x5b\x7d\x29\x7f\x9b\x2f\xed\x6f\xf7\x65\xfc\x1d\xbe\xac\x2f\xe7\xcb" "\xfb\x27\x7c\x43\xdf\xc8\x37\xf6\x4d\x7c\x53\xff\xa4\x6f\xe6\x9f\xf2" "\xcd\x7d\x0b\xdf\xd2\x3f\xed\x5b\xf9\x67\x7c\x6b\xff\xac\x4f\xf2\xcf" "\xf9\x36\xfe\x79\xdf\xd6\xbf\xe0\xdb\xf9\x17\x7d\x7b\xff\x92\xef\xe0" "\x5f\xf6\x1d\x7d\x27\xdf\xd9\xbf\xe2\xbb\xf8\x57\x7d\x57\xdf\xcd\x27" "\xfb\xee\xbe\x87\x7f\xcd\xf7\xf4\xbd\x7c\x6f\xdf\xc7\xf7\xf5\xfd\x7c" "\x7f\xff\xba\x1f\xe0\xdf\xf0\x03\xfd\x20\x3f\xd8\xbf\xe9\x87\xf8\xb7" "\xfc\x50\xff\xb6\x1f\xe6\x87\xfb\x11\xfe\x1d\x3f\xd2\x8f\xf2\xa3\xfd" "\x18\x3f\xd6\x8f\xf3\x29\xfe\x5d\x3f\xde\xbf\xe7\x27\xf8\xf7\xfd\x44" "\x3f\xc9\x4f\xf6\x53\x7c\xaa\x9f\xea\xa7\xf9\x0f\xfc\x74\x3f\xc3\xcf" "\xf4\x1f\xfa\x59\xfe\x23\x3f\xdb\xcf\xf1\x73\xfd\x3c\x9f\xe6\x3f\xf6" "\xf3\xfd\x02\x9f\xee\x3f\xf1\x0b\xfd\xa7\x3e\xc3\x2f\xf2\x8b\xfd\x12" "\xbf\xd4\x2f\xf3\xcb\xfd\x0a\xbf\xd2\xaf\xf2\xab\xfd\x1a\xbf\xd6\xaf" "\xf3\xeb\xfd\x06\xbf\xd1\x6f\xf2\x9b\xfd\x16\xbf\xd5\x6f\xf3\xdb\xfd" "\x0e\xbf\xd3\xef\xf2\xbb\xfd\x1e\xbf\xd7\x7f\xe6\x33\xfd\xe7\x7e\x9f" "\xff\x8b\xdf\xef\xbf\xf0\x07\xfc\x97\xfe\xa0\xff\xca\x1f\xf2\x5f\xfb" "\xc3\xfe\x1b\x7f\xc4\x7f\xeb\x8f\xfa\xef\xfc\x31\x7f\xdc\x9f\xf0\x27" "\xfd\x29\xff\xbd\x3f\xed\xcf\xf8\xb3\xfe\x9c\x3f\xef\x7f\xf0\x17\xfc" "\x45\x7f\x89\x7f\x67\x8d\x31\xc6\x18\x63\xec\x9f\xf2\x5b\xdf\xfd\xef" "\xfe\xbf\xe4\x88\x9f\xdb\x3d\x00\xe0\xda\x2d\xf9\x0f\xfe\xcf\xfd\x6b" "\xf3\xfc\xd4\xee\x95\x3d\xa1\x55\x04\x00\x9e\xeb\xd6\xe1\x91\x5f\xb6" "\x2a\x55\x92\x93\x93\x7f\x3e\x36\x43\x42\x50\x78\x0e\x00\x44\x2e\xe7" "\x67\x83\xcb\xf1\x22\x68\x09\xcf\x40\x12\xb4\x80\x92\x7f\xdd\x1f\xf3" "\x37\xe7\xea\x25\x3a\x9d\xa7\xdf\xe8\x3f\x7a\x3b\x40\xec\xdf\xe4\x64" "\xe5\xff\x12\x5f\xee\xff\xd6\x7f\x38\xff\x5e\x62\xd4\xac\xdf\xec\x7f" "\x4e\x37\x48\x2c\x7c\x39\x27\x07\xc0\x5f\xe3\xcb\xfd\x97\xfa\x5f\xfa" "\xcf\xdb\xec\x37\xfa\xcf\xf1\x45\x0a\x40\xf3\xbf\xc9\x89\x83\xcb\xf1" "\xe5\xfe\x4b\xc0\x53\xf0\x3c\x24\xfd\xdd\x91\x8c\x31\xc6\x18\x63\x8c" "\x31\xc6\xd8\x4f\x7a\x89\xf2\xed\x7e\xeb\xfa\x36\xeb\xfa\x3c\x41\x5d" "\xce\xc9\x0e\x97\xe3\x7f\x74\x7d\xce\x18\x63\x8c\x31\xc6\x18\x63\x8c" "\xb1\xff\x2c\x2f\x76\xea\xfc\xec\x93\x49\x49\x2d\xda\x71\xe3\x8f\x6a" "\xf8\x5c\x3f\x3d\xd5\xff\x29\xe3\xe1\xc6\x7f\x7b\xe3\x97\x57\x54\xf6" "\x3f\xf2\x5c\x57\xf4\xc7\x12\x63\x8c\x31\xc6\x18\x63\xec\x0f\x70\x79" "\xd1\x7f\xa5\x47\xc2\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\x5d\xbd\xfe\x7f\xfc\xc5\xb2\x5f" "\xce\xf5\x5b\xff\x6b\x90\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\xfb\xb3\xfa\x7f\x01\x00\x00\xff\xff\xb5\x0e\x32\x33", 5405)); NONFAILING(syz_mount_image( /*fs=*/0x200000001500, /*dir=*/0x200000001540, /*flags=MS_I_VERSION|MS_NOEXEC|MS_NOATIME|MS_DIRSYNC*/ 0x800488, /*opts=*/0x200000000100, /*chdir=*/1, /*size=*/0x151d, /*img=*/0x200000002a80)); break; case 1: NONFAILING(memcpy((void*)0x200000000080, "./file1\000", 8)); syscall(__NR_truncate, /*file=*/0x200000000080ul, /*len=*/0xf000ul); break; case 2: NONFAILING(memcpy((void*)0x200000000240, ".\000", 2)); res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000240ul, /*flags=*/0, /*mode=*/0); if (res != -1) r[0] = res; break; case 3: NONFAILING(*(uint32_t*)0x200000000080 = 1); NONFAILING(*(uint32_t*)0x200000000084 = 0); NONFAILING(memcpy((void*)0x200000000088, "\343U\247j\021\241\276\030", 8)); NONFAILING(memset((void*)0x200000000090, 0, 24)); NONFAILING(memset((void*)0x2000000000ac, 0, 20)); 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); setup_sysctl(); const char* reason; (void)reason; if ((reason = setup_802154())) printf("the reproducer may not work as expected: 802154 injection setup " "failed: %s\n", reason); install_segv_handler(); for (procid = 0; procid < 5; procid++) { if (fork() == 0) { use_temporary_dir(); loop(); } } sleep(1000000); return 0; }