// https://syzkaller.appspot.com/bug?id=fba4d05c2b91aacea325441c353e73e0049d8c37 // 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 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, 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 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, loopfd = -1, 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) { memset(loopname, 0, sizeof(loopname)); snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); if (setup_loop_device(data, size, loopname, &loopfd) == -1) return -1; 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) { ioctl(loopfd, LOOP_CLR_FD, 0); close(loopfd); } errno = err; return res; } 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"); } static void setup_sysctl() { char mypid[32]; snprintf(mypid, sizeof(mypid), "%d", getpid()); 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", mypid}, }; for (size_t i = 0; i < sizeof(files) / sizeof(files[0]); i++) { if (!write_file(files[i].name, files[i].data)) printf("write to %s failed: %s\n", files[i].name, strerror(errno)); } } #define NL802154_CMD_SET_SHORT_ADDR 11 #define NL802154_ATTR_IFINDEX 3 #define NL802154_ATTR_SHORT_ADDR 10 static void setup_802154() { int sock_route = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); if (sock_route == -1) exit(1); int sock_generic = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); if (sock_generic < 0) exit(1); int nl802154_family_id = netlink_query_family_id(&nlmsg, sock_generic, "nl802154", true); 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)); int err = netlink_send(&nlmsg, sock_generic); if (err < 0) { } 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)); int err = netlink_send(&nlmsg, sock_route); if (err < 0) { } } } close(sock_route); close(sock_generic); } 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) { int i, call, thread; for (call = 0; call < 3; 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); if (call == 0) break; 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++) { reset_loop(); int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { setup_test(); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5000) continue; kill_and_wait(pid, &status); break; } } } uint64_t r[1] = {0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: NONFAILING(memcpy((void*)0x20000200, "exfat\000", 6)); NONFAILING(memcpy((void*)0x200000c0, "./file1\000", 8)); NONFAILING(memcpy( (void*)0x20000280, "\x64\x69\x73\x63\x61\x72\x64\x2c\x69\x6f\x63\x68\x61\x72\x73\x65\x74" "\x3d\x63\x70\x38\x36\x35\x2c\x6e\x61\x6d\x65\x63\x61\x73\x65\x3d\x31" "\x2c\x75\x74\x66\x38\x2c\x65\x72\x72\x6f\x72\x73\x3d\x63\x6f\x6e\x74" "\x69\x6e\x75\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30" "\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x33" "\x2c\x64\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30" "\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x32\x2c\x66\x6d\x61" "\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30" "\x30\x30\x30\x30\x30\x30\x30\x30\x33\x2c\x75\x74\x66\x38\x2c\x75\x74" "\x66\x38\x2c\x69\x6f\x63\x68\x61\x72\x73\x65\x74\x3d\x63\x70\x37\x37" "\x35\x2c\x00\xa9\xd8\x6f\x71\x8a\xe5\xf0\x99\x5c\x2b\x7f\xfb\xac\xa5" "\x92\xd4\x74\x7b\xec\x34\x71\xdc\xab\x65\x45\x3a\x1d\xd8\x4f\x8a\xd2" "\x09\xf2\xdc\x3f\xb7\x40\x37\x26\x8b\x57\x44\x91\xa5\x5c\xaa\x55\x96" "\xce\x47\xc8\xf0\xb0\x1a\xff\x6e", 229)); NONFAILING(memcpy( (void*)0x20001880, "\x78\x9c\xec\xdc\x0b\x9c\x8e\xd5\x1a\x28\xf0\xf5\xac\xb5\xde\x31\xa6" "\x49\x5f\x93\x5c\x86\xf5\xac\xe7\xe5\x4b\x83\x65\x92\x24\x97\x24\xb9" "\x24\x49\x92\x24\x09\x09\x49\x93\x6c\x49\x48\x0c\x21\x49\x43\x12\x72" "\x9d\x24\x97\x21\x34\xb9\x4c\x4c\x1a\xf7\xfb\x25\xf7\xa4\xc9\x96\x24" "\x49\x6e\xb9\x85\x75\x7e\xda\xed\x63\xef\xdd\xde\xdb\x3e\x67\x77\x8e" "\xf3\x3b\xf3\xfc\x7f\xbf\xf5\x9b\xf5\xcc\xfb\x3d\xcf\xb7\xd6\x3c\x33" "\xf3\xbd\xef\x37\xbf\x79\x7f\xe8\x36\xac\x4e\xb3\xba\x35\x9b\x10\x91" "\xf8\xaf\xc0\x5f\x3e\xa4\x0a\x21\x62\x85\x10\x83\x84\x10\xd7\x09\x21" "\x02\x21\x44\xc5\x84\x8a\x09\x97\x8e\xe7\x57\x90\xfa\xdf\x3d\x09\xfb" "\x63\x3d\x92\x71\xb5\x57\xc0\xae\x26\xee\x7f\xde\xc6\xfd\xcf\xdb\xb8" "\xff\x79\x1b\xf7\x3f\x6f\xe3\xfe\xe7\x6d\xdc\xff\xff\xcf\x65\x7a\xef" "\xff\xcd\x61\xee\x7f\xde\xc6\xfd\x67\x2c\x2f\xdb\x3c\xa3\xe8\xf5\x3c" "\xf2\xee\xe0\xf7\xff\xf3\x32\x7e\xfd\xcf\xdb\xb8\xff\x79\x1b\xf7\x3f" "\x6f\xe3\xfe\xe7\x6d\xdc\xff\xbc\x8d\xfb\x9f\xb7\x71\xff\xf3\x1e\xf5" "\x37\x73\xee\x7f\xde\xc6\xfd\x67\x2c\x2f\xbb\xda\xef\x3f\xf3\xb8\xba" "\xe3\x6a\x7f\xff\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\xc6\x18\xcb\x1b\xce\xf8" "\xcb\xb4\x10\xe2\xaf\xf3\xab\xbd\x2e\xc6\x18\x63\x8c\x31\xc6\x18\x63" "\x8c\xfd\x71\x7c\xbe\xab\xbd\x02\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c" "\xfd\x9f\x07\x42\x0a\x25\xb4\x08\x44\x8c\xc8\x27\x62\x45\x7e\x11\x27" "\xae\x11\xf1\xe2\x5a\x51\x40\x5c\x27\x22\xe2\x7a\x91\x20\x6e\x10\x05" "\xc5\x8d\xae\xd5\x6f\x19\x89\xa2\x98\x28\x2e\x8c\x40\x61\x05\x89\x50" "\x94\x10\x25\x45\x54\xdc\x24\x4a\x89\x9b\x45\x92\x28\x2d\xca\x88\xb2" "\xc2\x89\x72\x22\x59\xdc\x22\xca\x8b\x5b\x45\x05\x71\x9b\xa8\x28\x6e" "\x17\x95\xc4\x1d\xa2\xb2\xa8\x22\xaa\x8a\x6a\xe2\x4e\x51\x5d\xdc\x25" "\x6a\x88\xbb\x45\x4d\x71\x8f\xa8\x25\x6a\x8b\x3a\xa2\xae\xb8\x57\xd4" "\x13\xf7\x89\xfa\xe2\x7e\xd1\x40\x3c\x20\x1a\x8a\x07\x45\x23\xf1\x90" "\x68\x2c\x1e\x16\x4d\xc4\x23\xa2\xa9\x78\x54\x34\x13\x8f\x89\xe6\xe2" "\x71\xd1\x42\x3c\x21\x5a\x8a\x56\xa2\xf5\xff\x56\xfe\xcb\xa2\x97\x78" "\x45\xf4\x16\x7d\x44\xaa\xe8\x2b\xfa\x89\x57\x45\x7f\xef\x7d\x9f\x5f" "\x77\xf7\xba\x18\x2c\xde\x10\x43\xc4\x9b\x22\x4d\x0c\x15\xc3\xc4\x5b" "\x62\xb8\x78\x5b\x8c\x10\xef\x88\x91\x62\x94\x18\x2d\xde\x15\x63\xc4" "\x58\x31\x4e\x8c\x17\x13\xc4\x44\x91\x2e\xde\x13\x93\xc4\xfb\x62\xb2" "\xf8\x40\x4c\x11\x53\xc5\x34\x31\x5d\x64\x88\x19\x62\xa6\xf8\x50\xcc" "\x12\xb3\xc5\x1c\xf1\x91\xc8\x14\x1f\x8b\xb9\x62\x9e\x98\x2f\x16\x88" "\x2c\xf1\x89\x58\x28\x16\x89\x6c\xf1\xa9\x58\x2c\x3e\x13\x39\x62\x89" "\x58\x2a\x96\x89\xe5\x62\x85\x58\x29\x56\x89\xd5\x62\x8d\x58\x2b\xd6" "\x89\xf5\x62\x83\xd8\x28\x36\x89\xcd\xe2\x73\xb1\x45\x6c\x15\xdb\xc4" "\x76\xb1\x43\xec\x14\xbb\xc4\x17\x62\xb7\xf8\x52\xec\x11\x5f\x89\x5c" "\xf1\xf5\xff\x62\xfe\xe9\x7f\xc8\xef\x0e\x02\x04\x48\x90\xa0\x41\x43" "\x0c\xc4\x40\x2c\xc4\x42\x1c\xc4\x41\x3c\xc4\x43\x01\x28\x00\x11\x88" "\x40\x02\x24\x40\x41\x28\x08\x85\xa0\x10\x14\x81\x22\x90\x08\x89\x50" "\x1c\x8a\x03\x02\x02\x01\x41\x09\x28\x01\x51\x88\x42\x29\x28\x05\x49" "\x90\x04\x65\xa0\x0c\x38\x70\x90\x0c\xc9\x50\x1e\x6e\x85\x0a\x50\x01" "\x2a\x42\x45\xa8\x04\x95\xa0\x32\x54\x81\x2a\x50\x0d\xaa\x41\x75\xa8" "\x0e\x35\xa0\x06\xd4\x84\x9a\x50\x0b\x6a\x41\x1d\xa8\x03\xf7\xc2\xbd" "\x70\x1f\xd4\x87\xfa\xd0\x00\x1a\x40\x43\x68\x08\x8d\xa0\x11\x34\x86" "\xc6\xd0\x04\x9a\x40\x53\x68\x0a\xcd\xa0\x19\x34\x87\xe6\xd0\x02\x5a" "\x40\x4b\x68\x09\xad\xa1\x35\xb4\x81\x36\xd0\x16\xda\x42\x7b\x68\x0f" "\x1d\xa0\x03\x74\x84\x8e\x90\x02\x29\xd0\x09\x3a\x41\x67\xe8\x0c\x5d" "\xa0\x0b\x74\x85\xae\xd0\x0d\xba\x41\x77\xe8\x01\x3d\xe0\x65\x78\x19" "\x5e\x81\x57\xa0\x0f\xd4\x92\x7d\xa1\x1f\xf4\x83\xfe\xd0\x1f\x06\xc2" "\x6b\xf0\x1a\xbc\x0e\x83\xe1\x0d\x78\x03\xde\x84\x34\x18\x0a\xc3\xe0" "\xad\x98\xbf\xfe\xa0\x8c\x84\x51\x30\x1a\x46\x43\x75\x39\x16\xc6\xc1" "\x78\x20\x39\x11\xd2\x21\x1d\x26\xc1\x24\x98\x0c\x93\x61\x0a\x4c\x85" "\xa9\x30\x1d\x32\x60\x06\xcc\x84\x99\x30\x0b\x66\xc3\x6c\xf8\x08\x32" "\xe1\x63\xf8\x18\xe6\xc1\x3c\x58\x00\x59\x90\x05\x0b\x61\x11\x64\x43" "\x36\x2c\x86\xd3\x90\x03\x4b\x60\x29\x2c\x83\xe5\xb0\x02\x96\xc3\x2a" "\x58\x0d\xab\x60\x2d\xac\x83\xb5\xb0\x01\x36\xc0\x26\xd8\x04\x9f\xc3" "\xe7\xb0\x15\xb6\xc2\x76\xd8\x0e\x3b\x61\x27\x7c\x01\x5f\xc0\x97\xf0" "\x25\xa4\x41\x2e\xe4\xc2\x5e\xd8\x0b\xfb\x60\x1f\xec\x87\xfd\x70\x00" "\x0e\xc0\x41\x38\x08\x87\xe0\x10\x1c\x86\xc3\x70\x04\x8e\xc0\x51\x38" "\x06\xc7\xe1\x18\x9c\x84\x93\x70\x0a\x4e\xc3\x19\x38\x03\xe7\xe0\x1c" "\x9c\x87\x17\x13\xbf\x6b\xba\xb3\xf4\x9a\x34\x21\x2f\xd1\x52\xcb\x18" "\x19\x23\x63\x65\xac\x8c\x93\x71\x32\x5e\xc6\xcb\x02\xb2\x80\x8c\xc8" "\x88\x4c\x90\x09\xb2\xa0\x2c\x28\x0b\xc9\x42\xb2\x88\x2c\x22\x13\x65" "\xa2\x2c\x2e\x8b\x4b\x94\x28\x49\x86\xb2\x84\x2c\x21\xa3\x32\x2a\x4b" "\xc9\x52\x32\x49\x26\xc9\x32\xb2\x8c\x74\xd2\xc9\x64\x99\x2c\xcb\xcb" "\xf2\xb2\x82\xac\x20\x2b\xca\xdb\x65\x25\x79\x87\xac\x2c\xab\xc8\x76" "\xae\x9a\xac\x26\xab\xcb\xf6\xae\x86\xbc\x5b\xd6\x94\x35\x65\x2d\x59" "\x5b\xd6\x91\x75\x65\x5d\x59\x4f\xd6\x93\xf5\x65\x7d\xd9\x40\x36\x90" "\x0d\x65\x43\xd9\x48\x3e\x24\x1b\xcb\xbe\x30\x10\x1e\x91\x97\x3a\xd3" "\x4c\x0e\x85\xe6\x72\x18\xb4\x90\x4f\xc8\x96\xb2\x95\x7c\x1b\x9e\x94" "\x6d\xe4\x08\x68\x2b\xdb\xc9\xf6\xf2\x69\x39\x0a\x46\x42\x47\xd9\xc6" "\xa5\xc8\xe7\x64\x27\x39\x0e\x3a\x4b\x90\xe3\xe1\x05\xd9\x55\x4e\x84" "\x6e\xf2\x25\xd9\x5d\xf6\x90\x3d\xe5\xcb\xb2\x97\x6c\xeb\x7a\xcb\x3e" "\x72\x0a\xf4\x95\x31\x62\x3a\xf4\x97\x03\xe4\x40\xf9\x9a\x9c\x05\xb5" "\xe5\xa5\x8e\xd5\x91\x6f\xca\x34\x39\x54\x0e\x93\x6f\xc9\x05\xf0\xb6" "\x1c\x21\xdf\x91\x23\xe5\x28\x39\x5a\xbe\x2b\xc7\xc8\xb1\x72\x9c\x1c" "\x2f\x27\xc8\x89\x32\x5d\xbe\x27\x27\xc9\xf7\xe5\x64\xf9\x81\x9c\x22" "\xa7\xca\x69\x72\xba\xcc\x90\x33\xe4\x4c\xf9\xa1\x9c\x25\x67\xcb\x39" "\xf2\x23\x99\x29\x3f\x96\x73\xe5\x3c\x39\x5f\x2e\x90\x59\xf2\x13\xb9" "\x50\x2e\x92\xd9\xf2\x53\xb9\x58\x7e\x26\x73\xe4\x12\xb9\x54\x2e\x93" "\xcb\xe5\x0a\xb9\x52\xae\x92\xab\xe5\x1a\xb9\x56\x8e\xcf\xbf\x5e\x6e" "\x90\x1b\xe5\x26\xb9\x59\x7e\x2e\xb7\xc8\xad\x72\x9b\xdc\x2e\x77\xc8" "\x9d\x72\x97\xfc\x42\xee\x96\x5f\xca\x3d\xf2\x2b\x99\x2b\xbf\x96\x7b" "\xe5\x9f\xe5\x3e\xf9\x8d\xdc\x2f\xbf\x95\x07\xe4\x77\xf2\xa0\xfc\x5e" "\x1e\x92\x3f\xc8\xc3\xf2\x47\x79\x44\xfe\x24\x8f\xca\x63\xf2\xb8\x3c" "\x21\x4f\xca\x9f\xe5\x29\x79\x5a\x9e\x91\x67\xe5\x39\xf9\x8b\x3c\x2f" "\x2f\xc8\x8b\xd2\x4b\xa1\x40\x49\xa5\x94\x56\x81\x8a\x51\xf9\x54\xac" "\xca\xaf\xe2\xd4\x35\x2a\x5e\x5d\xab\x0a\xa8\xeb\x54\x44\x5d\xaf\x12" "\xd4\x0d\xaa\xa0\xba\x51\x15\x52\x85\x55\x11\x55\x54\x25\xaa\x62\xaa" "\xb8\x32\x0a\x95\x55\xa4\x42\x55\x42\x95\x54\x51\x75\x93\x2a\xa5\x6e" "\x56\x49\xaa\xb4\x2a\xa3\xca\x2a\xa7\xca\xa9\x64\x75\x8b\x2a\xaf\x6e" "\x55\x15\xd4\x6d\xaa\xa2\xba\x5d\x55\x52\x77\xa8\xca\xaa\x8a\xaa\xaa" "\xaa\xa9\x3b\x55\x75\x75\x97\xaa\xa1\xee\x56\x35\xd5\x3d\xaa\x96\xaa" "\xad\xea\xa8\xba\xea\x5e\x55\x4f\xdd\xa7\xea\xab\xfb\x55\x03\xf5\x80" "\x6a\xa8\x1e\x54\x8d\xd4\x43\xaa\xb1\x7a\x58\x35\x51\x8f\xa8\xa6\xea" "\x51\xd5\x4c\x3d\xa6\x9a\xab\xc7\x55\x0b\xf5\x84\x6a\xa9\x5a\xa9\xd6" "\xea\x49\xd5\x46\x3d\xa5\xda\xaa\x76\xaa\xbd\x7a\x5a\x75\x50\xcf\xa8" "\x8e\xea\x59\x95\xa2\x9e\x53\x9d\xd4\xf3\xaa\xb3\xfa\x93\xea\xa2\x5e" "\x50\x5d\xd5\x8b\xaa\x9b\x7a\x49\x75\x57\x3d\x54\x4f\x75\x41\x5d\x54" "\x5e\xf5\x56\x7d\x54\xaa\xea\xab\xfa\xa9\x57\x55\x7f\x35\x40\x0d\x54" "\xaf\xa9\x41\xea\x75\x35\x58\xbd\xa1\x86\xa8\x37\x55\x9a\x1a\xaa\x86" "\xa9\xb7\xd4\x70\xf5\xb6\x1a\xa1\xde\x51\x23\xd5\x28\x35\x5a\xbd\xab" "\xc6\xa8\xb1\x6a\x9c\x1a\xaf\x26\xa8\x89\x2a\x5d\xbd\xa7\x26\xa9\xf7" "\xd5\x64\xf5\x81\x9a\xa2\xa6\xaa\x69\x6a\xba\xca\x50\x33\xd4\xc0\xdf" "\x2a\xcd\xf9\x0f\xf2\xdf\xff\x27\xf9\x43\x7e\x7d\xf6\x4d\x6a\xb3\xfa" "\x5c\x6d\x51\x5b\xd5\x36\xb5\x5d\xed\x50\x3b\xd5\x2e\xb5\x4b\xed\x56" "\xbb\xd5\x1e\xb5\x47\xe5\xaa\x5c\xb5\x57\xed\x55\xfb\xd4\x3e\xb5\x5f" "\xed\x57\x07\xd4\x01\x75\x50\x1d\x54\x87\xd4\x21\x75\x58\x1d\x56\x47" "\xd4\x11\x75\x54\x1d\x53\x67\xd5\x09\x75\x52\xfd\xac\x4e\xa9\xd3\xea" "\xb4\x3a\xab\xce\xa9\x73\xea\xfc\x6f\x5f\x03\xa1\x41\x4b\xad\xb4\xd6" "\x81\x8e\xd1\xf9\x74\xac\xce\xaf\xe3\xf4\x35\x3a\x5e\x5f\xab\x0b\xe8" "\xeb\x74\x44\x5f\xaf\x13\xf4\x0d\xba\xa0\xbe\x51\x17\xd2\x85\x75\x11" "\x5d\x54\x27\xea\x62\xba\xb8\x36\x1a\xb5\xd5\xa4\x43\x5d\x42\x97\xd4" "\x51\x7d\x93\x2e\xa5\x6f\xd6\x49\xba\xb4\x2e\xa3\xcb\x6a\xa7\xcb\xe9" "\x64\x7d\xcb\x7f\x9d\x7f\xa5\xf5\xb5\xd6\xad\x75\x1b\xdd\x46\xb7\xd5" "\x6d\x75\x7b\xdd\x5e\x77\xd0\x1d\x74\x47\xdd\x51\xa7\xe8\x14\xdd\x49" "\x77\xd2\x9d\x75\x67\xdd\x45\x77\xd1\x5d\x75\x57\xdd\x4d\x77\xd3\xdd" "\x75\x77\xdd\x53\xf7\xd4\xbd\x74\x2f\xdd\x5b\xf7\xd6\xa9\x3a\x55\xf7" "\xd3\xaf\xea\xfe\x7a\x80\x1e\xa8\x5f\xd3\x83\xf4\xeb\x7a\xb0\x1e\xac" "\x87\xe8\x21\x3a\x4d\xa7\xe9\x61\x7a\x98\x1e\xae\x87\xeb\x11\x7a\x84" "\x1e\xa9\x47\xea\xd1\x7a\xb4\x1e\xa3\xc7\xe8\x71\x7a\x9c\x9e\xa0\x27" "\xe8\x74\x9d\xae\x27\xe9\x49\x7a\xb2\x9e\xac\xa7\xe8\x29\x7a\x9a\x9e" "\xa6\x33\x74\x86\x9e\xa9\x67\xea\x59\x7a\x96\x9e\xa3\xe7\xe8\x4c\x9d" "\xa9\xe7\xea\xb9\x7a\xbe\x9e\xaf\xb3\x74\x96\x5e\xa8\x17\xea\x6c\x9d" "\xad\x17\xeb\xc5\x3a\x47\x2f\xd1\x4b\xf4\x32\xbd\x4c\xaf\xd0\x2b\xf4" "\x2a\xbd\x4a\xaf\xd1\x6b\xf4\x3a\xbd\x4e\x6f\xd0\x1b\x74\x8e\xde\xac" "\x37\xeb\x2d\x7a\x8b\xde\xa6\xb7\xe9\x1d\x7a\x87\xde\xa5\x77\xe9\xdd" "\x7a\xb7\xde\xa3\xf7\xe8\x5c\x9d\xab\xf7\xea\xbd\x7a\x9f\xde\xa7\xf7" "\xeb\xfd\xfa\x80\x3e\xa0\x0f\xea\x83\xfa\x90\x3e\xa4\x0f\xeb\xc3\xfa" "\x88\x3e\xa2\x8f\xea\xa3\xfa\xb8\x3e\xae\x4f\xea\x93\xfa\x94\x3e\xa5" "\xcf\xe8\x33\xfa\x9c\x3e\xa7\xcf\xeb\xf3\xfa\xa2\xbe\x78\xe9\xb4\x2f" "\x90\x81\x0c\x74\xa0\x83\x98\x20\x26\x88\x0d\x62\x83\xb8\x20\x2e\x88" "\x0f\xe2\x83\x02\x41\x81\x20\x12\x44\x82\x84\x20\x21\x28\x18\xdc\x18" "\x14\x0a\x0a\x07\x45\x82\xa2\x41\x62\x50\x2c\x28\x1e\x98\x00\x03\x1b" "\x50\x10\x06\x25\x82\x92\x41\x34\xb8\x29\x28\x15\xdc\x1c\x24\x05\xa5" "\x83\x32\x41\xd9\xc0\x05\xe5\x82\xe4\xe0\x96\xa0\x7c\x70\x6b\x50\x21" "\xb8\x2d\xa8\x18\xdc\x1e\x54\x0a\xee\x08\x2a\x07\x55\x82\xaa\x41\xb5" "\xe0\xce\xa0\x7a\x70\x57\x50\x23\xb8\x3b\xa8\x19\xdc\x13\xd4\x0a\x6a" "\x07\x75\x82\xba\xc1\xbd\x41\xbd\xe0\xbe\xa0\x7e\x70\x7f\xd0\x20\x78" "\x20\x68\x18\x3c\x18\x34\x0a\x1e\x0a\x1a\x07\x0f\x07\x4d\x82\x47\x82" "\xa6\xc1\xa3\x41\xb3\xe0\xb1\xa0\x79\xf0\x78\xd0\x22\x78\x22\x68\x19" "\xb4\x0a\x5a\xff\xe7\xf5\x7d\xbe\x2b\xd6\xf7\xfe\x54\xe1\xa7\x5c\x6f" "\xd3\xc7\xa4\x9a\xbe\xa6\x9f\x79\xd5\xf4\x37\x03\xcc\x40\xf3\x9a\x19" "\x64\x5e\x37\x83\xcd\x1b\x66\x88\x79\xd3\xa4\x99\xa1\x66\x98\x79\xcb" "\x0c\x37\x6f\x9b\x11\xe6\x1d\x33\xd2\x8c\x32\xa3\xcd\xbb\x66\x8c\x19" "\x6b\xc6\x99\xf1\x66\x82\x99\x68\xd2\xcd\x7b\x66\x92\x79\xdf\x4c\x36" "\x1f\x98\x29\x66\xaa\x99\x66\xa6\x9b\x0c\x33\xc3\xcc\x34\x1f\x9a\x59" "\x66\xb6\x99\x63\x3e\x32\x99\xe6\x63\x33\xd7\xcc\x33\xf3\xcd\x02\x93" "\x65\x3e\x31\x0b\xcd\x22\x93\x6d\x3e\x35\x8b\xcd\x67\x26\xc7\x2c\x31" "\x4b\xcd\x32\xb3\xdc\xac\x30\x2b\xcd\x2a\xb3\xda\xac\x31\x6b\xcd\x3a" "\xb3\xde\x6c\x30\x1b\xcd\x26\xb3\xd9\x7f\x6e\xb6\x98\xad\x66\x9b\xd9" "\x6e\x76\x98\x9d\x66\x97\xf9\xc2\xec\x36\x5f\x9a\x3d\xe6\x2b\x93\x6b" "\xbe\x36\x7b\xcd\x9f\xcd\x3e\xf3\x8d\xd9\x6f\xbe\x35\x07\xcc\x77\xe6" "\xa0\xf9\xde\x1c\x32\x3f\x98\xc3\xe6\x47\x73\xc4\xfc\x64\x8e\x9a\x63" "\xe6\xb8\x39\x61\x4e\x9a\x9f\xcd\x29\x73\xda\x9c\x31\x67\xcd\x39\xf3" "\x8b\x39\x6f\x2e\x98\x8b\xc6\x5f\x3a\xb9\xbf\xf4\xf2\x8e\x1a\x35\xc6" "\x60\x0c\xc6\x62\x2c\xc6\x61\x1c\xc6\x63\x3c\x16\xc0\x02\x18\xc1\x08" "\x26\x60\x02\x16\xc4\x82\x58\x08\x0b\x61\x11\x2c\x82\x89\x98\x88\xc5" "\xb1\x38\x5e\x42\x48\x58\x02\x4b\x60\x14\xa3\x58\x0a\x4b\x61\x12\x26" "\x61\x19\x2c\x83\x0e\x1d\x26\x63\x32\x96\xc7\xf2\x58\x01\x2b\x60\x45" "\xac\x88\x95\xb0\x12\x56\xc6\x1a\xa2\x2a\x56\xc5\x3b\xf1\x4e\xbc\x0b" "\xef\xc2\xbb\xf1\x6e\xbc\x07\xef\xc1\xda\x58\x1b\xeb\x62\x5d\xac\x87" "\xf5\xb0\x3e\xd6\xc7\x06\xd8\x00\x1b\x62\x43\x6c\x84\x8d\xb0\x31\x09" "\x21\xb0\x09\x36\xc5\xa6\xd8\x0c\x9b\x61\x73\x6c\x8e\x2d\xb0\x05\xb6" "\xc4\x96\xd8\x1a\x5b\x63\x1b\x6c\x83\x6d\xb1\x2d\xb6\xc7\xf6\xd8\x01" "\x3b\x60\x47\xec\x88\x29\x98\x82\x9d\xb0\x13\x76\xc6\xce\xd8\x05\xbb" "\x60\x57\xec\x8a\xdd\xb0\x1b\x76\xc7\xee\xd8\x13\x7b\x62\x2f\xec\x85" "\xbd\xb1\x37\xa6\x62\x2a\xf6\xc3\x7e\xd8\x1f\xfb\xe3\x40\x1c\x88\x83" "\x70\x10\x0e\xc6\xc1\x38\x04\x87\x60\x1a\xa6\xe1\x30\x1c\x86\xc3\x71" "\x38\x8e\xc0\x11\x38\x12\x47\xe1\x68\x7c\x17\xc7\xe0\x58\x1c\x87\xe3" "\x71\x02\x4e\xc4\x74\x4c\xc7\x49\x38\x09\x27\xe3\x64\x9c\x82\x53\x70" "\x1a\x4e\xc3\x0c\xcc\xc0\x99\x38\x13\x67\xe1\x2c\x9c\x83\x73\x30\x13" "\x33\x71\x2e\xce\xc5\xf9\x38\x1f\xb3\x30\x0b\x17\xe2\x42\xcc\xc6\x6c" "\x5c\x8c\x8b\x31\x07\x73\x70\x29\x2e\xc5\xe5\xb8\x1c\x57\xe2\x4a\x5c" "\x8d\xab\x71\x2d\xae\xc5\xf5\xb8\x1e\x37\xe2\x46\xdc\x8c\x9b\x71\x0b" "\x6e\xc1\x6d\xb8\x0d\x77\xe0\x0e\xdc\x85\xbb\x70\x37\xee\xc6\x3d\xb8" "\x07\x73\x31\x17\xf7\xe2\x5e\xdc\x87\xfb\x70\x3f\xee\xc7\x03\x78\x00" "\x0f\xe2\x41\x3c\x84\x87\xf0\x30\x1e\xc6\x23\x78\x04\x8f\xe2\x51\x3c" "\x8e\xc7\xf1\x24\x9e\xc4\x53\x78\x0a\xcf\xe0\x19\x3c\x87\xbf\xe0\x79" "\xbc\x80\x17\xd1\x63\xac\xcd\x6f\xe3\xec\x35\x36\xde\x5e\x6b\x0b\xd8" "\xeb\xec\x3f\xc6\x45\x6c\x51\x9b\x68\x8b\xd9\xe2\xd6\xd8\x42\xb6\xf0" "\xdf\xc5\x68\xad\x4d\xb2\xa5\x6d\x19\x5b\xd6\x3a\x5b\xce\x26\xdb\x5b" "\x7e\x17\x57\xb6\x55\x6c\x55\x5b\xcd\xde\x69\xab\xdb\xbb\x6c\x0d\x0b" "\x42\x88\xbf\x8d\xeb\xd9\xfb\x6c\x7d\x7b\xbf\x6d\x60\x1f\xb0\x75\xed" "\xbd\x7f\x17\x37\xb4\x0f\xda\x46\xf6\x31\xdb\xd8\x3e\x6e\x9b\x14\xaf" "\xdd\xfe\x05\xdb\xca\x36\xb3\x8f\xd9\xe6\xf6\x71\xdb\xc2\x3e\x61\x5b" "\xda\x56\xb6\x83\x7d\xc6\x76\xb4\xcf\xda\x14\xfb\x9c\xed\x64\x9f\xff" "\x5d\xbc\xd0\x2e\xb2\xab\xed\x1a\xbb\xd6\xae\xb3\xbb\xed\x97\xf6\x8c" "\x3d\x6b\x0f\xd9\x1f\xec\x39\xfb\x8b\xed\x6d\xfb\xd8\x41\xf6\x75\x3b" "\xd8\xbe\x61\x87\xd8\x37\x6d\x9a\x1d\xfa\xbb\x78\xb4\x7d\xd7\x8e\xb1" "\x63\xed\x38\x3b\xde\x4e\xb0\x13\x7f\x17\x4f\xb3\xd3\x6d\x86\x9d\x61" "\x67\xda\x0f\xed\x2c\x3b\xfb\x77\x71\x96\xfd\xc4\x66\xda\x6c\x3b\xd7" "\xce\xb3\xf3\xed\x82\x5f\xe3\x4b\x6b\xca\xb6\x9f\xda\xc5\xf6\x33\x9b" "\x63\x97\xd8\xa5\x76\x99\x5d\x6e\x57\xd8\x95\x76\xd5\xff\x5c\xeb\x32" "\xbb\xc1\x6e\xb4\x9b\xec\x2e\xfb\x85\xdd\x62\xb7\xda\x6d\x76\xbb\xdd" "\x61\x77\xfe\x1a\x5f\xda\xc7\x1e\xfb\x95\xcd\xb5\x5f\xdb\x83\xf6\x7b" "\xbb\xcf\x7e\x63\xf7\xdb\xc3\xf6\x80\xfd\xee\xd7\xf8\xd2\xfe\x0e\xdb" "\x1f\xed\x11\xfb\x93\x3d\x6a\x8f\xd9\xe3\xf6\x84\x3d\x69\x7f\xb6\xa7" "\xec\xe9\x5f\xf7\x7f\x69\xef\x27\xec\x05\x7b\xd1\x7a\x2b\x08\x48\x92" "\x22\x4d\x01\xc5\x50\x3e\x8a\xa5\xfc\x14\x47\xd7\x50\x3c\x5d\x4b\x05" "\xe8\x3a\x8a\xd0\xf5\x94\x40\x37\x50\x41\xba\x91\x0a\x51\x61\x2a\x42" "\x45\x29\x91\x8a\x51\x71\x32\x84\x64\x89\x28\xa4\x12\x54\x92\xa2\x74" "\x13\x95\xa2\x9b\x29\x89\x4a\x53\x19\x2a\x4b\x8e\xca\x51\x32\xdd\x42" "\xe5\xe9\x56\xaa\x40\xb7\x51\x45\xba\x9d\x2a\xd1\x1d\x54\x99\xaa\x50" "\x55\xaa\x46\x77\x52\x75\x92\xa2\x06\xdd\x4d\x35\xe9\x1e\xaa\x45\xb5" "\xa9\x0e\xd5\xa5\x7b\xa9\x1e\xdd\x47\xf5\xe9\x7e\x6a\x40\x0f\x50\x43" "\x7a\x90\x1a\xd1\x43\xd4\x98\x1e\xa6\x26\xf4\x08\x35\xa5\x47\xa9\x19" "\x3d\x46\xcd\xe9\x71\x6a\x41\x4f\x50\x4b\x6a\x45\xad\xe9\x49\x6a\x43" "\x4f\x51\x5b\x6a\x47\xed\xe9\x69\xea\x40\xcf\x50\x47\x7a\x96\x52\xe8" "\x39\xea\x44\xcf\x53\x67\xfa\x13\x75\xa1\x17\xa8\x2b\xbd\x48\xdd\xe8" "\x25\xea\x4e\x3d\xa8\x27\xbd\x4c\xbd\xe8\x15\xea\x4d\x7d\x28\x95\xfa" "\x52\x3f\x7a\x95\xfa\xd3\x00\x1a\x48\xaf\xd1\x20\x7a\x9d\x06\xd3\x1b" "\x34\x84\xde\xa4\x34\x1a\x4a\xc3\xe8\x2d\x1a\x4e\x6f\xd3\x08\x7a\x87" "\x46\xd2\x28\x1a\x4d\xef\xd2\x18\x1a\x4b\xe3\x68\x3c\x4d\xa0\x89\x94" "\x4e\xef\xd1\x24\x7a\x9f\x26\xd3\x07\x34\x85\xa6\xd2\x34\x9a\x4e\x19" "\x34\x83\x66\xd2\x87\x34\x8b\x66\xd3\x1c\xfa\x88\x32\xe9\x63\x9a\x4b" "\xf3\x68\x3e\x2d\xa0\x2c\xfa\x84\x16\xd2\x22\xca\xa6\x4f\x69\x31\x7d" "\x46\x39\xb4\x84\x96\xd2\x32\x5a\x4e\x2b\x68\x25\xad\xa2\xd5\xb4\x86" "\xd6\xd2\x3a\x5a\x4f\x1b\x68\x23\x6d\xa2\xcd\xf4\x39\x6d\xa1\xad\xb4" "\x8d\xb6\xd3\x0e\xda\x49\xbb\xe8\x0b\xda\x4d\x5f\xd2\x1e\xfa\x8a\x72" "\xe9\x6b\xda\x4b\x7f\xa6\x7d\xf4\x0d\xed\xa7\x6f\xe9\x00\x7d\x47\x07" "\xe9\x7b\x3a\x44\x3f\xd0\x61\xfa\x91\x8e\xd0\x4f\x74\x94\x8e\xd1\x71" "\x3a\x41\x27\xe9\x67\x3a\x45\xa7\xe9\x0c\x9d\xa5\x73\xf4\x0b\x9d\xa7" "\x0b\x74\x91\x3c\x89\x10\x42\x19\xaa\x50\x87\x41\x18\x13\xe6\x0b\x63" "\xc3\xfc\x61\x5c\x78\x4d\x18\x1f\x5e\x1b\x16\x08\xaf\x0b\x23\xe1\xf5" "\x61\x42\x78\x43\x58\x30\xbc\x31\x2c\x14\x16\x0e\x8b\x84\x45\xc3\xc4" "\xb0\x58\x58\x3c\x34\x21\x86\x36\xa4\x30\x0c\x4b\x84\x25\xc3\x68\x78" "\x53\x58\x2a\xbc\x39\x4c\x0a\x4b\x87\x65\xc2\xb2\xa1\x0b\xcb\x85\xc9" "\xe1\x2d\x61\xf9\xf0\xd6\xb0\x42\x78\x5b\x58\x31\xbc\x3d\xac\x14\xde" "\x11\x56\x0e\xab\x84\x8f\x3d\x50\x2d\xbc\x33\xac\x1e\xde\x15\xd6\x08" "\xef\x0e\x6b\x86\xf7\x84\xb5\xc2\xda\x61\x9d\xb0\x6e\x78\x6f\x58\x2f" "\xbc\x2f\xac\x1f\xde\x1f\x36\x08\x1f\x08\x2b\x84\x0f\x86\x8d\xc2\x87" "\xc2\xc6\xe1\xc3\x61\x93\xf0\x91\xb0\x69\xf8\x68\xd8\x2c\x7c\x2c\x6c" "\x1e\x3e\x1e\xb6\x08\x9f\x08\x5b\x86\xad\xc2\xd6\xe1\x93\x61\x9b\xf0" "\xa9\xb0\x6d\xd8\x2e\x6c\x1f\x3e\x1d\x76\x08\x9f\x09\x3b\x86\xcf\x86" "\x29\xe1\x73\x61\xa7\xf0\xf9\x2b\x1e\x4f\x0d\xfb\x86\xfd\xc2\x57\xc3" "\x57\x43\xef\xef\x57\xf3\xa3\x0b\xa2\x59\xd1\x4f\xa2\x0b\xa3\x8b\xa2" "\xd9\xd1\x4f\xa3\x8b\xa3\x9f\x45\x73\xa2\x4b\xa2\x4b\xa3\xcb\xa2\xcb" "\xa3\x2b\xa2\x2b\xa3\xab\xa2\xab\xa3\x6b\xa2\x6b\xa3\xeb\xa2\xeb\xa3" "\x1b\xa2\x1b\xa3\x9b\xa2\xde\xd7\xcd\x27\x1c\x38\xe9\x94\xd3\x2e\x70" "\x31\x2e\x9f\x8b\x75\xf9\x5d\x9c\xbb\xc6\xc5\xbb\x6b\x5d\x01\x77\x9d" "\x8b\xb8\xeb\x5d\x82\xbb\xc1\x15\x74\x37\xba\x42\xae\xb0\x2b\xe2\x8a" "\xba\x44\x57\xcc\x15\x77\xc6\xa1\xb3\x8e\x5c\xe8\x4a\xb8\x92\x2e\xea" "\x6e\x72\xa5\xdc\xcd\x2e\xc9\x95\x76\x65\x5c\x59\xe7\x5c\x39\x97\xec" "\x5a\xb9\xd6\xae\xb5\x6b\xe3\x9e\x72\x6d\x5d\x3b\xd7\xde\x3d\xed\x9e" "\x76\xcf\xb8\x67\xdc\xb3\xee\x59\xf7\x9c\xeb\xe4\x9e\x77\x9d\xdd\x9f" "\x5c\x17\xf7\x82\xeb\xea\x5e\x74\x2f\xba\x97\x5c\x77\xd7\xc3\xf5\x74" "\x2f\xbb\x5e\xee\x15\xd7\xdb\xf5\x71\xa9\x2e\xd5\xf5\x73\xfd\x5c\x7f" "\xd7\xdf\x0d\x74\x03\xdd\x20\x37\xc8\x0d\x76\x83\xdd\x10\x37\xc4\xa5" "\xb9\x34\x37\xcc\x0d\x73\xc3\xdd\x70\x37\xc2\x8d\x70\x23\xdd\x48\x37" "\xda\x8d\x76\x63\xdc\x18\x37\xce\x8d\x73\x13\xdc\x04\x97\xee\xd2\xdd" "\x24\x37\xc9\x4d\x76\x93\xdd\x14\x37\xc5\x4d\x73\xd3\x5c\x86\xcb\x70" "\x33\xdd\x4c\x37\xcb\xcd\x72\x73\xdc\x1c\x97\x99\x94\xe9\xe6\xba\xb9" "\x6e\xbe\x9b\xef\xb2\x5c\x96\x5b\xe8\x16\xba\x6c\x97\xed\x16\xbb\xc5" "\x2e\xc7\xe5\xb8\xa5\x6e\xa9\x5b\xee\x96\xbb\x95\x6e\xa5\x5b\xed\x56" "\xbb\xb5\x6e\xad\x5b\xef\xd6\xbb\x8d\x6e\xa3\xdb\xec\x36\xbb\x2d\x6e" "\x8b\xdb\xe6\xb6\xb9\x1d\x6e\x87\xdb\xe5\x76\xb9\xdd\x6e\xb7\xdb\xe3" "\xf6\xb8\x5c\x97\xeb\xf6\xba\xbd\x6e\x9f\xdb\xe7\xf6\xbb\x6f\xdd\x01" "\xf7\x9d\x3b\xe8\xbe\x77\x87\xdc\x0f\xee\xb0\xfb\xd1\x1d\x71\x3f\xb9" "\xa3\xee\x98\x3b\xee\x4e\xb8\x93\xee\x67\x77\xca\x9d\x76\x67\xdc\x59" "\x77\xce\xfd\xe2\xce\xbb\x0b\xee\xa2\xf3\x2e\x3d\xf2\x5e\x64\x52\xe4" "\xfd\xc8\xe4\xc8\x07\x91\x29\x91\xa9\x91\x69\x91\xe9\x91\x8c\xc8\x8c" "\xc8\xcc\xc8\x87\x91\x59\x91\xd9\x91\x39\x91\x8f\x22\x99\x91\x8f\x23" "\x73\x23\xf3\x22\xf3\x23\x0b\x22\x59\x91\x4f\x22\x0b\x23\x8b\x22\xd9" "\x91\x4f\x23\x8b\x23\x9f\x45\x72\x22\x4b\x22\x4b\x23\xcb\x22\xcb\x23" "\x2b\x22\xde\x17\xdb\x12\xfa\x12\xbe\xa4\x8f\xfa\x9b\x7c\x29\x7f\xb3" "\x4f\xf2\xa5\x7d\x19\x5f\xd6\x3b\x5f\xce\x27\xfb\x5b\x7c\x79\x7f\xab" "\xaf\xe0\x6f\xf3\x15\xfd\xed\xbe\x92\xbf\xc3\x57\xf6\x55\x7c\x55\xff" "\xb8\x6f\xe1\x9f\xf0\x2d\x7d\x2b\xdf\xda\x3f\xe9\xdb\xf8\xa7\x7c\x5b" "\xdf\xce\xb7\xf7\x4f\xfb\x0e\xfe\x19\xdf\xd1\x3f\xeb\x53\xfc\x73\xbe" "\x93\x7f\xde\x77\xf6\x7f\xf2\x5d\xfc\x0b\xbe\xab\x7f\xd1\x77\xf3\x2f" "\xf9\xee\xbe\x87\xef\xe9\x5f\xf6\xbd\xfc\x2b\xbe\xb7\xef\xe3\x53\x7d" "\x5f\xdf\xcf\xbf\xea\xfb\xfb\x01\x7e\xa0\x7f\xcd\x0f\xf2\xaf\xfb\xc1" "\xfe\x0d\x3f\xc4\xbf\xe9\xd3\xfc\x50\x3f\xcc\xbf\xe5\x87\xfb\xb7\xfd" "\x08\xff\x8e\x1f\xe9\x47\xf9\xd1\xfe\x5d\x3f\xc6\x8f\xf5\xe3\xfc\x78" "\x3f\xc1\x4f\xf4\xe9\xfe\x3d\x3f\xc9\xbf\xef\x27\xfb\x0f\xfc\x14\x3f" "\xd5\x4f\xf3\xd3\x7d\x86\x9f\xe1\x67\xfa\x0f\xfd\x2c\x3f\xdb\xcf\xf1" "\x1f\xf9\x4c\xff\xb1\x9f\xeb\xe7\xf9\xf9\x7e\x81\xcf\xf2\x9f\xf8\x85" "\x7e\x91\xcf\xf6\x9f\xfa\xc5\xfe\x33\x9f\xe3\x97\xf8\xa5\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\x3f\xf7\x5b\xfc\x56\xbf\xcd\x6f\xf7\x3b\xfc\x4e" "\xbf\xcb\x7f\xe1\x77\xfb\x2f\xfd\x1e\xff\x95\xcf\xf5\x5f\xfb\xbd\xfe" "\xcf\x7e\x9f\xff\xc6\xef\xf7\xdf\xfa\x03\xfe\x3b\x7f\xd0\x7f\xef\x0f" "\xf9\x1f\xfc\x61\xff\xa3\x3f\xe2\x7f\xf2\x47\xfd\x31\x7f\xdc\x9f\xf0" "\x27\xfd\xcf\xfe\x94\x3f\xed\xcf\xf8\xb3\xfe\x9c\xff\xc5\x9f\xf7\x17" "\xfc\x45\xfe\x9f\x35\xc6\x18\x63\x8c\xb1\xff\x88\xba\xc2\xf1\xbe\xff" "\xe4\x73\xf2\xb7\x71\x49\x3f\x21\xc4\xb5\x5b\x8b\x1e\xf8\xc7\x9a\xeb" "\x0b\xfd\x65\x3e\x40\x26\x76\x88\x08\x21\x9e\xeb\xd3\xed\x91\xbf\x8e" "\x5a\xb5\x52\x53\x53\x7f\x7b\x6c\x8e\x12\x41\xc9\x79\x42\x88\xc8\xe5" "\xfc\x5f\xff\xe0\xfa\x5b\xbc\x44\xb4\x17\xcf\x88\x14\xd1\x4e\x94\xff" "\xa7\xeb\x1b\x20\x7b\x9c\xa3\x2b\xd4\x8f\xde\x2e\x44\xdc\xdf\xe4\xc4" "\x8a\xcb\xf1\xe5\xfa\xb7\xfe\x8b\xfa\x63\x33\xaf\x58\x7f\x9e\x10\x49" "\x25\x2f\xe7\xe4\x17\x97\xe3\xcb\xf5\x2b\xfc\x8b\xfa\x85\xdb\x5c\xa1" "\x7e\xfe\x6f\xd2\x85\x68\xfb\x37\x39\xf1\xe2\x72\x7c\xb9\x7e\xb2\x78" "\x4a\x3c\x2f\x52\xfe\xee\x91\x8c\x31\xc6\x18\x63\x8c\x31\xc6\xd8\x5f" "\x0c\x90\x55\xbb\x5c\xe9\xfa\xf6\xd2\xf5\x79\xa2\xbe\x9c\x93\x4f\x5c" "\x8e\xaf\x74\x7d\xfe\x2f\xcd\xf8\xe3\xf6\xc0\x18\x63\x8c\x31\xc6\x18" "\x63\x8c\xb1\x7f\xef\x85\x1e\x3d\x9f\x7d\x32\x25\xa5\x5d\x17\x9e\xf0" "\xe4\xdf\x4e\xf2\xff\xbf\xb1\x0c\x9e\xfc\x5f\x9a\x5c\xed\xdf\x4c\x8c" "\x31\xc6\x18\x63\x8c\xb1\x3f\xda\xe5\x93\xfe\xab\xbd\x12\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\x2c\xef\xfa\x27\x77\xff\x3a\xe7\xff\xe0\xdb\x89\x5d\xed\x3d\x32" "\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\x57\xdb\xff" "\x08\x00\x00\xff\xff\x64\x2d\x39\xb0", 5364)); NONFAILING(syz_mount_image( /*fs=*/0x20000200, /*dir=*/0x200000c0, /*flags=*/0x20000020, /*opts=*/0x20000280, /*chdir=*/1, /*size=*/0x14f4, /*img=*/0x20001880)); break; case 1: res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0ul, /*flags=*/0x275aul, /*mode=*/0ul); if (res != -1) r[0] = res; break; case 2: syscall(__NR_mmap, /*addr=*/0x20000000ul, /*len=*/0x400000ul, /*prot=*/1ul, /*flags=*/0x10012ul, /*fd=*/r[0], /*offset=*/0ul); break; } } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x20000000ul, /*len=*/0x1000000ul, /*prot=*/7ul, /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x21000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul); setup_sysctl(); setup_802154(); install_segv_handler(); for (procid = 0; procid < 6; procid++) { if (fork() == 0) { loop(); } } sleep(1000000); return 0; }