// https://syzkaller.appspot.com/bug?id=492a03a6bb6a10d84fbb0d09fed2f7f9f4c6d206 // 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 #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 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; } #define MAX_FDS 30 //% This code is derived from puff.{c,h}, found in the zlib development. The //% original files come with the following copyright notice: //% Copyright (C) 2002-2013 Mark Adler, all rights reserved //% version 2.3, 21 Jan 2013 //% This software is provided 'as-is', without any express or implied //% warranty. In no event will the author be held liable for any damages //% arising from the use of this software. //% Permission is granted to anyone to use this software for any purpose, //% including commercial applications, and to alter it and redistribute it //% freely, subject to the following restrictions: //% 1. The origin of this software must not be misrepresented; you must not //% claim that you wrote the original software. If you use this software //% in a product, an acknowledgment in the product documentation would be //% appreciated but is not required. //% 2. Altered source versions must be plainly marked as such, and must not be //% misrepresented as being the original software. //% 3. This notice may not be removed or altered from any source distribution. //% Mark Adler madler@alumni.caltech.edu //% BEGIN CODE DERIVED FROM puff.{c,h} #define MAXBITS 15 #define MAXLCODES 286 #define MAXDCODES 30 #define MAXCODES (MAXLCODES + MAXDCODES) #define FIXLCODES 288 struct puff_state { unsigned char* out; unsigned long outlen; unsigned long outcnt; const unsigned char* in; unsigned long inlen; unsigned long incnt; int bitbuf; int bitcnt; jmp_buf env; }; static int puff_bits(struct puff_state* s, int need) { long val = s->bitbuf; while (s->bitcnt < need) { if (s->incnt == s->inlen) longjmp(s->env, 1); val |= (long)(s->in[s->incnt++]) << s->bitcnt; s->bitcnt += 8; } s->bitbuf = (int)(val >> need); s->bitcnt -= need; return (int)(val & ((1L << need) - 1)); } static int puff_stored(struct puff_state* s) { s->bitbuf = 0; s->bitcnt = 0; if (s->incnt + 4 > s->inlen) return 2; unsigned len = s->in[s->incnt++]; len |= s->in[s->incnt++] << 8; if (s->in[s->incnt++] != (~len & 0xff) || s->in[s->incnt++] != ((~len >> 8) & 0xff)) return -2; if (s->incnt + len > s->inlen) return 2; if (s->outcnt + len > s->outlen) return 1; for (; len--; s->outcnt++, s->incnt++) { if (s->in[s->incnt]) s->out[s->outcnt] = s->in[s->incnt]; } return 0; } struct puff_huffman { short* count; short* symbol; }; static int puff_decode(struct puff_state* s, const struct puff_huffman* h) { int first = 0; int index = 0; int bitbuf = s->bitbuf; int left = s->bitcnt; int code = first = index = 0; int len = 1; short* next = h->count + 1; while (1) { while (left--) { code |= bitbuf & 1; bitbuf >>= 1; int count = *next++; if (code - count < first) { s->bitbuf = bitbuf; s->bitcnt = (s->bitcnt - len) & 7; return h->symbol[index + (code - first)]; } index += count; first += count; first <<= 1; code <<= 1; len++; } left = (MAXBITS + 1) - len; if (left == 0) break; if (s->incnt == s->inlen) longjmp(s->env, 1); bitbuf = s->in[s->incnt++]; if (left > 8) left = 8; } return -10; } static int puff_construct(struct puff_huffman* h, const short* length, int n) { int len; for (len = 0; len <= MAXBITS; len++) h->count[len] = 0; int symbol; for (symbol = 0; symbol < n; symbol++) (h->count[length[symbol]])++; if (h->count[0] == n) return 0; int left = 1; for (len = 1; len <= MAXBITS; len++) { left <<= 1; left -= h->count[len]; if (left < 0) return left; } short offs[MAXBITS + 1]; offs[1] = 0; for (len = 1; len < MAXBITS; len++) offs[len + 1] = offs[len] + h->count[len]; for (symbol = 0; symbol < n; symbol++) if (length[symbol] != 0) h->symbol[offs[length[symbol]]++] = symbol; return left; } static int puff_codes(struct puff_state* s, const struct puff_huffman* lencode, const struct puff_huffman* distcode) { static const short lens[29] = {3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258}; static const short lext[29] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0}; static const short dists[30] = { 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577}; static const short dext[30] = {0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13}; int symbol; do { symbol = puff_decode(s, lencode); if (symbol < 0) return symbol; if (symbol < 256) { if (s->outcnt == s->outlen) return 1; if (symbol) s->out[s->outcnt] = symbol; s->outcnt++; } else if (symbol > 256) { symbol -= 257; if (symbol >= 29) return -10; int len = lens[symbol] + puff_bits(s, lext[symbol]); symbol = puff_decode(s, distcode); if (symbol < 0) return symbol; unsigned dist = dists[symbol] + puff_bits(s, dext[symbol]); if (dist > s->outcnt) return -11; if (s->outcnt + len > s->outlen) return 1; while (len--) { if (dist <= s->outcnt && s->out[s->outcnt - dist]) s->out[s->outcnt] = s->out[s->outcnt - dist]; s->outcnt++; } } } while (symbol != 256); return 0; } static int puff_fixed(struct puff_state* s) { static int virgin = 1; static short lencnt[MAXBITS + 1], lensym[FIXLCODES]; static short distcnt[MAXBITS + 1], distsym[MAXDCODES]; static struct puff_huffman lencode, distcode; if (virgin) { lencode.count = lencnt; lencode.symbol = lensym; distcode.count = distcnt; distcode.symbol = distsym; short lengths[FIXLCODES]; int symbol; for (symbol = 0; symbol < 144; symbol++) lengths[symbol] = 8; for (; symbol < 256; symbol++) lengths[symbol] = 9; for (; symbol < 280; symbol++) lengths[symbol] = 7; for (; symbol < FIXLCODES; symbol++) lengths[symbol] = 8; puff_construct(&lencode, lengths, FIXLCODES); for (symbol = 0; symbol < MAXDCODES; symbol++) lengths[symbol] = 5; puff_construct(&distcode, lengths, MAXDCODES); virgin = 0; } return puff_codes(s, &lencode, &distcode); } static int puff_dynamic(struct puff_state* s) { static const short order[19] = {16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15}; int nlen = puff_bits(s, 5) + 257; int ndist = puff_bits(s, 5) + 1; int ncode = puff_bits(s, 4) + 4; if (nlen > MAXLCODES || ndist > MAXDCODES) return -3; short lengths[MAXCODES]; int index; for (index = 0; index < ncode; index++) lengths[order[index]] = puff_bits(s, 3); for (; index < 19; index++) lengths[order[index]] = 0; short lencnt[MAXBITS + 1], lensym[MAXLCODES]; struct puff_huffman lencode = {lencnt, lensym}; int err = puff_construct(&lencode, lengths, 19); if (err != 0) return -4; index = 0; while (index < nlen + ndist) { int symbol; int len; symbol = puff_decode(s, &lencode); if (symbol < 0) return symbol; if (symbol < 16) lengths[index++] = symbol; else { len = 0; if (symbol == 16) { if (index == 0) return -5; len = lengths[index - 1]; symbol = 3 + puff_bits(s, 2); } else if (symbol == 17) symbol = 3 + puff_bits(s, 3); else symbol = 11 + puff_bits(s, 7); if (index + symbol > nlen + ndist) return -6; while (symbol--) lengths[index++] = len; } } if (lengths[256] == 0) return -9; err = puff_construct(&lencode, lengths, nlen); if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1])) return -7; short distcnt[MAXBITS + 1], distsym[MAXDCODES]; struct puff_huffman distcode = {distcnt, distsym}; err = puff_construct(&distcode, lengths + nlen, ndist); if (err && (err < 0 || ndist != distcode.count[0] + distcode.count[1])) return -8; return puff_codes(s, &lencode, &distcode); } static int puff(unsigned char* dest, unsigned long* destlen, const unsigned char* source, unsigned long sourcelen) { struct puff_state s = { .out = dest, .outlen = *destlen, .outcnt = 0, .in = source, .inlen = sourcelen, .incnt = 0, .bitbuf = 0, .bitcnt = 0, }; int err; if (setjmp(s.env) != 0) err = 2; else { int last; do { last = puff_bits(&s, 1); int type = puff_bits(&s, 2); err = type == 0 ? puff_stored(&s) : (type == 1 ? puff_fixed(&s) : (type == 2 ? puff_dynamic(&s) : -1)); if (err != 0) break; } while (!last); } *destlen = s.outcnt; return err; } //% END CODE DERIVED FROM puff.{c,h} #define ZLIB_HEADER_WIDTH 2 static int puff_zlib_to_file(const unsigned char* source, unsigned long sourcelen, int dest_fd) { if (sourcelen < ZLIB_HEADER_WIDTH) return 0; source += ZLIB_HEADER_WIDTH; sourcelen -= ZLIB_HEADER_WIDTH; const unsigned long max_destlen = 132 << 20; void* ret = mmap(0, max_destlen, PROT_WRITE | PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); if (ret == MAP_FAILED) return -1; unsigned char* dest = (unsigned char*)ret; unsigned long destlen = max_destlen; int err = puff(dest, &destlen, source, sourcelen); if (err) { munmap(dest, max_destlen); errno = -err; return -1; } if (write(dest_fd, dest, destlen) != (ssize_t)destlen) { munmap(dest, max_destlen); return -1; } return munmap(dest, max_destlen); } static int setup_loop_device(unsigned char* data, unsigned long size, const char* loopname, int* loopfd_p) { int err = 0, loopfd = -1; int memfd = syscall(__NR_memfd_create, "syzkaller", 0); if (memfd == -1) { err = errno; goto error; } if (puff_zlib_to_file(data, size, memfd)) { err = errno; goto error_close_memfd; } loopfd = open(loopname, O_RDWR); if (loopfd == -1) { err = errno; goto error_close_memfd; } if (ioctl(loopfd, LOOP_SET_FD, memfd)) { if (errno != EBUSY) { err = errno; goto error_close_loop; } ioctl(loopfd, LOOP_CLR_FD, 0); usleep(1000); if (ioctl(loopfd, LOOP_SET_FD, memfd)) { err = errno; goto error_close_loop; } } close(memfd); *loopfd_p = loopfd; return 0; error_close_loop: close(loopfd); error_close_memfd: close(memfd); error: errno = err; return -1; } static void reset_loop_device(const char* loopname) { int loopfd = open(loopname, O_RDWR); if (loopfd == -1) { return; } if (ioctl(loopfd, LOOP_CLR_FD, 0)) { } close(loopfd); } static long syz_mount_image(volatile long fsarg, volatile long dir, volatile long flags, volatile long optsarg, volatile long change_dir, volatile unsigned long size, volatile long image) { unsigned char* data = (unsigned char*)image; int res = -1, err = 0, need_loop_device = !!size; char* mount_opts = (char*)optsarg; char* target = (char*)dir; char* fs = (char*)fsarg; char* source = NULL; char loopname[64]; if (need_loop_device) { int loopfd; memset(loopname, 0, sizeof(loopname)); snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); if (setup_loop_device(data, size, loopname, &loopfd) == -1) return -1; close(loopfd); source = loopname; } mkdir(target, 0777); char opts[256]; memset(opts, 0, sizeof(opts)); if (strlen(mount_opts) > (sizeof(opts) - 32)) { } strncpy(opts, mount_opts, sizeof(opts) - 32); if (strcmp(fs, "iso9660") == 0) { flags |= MS_RDONLY; } else if (strncmp(fs, "ext", 3) == 0) { bool has_remount_ro = false; char* remount_ro_start = strstr(opts, "errors=remount-ro"); if (remount_ro_start != NULL) { char after = *(remount_ro_start + strlen("errors=remount-ro")); char before = remount_ro_start == opts ? '\0' : *(remount_ro_start - 1); has_remount_ro = ((before == '\0' || before == ',') && (after == '\0' || after == ',')); } if (strstr(opts, "errors=panic") || !has_remount_ro) strcat(opts, ",errors=continue"); } else if (strcmp(fs, "xfs") == 0) { strcat(opts, ",nouuid"); } else if (strncmp(fs, "gfs2", 4) == 0 && (strstr(opts, "errors=panic") || strstr(opts, "debug"))) { strcat(opts, ",errors=withdraw"); } res = mount(source, target, fs, flags, opts); if (res == -1) { err = errno; goto error_clear_loop; } res = open(target, O_RDONLY | O_DIRECTORY); if (res == -1) { err = errno; goto error_clear_loop; } if (change_dir) { res = chdir(target); if (res == -1) { err = errno; } } error_clear_loop: if (need_loop_device) reset_loop_device(loopname); errno = err; return res; } static void setup_gadgetfs(); static void setup_binderfs(); static void setup_fusectl(); static void sandbox_common_mount_tmpfs(void) { write_file("/proc/sys/fs/mount-max", "100000"); if (mkdir("./syz-tmp", 0777)) exit(1); if (mount("", "./syz-tmp", "tmpfs", 0, NULL)) exit(1); if (mkdir("./syz-tmp/newroot", 0777)) exit(1); if (mkdir("./syz-tmp/newroot/dev", 0700)) exit(1); unsigned bind_mount_flags = MS_BIND | MS_REC | MS_PRIVATE; if (mount("/dev", "./syz-tmp/newroot/dev", NULL, bind_mount_flags, NULL)) exit(1); if (mkdir("./syz-tmp/newroot/proc", 0700)) exit(1); if (mount("syz-proc", "./syz-tmp/newroot/proc", "proc", 0, NULL)) exit(1); if (mkdir("./syz-tmp/newroot/selinux", 0700)) exit(1); const char* selinux_path = "./syz-tmp/newroot/selinux"; if (mount("/selinux", selinux_path, NULL, bind_mount_flags, NULL)) { if (errno != ENOENT) exit(1); if (mount("/sys/fs/selinux", selinux_path, NULL, bind_mount_flags, NULL) && errno != ENOENT) exit(1); } if (mkdir("./syz-tmp/newroot/sys", 0700)) exit(1); if (mount("/sys", "./syz-tmp/newroot/sys", 0, bind_mount_flags, NULL)) exit(1); if (mount("/sys/kernel/debug", "./syz-tmp/newroot/sys/kernel/debug", NULL, bind_mount_flags, NULL) && errno != ENOENT) exit(1); if (mount("/sys/fs/smackfs", "./syz-tmp/newroot/sys/fs/smackfs", NULL, bind_mount_flags, NULL) && errno != ENOENT) exit(1); if (mount("/proc/sys/fs/binfmt_misc", "./syz-tmp/newroot/proc/sys/fs/binfmt_misc", NULL, bind_mount_flags, NULL) && errno != ENOENT) exit(1); if (mkdir("./syz-tmp/newroot/syz-inputs", 0700)) exit(1); if (mount("/syz-inputs", "./syz-tmp/newroot/syz-inputs", NULL, bind_mount_flags | MS_RDONLY, NULL) && errno != ENOENT) exit(1); if (mkdir("./syz-tmp/pivot", 0777)) exit(1); if (syscall(SYS_pivot_root, "./syz-tmp", "./syz-tmp/pivot")) { if (chdir("./syz-tmp")) exit(1); } else { if (chdir("/")) exit(1); if (umount2("./pivot", MNT_DETACH)) exit(1); } if (chroot("./newroot")) exit(1); if (chdir("/")) exit(1); setup_gadgetfs(); setup_binderfs(); setup_fusectl(); } static void setup_gadgetfs() { if (mkdir("/dev/gadgetfs", 0777)) { } if (mount("gadgetfs", "/dev/gadgetfs", "gadgetfs", 0, NULL)) { } } static void setup_fusectl() { if (mount(0, "/sys/fs/fuse/connections", "fusectl", 0, 0)) { } } static void setup_binderfs() { if (mkdir("/dev/binderfs", 0777)) { } if (mount("binder", "/dev/binderfs", "binder", 0, NULL)) { } } static void loop(); static void sandbox_common() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); if (getppid() == 1) exit(1); struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = (200 << 20); setrlimit(RLIMIT_AS, &rlim); rlim.rlim_cur = rlim.rlim_max = 32 << 20; setrlimit(RLIMIT_MEMLOCK, &rlim); rlim.rlim_cur = rlim.rlim_max = 136 << 20; setrlimit(RLIMIT_FSIZE, &rlim); rlim.rlim_cur = rlim.rlim_max = 1 << 20; setrlimit(RLIMIT_STACK, &rlim); rlim.rlim_cur = rlim.rlim_max = 128 << 20; setrlimit(RLIMIT_CORE, &rlim); rlim.rlim_cur = rlim.rlim_max = 256; setrlimit(RLIMIT_NOFILE, &rlim); if (unshare(CLONE_NEWNS)) { } if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL)) { } if (unshare(CLONE_NEWIPC)) { } if (unshare(0x02000000)) { } if (unshare(CLONE_NEWUTS)) { } if (unshare(CLONE_SYSVSEM)) { } typedef struct { const char* name; const char* value; } sysctl_t; static const sysctl_t sysctls[] = { {"/proc/sys/kernel/shmmax", "16777216"}, {"/proc/sys/kernel/shmall", "536870912"}, {"/proc/sys/kernel/shmmni", "1024"}, {"/proc/sys/kernel/msgmax", "8192"}, {"/proc/sys/kernel/msgmni", "1024"}, {"/proc/sys/kernel/msgmnb", "1024"}, {"/proc/sys/kernel/sem", "1024 1048576 500 1024"}, }; unsigned i; for (i = 0; i < sizeof(sysctls) / sizeof(sysctls[0]); i++) write_file(sysctls[i].name, sysctls[i].value); } static int wait_for_loop(int pid) { if (pid < 0) exit(1); int status = 0; while (waitpid(-1, &status, __WALL) != pid) { } return WEXITSTATUS(status); } static void drop_caps(void) { struct __user_cap_header_struct cap_hdr = {}; struct __user_cap_data_struct cap_data[2] = {}; cap_hdr.version = _LINUX_CAPABILITY_VERSION_3; cap_hdr.pid = getpid(); if (syscall(SYS_capget, &cap_hdr, &cap_data)) exit(1); const int drop = (1 << CAP_SYS_PTRACE) | (1 << CAP_SYS_NICE); cap_data[0].effective &= ~drop; cap_data[0].permitted &= ~drop; cap_data[0].inheritable &= ~drop; if (syscall(SYS_capset, &cap_hdr, &cap_data)) exit(1); } static int do_sandbox_none(void) { if (unshare(CLONE_NEWPID)) { } int pid = fork(); if (pid != 0) return wait_for_loop(pid); sandbox_common(); drop_caps(); if (unshare(CLONE_NEWNET)) { } write_file("/proc/sys/net/ipv4/ping_group_range", "0 65535"); sandbox_common_mount_tmpfs(); loop(); exit(1); } #define FS_IOC_SETFLAGS _IOW('f', 2, long) static void remove_dir(const char* dir) { int iter = 0; DIR* dp = 0; const int umount_flags = MNT_FORCE | UMOUNT_NOFOLLOW; retry: while (umount2(dir, umount_flags) == 0) { } dp = opendir(dir); if (dp == NULL) { if (errno == EMFILE) { exit(1); } exit(1); } struct dirent* ep = 0; while ((ep = readdir(dp))) { if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0) continue; char filename[FILENAME_MAX]; snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name); while (umount2(filename, umount_flags) == 0) { } struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } int i; for (i = 0;; i++) { if (unlink(filename) == 0) break; if (errno == EPERM) { int fd = open(filename, O_RDONLY); if (fd != -1) { long flags = 0; if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) { } close(fd); continue; } } if (errno == EROFS) { break; } if (errno != EBUSY || i > 100) exit(1); if (umount2(filename, umount_flags)) exit(1); } } closedir(dp); for (int i = 0;; i++) { if (rmdir(dir) == 0) break; if (i < 100) { if (errno == EPERM) { int fd = open(dir, O_RDONLY); if (fd != -1) { long flags = 0; if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) { } close(fd); continue; } } if (errno == EROFS) { break; } if (errno == EBUSY) { if (umount2(dir, umount_flags)) exit(1); continue; } if (errno == ENOTEMPTY) { if (iter < 100) { iter++; goto retry; } } } exit(1); } } static void kill_and_wait(int pid, int* status) { kill(-pid, SIGKILL); kill(pid, SIGKILL); for (int i = 0; i < 100; i++) { if (waitpid(-1, status, WNOHANG | __WALL) == pid) return; usleep(1000); } DIR* dir = opendir("/sys/fs/fuse/connections"); if (dir) { for (;;) { struct dirent* ent = readdir(dir); if (!ent) break; if (strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0) continue; char abort[300]; snprintf(abort, sizeof(abort), "/sys/fs/fuse/connections/%s/abort", ent->d_name); int fd = open(abort, O_WRONLY); if (fd == -1) { continue; } if (write(fd, abort, 1) < 0) { } close(fd); } closedir(dir); } else { } while (waitpid(-1, status, __WALL) != pid) { } } static void 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 close_fds() { for (int fd = 3; fd < MAX_FDS; fd++) close(fd); } #define USLEEP_FORKED_CHILD (3 * 50 * 1000) static long handle_clone_ret(long ret) { if (ret != 0) { __atomic_store_n(&clone_ongoing, 0, __ATOMIC_RELAXED); return ret; } usleep(USLEEP_FORKED_CHILD); syscall(__NR_exit, 0); while (1) { } } static long syz_clone(volatile long flags, volatile long stack, volatile long stack_len, volatile long ptid, volatile long ctid, volatile long tls) { long sp = (stack + stack_len) & ~15; __atomic_store_n(&clone_ongoing, 1, __ATOMIC_RELAXED); long ret = (long)syscall(__NR_clone, flags & ~CLONE_VM, sp, ptid, ctid, tls); return handle_clone_ret(ret); } 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(); close_fds(); 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[2] = {0xffffffffffffffff, 0xffffffffffffffff}; void execute_one(void) { intptr_t res = 0; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } NONFAILING(memcpy((void*)0x2000000001c0, "hfs\000", 4)); NONFAILING(memcpy((void*)0x200000000000, "./file2\000", 8)); NONFAILING(memcpy( (void*)0x200000000680, "\x78\x9c\xec\xdd\x4f\x6b\x13\x41\x18\xc7\xf1\xdf\x6c\xd2\x26\xb5\xb1\xa6" "\x7f\x44\xf0\x58\x2d\xe8\x45\xb4\x5e\xc4\x4b\x44\xf2\x16\x04\xf1\x20\xda" "\x36\x42\x31\x54\xd4\x0a\xea\xc5\x54\x3c\x89\xe8\xdd\xbb\x6f\xc1\x17\xe1" "\x45\xf1\x0d\xe8\xc9\x83\xf8\x02\xda\xd3\xca\xcc\xfe\x49\x36\xd9\xcd\xa6" "\xb1\x49\x1a\xfc\x7e\x40\xdd\x6c\xe6\xd9\x79\x26\x9b\xdd\x7d\x26\x20\x23" "\x00\xff\xad\x9b\xf5\x1f\x9f\xae\xfe\xb2\x7f\x8c\x54\x50\x41\x7a\x7b\x5d" "\xf2\x24\x95\xa5\xa2\xa4\xd3\x3a\x53\x7e\xb6\xb3\xbb\xbd\xdb\x6c\x6c\xf5" "\x3b\x50\xc1\x45\xe8\xc0\x97\x51\x10\x69\x7a\xda\x6c\xee\x34\xdc\xbf\x7b" "\xc9\xdd\x36\xce\x45\x84\xaa\xf6\x55\x51\x95\xce\x7d\x18\x0d\xdf\xf7\x6f" "\xfc\xec\xda\xf7\xdb\x9b\x50\x32\x98\x18\x77\xf5\xa7\xf0\xa4\x52\x78\x75" "\xba\xf7\xcb\x63\xcf\xac\xbf\xbd\x21\xe3\x5a\x47\x9c\xc7\xb4\x31\xfb\xda" "\xd7\x73\x2d\x4c\x3a\x0f\x00\xc0\xa4\x04\x8f\x7d\xfb\xfc\xdf\x0b\x0a\x7f" "\xbb\xa3\x12\xd6\xef\x9e\x27\xad\x85\x8f\xfd\x63\xf9\xfc\x1f\xd6\xfe\xa4" "\x13\x18\x39\xbf\xef\xbb\x1d\xcf\x7f\x37\xcb\xf2\x8d\x3d\xbf\xa7\xdc\x5b" "\xed\xf9\x9e\x9b\xc2\xd9\xf7\xbd\x68\x96\x38\x48\xcf\x33\x5d\xaf\x67\x15" "\x14\x92\x89\x02\xd3\xe4\xcd\x2a\x5d\x2e\xde\xdc\x83\xed\x66\xe3\xd2\xe6" "\xa3\xe6\x96\xa7\xd7\xaa\x85\x3a\x9a\xad\xc4\x3d\x84\xec\x37\x34\x27\xdb" "\xd5\x94\xb9\x69\x1f\x03\x8c\xdd\xa4\x56\x94\x41\x5a\xde\x8c\x1d\xc3\x7a" "\x46\xfe\xcb\x43\xf6\xd8\x47\xcf\xf4\x2d\x71\x42\xcc\x17\xf3\xcd\xdc\x35" "\x55\x7d\xd4\x56\x5c\xff\x15\x7d\x63\xb3\x75\x09\x57\xbb\xce\x54\x90\xff" "\xe5\xec\xfe\xe6\x5d\x94\x6d\xa5\xf0\xb6\x51\xab\xd5\x3c\x77\xa0\xc8\xa2" "\xeb\xe4\x6c\xf2\x4c\xe5\x8c\xb2\x9c\x3e\x23\x51\xf4\xc1\x2e\x2a\xf9\x03" "\x41\x35\x2f\x4f\x17\xb5\xd4\x15\x15\x8c\xee\x4a\x6a\x40\x29\x8e\x5a\x4e" "\x8d\x5a\x8f\x5e\x65\xf4\xb5\x92\x88\xb2\xa3\x89\xbf\xcd\xd9\x59\x8e\x9a" "\x79\x6f\x6e\x9b\x55\xfd\xd1\x67\xd5\x3b\xea\x7f\xcf\xe6\xb7\xe6\x1a\x78" "\x59\x57\x66\xfb\xaa\x31\x6b\xc1\x85\xe6\x3e\xf1\x60\x3c\xb3\xe9\xdd\x15" "\xdd\x31\xab\x3d\x4f\x8e\x96\xee\x54\x92\x7b\xe2\x4f\xb1\x94\x95\xfa\x41" "\xff\x7b\x1a\x06\x10\x9d\xc3\x77\xda\xd0\x35\x2d\x3c\x7d\xf1\xf2\x61\xa1" "\xd9\x6c\x3c\xb1\x1b\xf7\x53\x36\x1e\x57\xe2\x3d\x33\x6f\xa4\xd4\x36\xff" "\xbe\x61\x8a\xd2\xd0\xe1\x6a\xb5\xf7\x94\xe4\x3b\x3d\x8d\xa3\x7b\xe0\x08" "\x92\xcf\xdc\xb8\x78\xa4\x07\xb4\xf7\x8f\xdc\xc6\xf6\x2a\x1b\xcb\x00\x47" "\xf5\x4d\x70\x1b\xf2\xc6\x79\x9a\x0e\xbf\x51\xff\x3a\xaa\x2f\x92\x5f\x3a" "\x0e\x03\x3c\x39\xc1\x1b\x14\xc6\xa9\x7d\xd2\x87\x0a\xef\x2e\xf5\x31\x7d" "\x6c\xdd\x65\x82\xf9\x9f\xab\xe4\xc3\x7a\xdf\x15\x0a\xf6\xaf\x5b\xa5\xec" "\x3a\x3d\x2a\xc8\xd2\x4a\x36\x57\xbd\x87\x47\xf4\x6d\x8d\x1d\xcf\x80\xca" "\x89\xf8\x25\xb7\x75\x22\x59\x46\xe7\xcc\x0d\xe6\xc3\x3a\x26\x65\x1e\xd7" "\xd2\x60\x73\xae\x73\x17\xa4\xf3\x83\xf7\x58\x0d\xf3\x9c\x0e\xfe\xab\x9c" "\x06\xa6\xae\xef\xba\xc7\xef\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\xd3\xe6\xf0\xff\x43\x60\xee\xd0\x51\x93\x1e\x23\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd3\x2e" "\x5e\xff\x57\xd1\xfa\xbf\x1a\x6c\xfd\xdf\xee\xa5\x58\xc2\xf5\x7f\xcb\xca" "\x59\xff\x77\xa3\x37\x87\x9e\xf5\x7f\x3f\xec\xc8\xb4\x24\xd6\xff\x05\x46" "\xeb\x6f\x00\x00\x00\xff\xff\xe4\x51\x7e\xe4", 767)); NONFAILING(syz_mount_image(/*fs=*/0x2000000001c0, /*dir=*/0x200000000000, /*flags=MS_MANDLOCK*/ 0x40, /*opts=*/0x200000000280, /*chdir=*/0x11, /*size=*/0x2ff, /*img=*/0x200000000680)); NONFAILING(memcpy((void*)0x200000000000, "pids.current\000", 13)); syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000000ul, /*flags=*/0x275a, /*mode=*/0); NONFAILING(memcpy((void*)0x200000000040, "cpu.stat\000", 9)); syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000040ul, /*flags=*/0x275a, /*mode=*/0); NONFAILING(memcpy((void*)0x200000000400, "./file4\000", 8)); NONFAILING( syz_mount_image(/*fs=*/0, /*dir=*/0x200000000400, /*flags=MS_POSIXACL|MS_STRICTATIME|MS_SILENT*/ 0x1018000, /*opts=*/0, /*chdir=*/1, /*size=*/0, /*img=*/0)); NONFAILING(syz_clone(/*flags=*/0, /*stack=*/0, /*stack_len=*/0xfffffffffffffead, /*parentid=*/0, /*childtid=*/0, /*tls=*/0)); NONFAILING(memcpy((void*)0x200000000040, ".\000", 2)); res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000040ul, /*flags=*/0, /*mode=*/0); if (res != -1) r[0] = res; NONFAILING(memcpy((void*)0x200000000180, "./bus\000", 6)); syscall(__NR_mkdirat, /*fd=*/r[0], /*path=*/0x200000000180ul, /*mode=*/0ul); NONFAILING(memcpy((void*)0x2000000002c0, "vfat\000", 5)); NONFAILING(memcpy((void*)0x200000000100, "./bus\000", 6)); NONFAILING(syz_mount_image( /*fs=*/0x2000000002c0, /*dir=*/0x200000000100, /*flags=MS_LAZYTIME|MS_SHARED|MS_UNBINDABLE|MS_SYNCHRONOUS|MS_SILENT|MS_RDONLY|0x1c0a*/ 0x2129c1b, /*opts=*/0, /*chdir=*/4, /*size=*/0, /*img=*/0x200000000100)); NONFAILING(memcpy((void*)0x200000000180, "msdos\000", 6)); NONFAILING( memcpy((void*)0x200000000400, "./" "file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\000", 253)); NONFAILING(syz_mount_image(/*fs=*/0x200000000180, /*dir=*/0x200000000400, /*flags=*/0, /*opts=*/0x2000000008c0, /*chdir=*/1, /*size=*/0, /*img=*/0x200000000200)); NONFAILING(memcpy((void*)0x2000000000c0, "./file1\000", 8)); syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x2000000000c0ul, /*flags=O_LARGEFILE|O_CREAT|O_RDWR*/ 0x8042, /*mode=*/0); NONFAILING(memcpy((void*)0x200000000040, "hfs\000", 4)); NONFAILING( memcpy((void*)0x200000000680, "./" "file1aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\000", 247)); NONFAILING(*(uint32_t*)0x200000000080 = 0); NONFAILING(memcpy( (void*)0x200000000240, "\x78\x9c\xec\xdd\x41\x6b\xd4\x4e\x18\xc7\xf1\xdf\x24\xdb\xed\xfe\xff\x2d" "\x35\xb6\x15\x41\x3c\x55\x05\x4f\xa5\xad\x17\x11\x44\x91\x7d\x07\x5e\x3c" "\x89\xda\xdd\x42\x71\xa9\xa0\x15\xd4\x8b\xd5\x73\xf1\xe0\xb1\x77\xdf\x82" "\x2f\xc2\x93\x78\x16\xbc\x79\xf2\x05\x14\x3c\x44\x66\x92\x34\xc9\x6e\x92" "\xdd\x76\xd9\xc6\xad\xdf\x0f\x74\xc9\x26\xf3\x24\xf3\x74\xb2\xc9\x3c\x0b" "\x4b\x04\xe0\x9f\x75\xaf\xfd\xe3\xd3\x8d\x9f\xf6\xcf\x48\xbe\x7c\xa9\x29" "\xc9\x93\xd4\x92\x1a\x92\x2e\xe8\x62\xeb\xe5\xce\xee\xf6\x6e\xaf\xdb\xa9" "\xda\x91\xef\x22\xec\x9f\x51\x14\x69\x06\xda\x6c\xee\x74\x8b\x42\x6d\x9c" "\x8b\x88\x05\xf6\x5d\x43\xf3\x99\x75\xcd\xe2\x20\x8c\xab\xf5\xfd\xd8\x21" "\x3e\xff\xfc\xb3\xc7\x84\x61\x18\x16\xac\xf7\xa4\xd9\xec\x68\x9f\x95\x91" "\xdf\xab\xbb\x03\x35\x33\x87\x3a\xd4\x6c\xdd\xbd\x00\x00\xd4\xcd\xcd\xfe" "\xa3\x89\xbf\x2f\xf9\xf3\xf1\xfc\xdd\xf3\xa4\x6b\xf1\x6d\xdf\x6e\x4f\xef" "\xff\xd3\x7b\x03\xfd\x1d\x46\xea\xee\x47\xad\xdc\xfd\xff\x95\x16\x92\xca" "\x2b\x34\x76\x7c\xcf\xb9\x4d\x69\xbd\xe7\x4a\x38\xbb\xdd\x4b\xaa\xc4\xca" "\x9d\x7a\xc5\xab\x9b\xf1\x36\x3f\xd7\x81\x61\x55\xa5\xeb\x8b\xf7\xdf\xd6" "\x76\xaf\xbb\xba\xf9\xac\xd7\xf1\xf4\x5e\x77\x62\x99\x66\xcb\xee\xb5\x93" "\x3f\x78\xb6\xb7\xef\x06\x77\xbd\x52\x50\x9b\x56\x18\x29\xf7\x23\x6f\x33" "\x27\xd6\x9c\xcb\x61\xc6\xe6\xb0\x51\xd2\xff\xa5\xf1\x8f\xe8\xcc\x94\x6e" "\xe9\x1b\x15\xf3\xc5\x7c\x35\x0f\x4d\xa0\x03\x75\xdc\xf8\x5b\x8d\xd0\xd8" "\x61\x72\x23\x15\xf4\x8d\x54\xd4\xff\x35\xe5\x8b\xf4\x0c\x97\x65\x10\xb5" "\x2a\xc9\xf2\xbc\x8b\xbe\x94\x2f\xe4\x2b\xb3\xf4\xd5\xd7\x8d\xac\x66\xbc" "\xcf\x46\x36\xf9\x20\xed\x67\x45\xd4\x62\x5f\x16\x51\x76\xeb\x43\xa2\x96" "\x0a\xa3\x36\x86\x44\x2d\xf7\x47\xa5\x67\x73\x79\xe4\xa4\x99\x0f\xe6\x81" "\x59\xd1\x2f\x7d\x56\xfb\x68\xfc\xed\x59\xe2\x47\x97\xfa\xe1\x9f\x4c\xdb" "\xc6\xb5\x8c\xcf\x8c\xca\x7c\x1a\xae\x65\xe0\xee\x27\xf1\xa7\x6e\xef\x72" "\x61\xcb\x92\xab\x07\x26\x62\x5f\x4f\x74\x53\x0b\x2f\x5e\xbf\x79\xfa\xb8" "\xd7\xeb\x3e\x67\x61\xb4\x85\xe4\x3a\xfb\xb7\xf4\xe7\x44\x0b\xc9\x49\x70" "\xea\x47\xf7\xdd\xc2\x47\x49\x75\xe4\xbe\xbf\x7a\x7b\xcb\xa6\xed\xd6\x28" "\x9e\xe2\x4e\xf4\xa0\x1a\xcc\xd4\xd7\x88\xe1\x8d\x71\x8e\x9e\xdc\x77\x4e" "\xde\xf9\x1a\xae\x49\x38\x75\xe9\xa0\x1f\x33\xb0\x78\x2a\x88\xe9\xe3\xb9" "\xaf\xff\x5d\xfd\x97\xa9\x57\xd6\xdc\x64\xcd\xbe\x04\x15\xf3\xf4\xa1\x45" "\x74\x66\x8f\xeb\x25\xb5\xc1\xa2\x7b\xfd\xbf\xbc\x82\xcb\x31\xee\xab\x87" "\xb9\xf2\x0a\x6e\xd4\x9a\xeb\xca\x75\xe9\x6a\xc9\x11\xdb\x07\x03\xbb\x0d" "\xe2\x7e\x4e\xb5\xbb\x4a\xbe\xc2\x31\x6d\x7d\xd3\xa3\xcc\xfc\x1f\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x53\x61\xbc\x9f\x37" "\x84\x61\xfa\xf3\x86\x96\xca\x1a\xd7\x9d\x23\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd3\x6e\xf0\xf9\xbf\xba\x55\xeb" "\xf3\x7f\xef\x2b\x7a\x97\x7f\xfe\x2f\x80\x09\xf8\x13\x00\x00\xff\xff\xff" "\x5e\x78\x2c", 687)); NONFAILING(syz_mount_image( /*fs=*/0x200000000040, /*dir=*/0x200000000680, /*flags=MS_REC|MS_SYNCHRONOUS|MS_STRICTATIME|MS_SILENT|MS_NOSUID|0xc88*/ 0x100cc9a, /*opts=*/0x200000000080, /*chdir=*/1, /*size=*/0x2af, /*img=*/0x200000000240)); NONFAILING(memcpy((void*)0x200000000040, "cpu.stat\000", 9)); res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000040ul, /*flags=*/0x275a, /*mode=*/0); if (res != -1) r[1] = res; NONFAILING(*(uint32_t*)0x200000000940 = 8); NONFAILING(memcpy( (void*)0x200000000944, "\x85\xf0\x80\xa4\x93\x3d\x55\x26\x6e\x07\xe7\x99\xaa\x0c\xc4\x21\x38\x82" "\x42\xdf\x2a\x3c\x6b\x63\x1b\x65\xb1\xc0\x61\xed\xd2\xaa\x10\x8c\x35\x28" "\xfe\x9b\x0b\xb3\xa5\x3a\xb1\x20\x0f\x5d\x01\xa6\x8a\x4a\xcd\xec\x8f\xee" "\x09\x64\x82\x22\xf9\x08\xc1\xfe\xdc\x30\x00\x34\x2e\x61\x39\xde\x28\x36" "\x6c\x13\x50\x93\x06\xd0\x0e\xbc\xc6\x74\x97\x18\x1a\xc9\x16\xdb\x98\xaf" "\x9d\x36\x6b\x76\xe4\x27\xd9\xab\x5b\xb6\x80\x95\xf0\xfb\x24\x6d\xf3\x2b" "\x8a\xf0\x78\x36\x53\x13\x6f\x8a\x04\xc0\x36\x90\x31\x21\x25\xc7\xde\xd6" "\xa2\x4f\xda\x86\x85\x34\x0c\x57\x5e\xad\x69\x51\x9e\x35\x83\xf8\x9d\x46" "\x7e\xc2\x32\xd6\xa1\xff\xd0\x46\x3b\xa4\xea\x3c\xba\xe5\xda\xe6\x65\x4b" "\x55\x47\xb5\x45\x8f\x02\xac\x30\x77\x29\xe5\x7b\x09\xe1\x34\xf6\x8b\xe4" "\x4f\x88\xd7\x25\x17\xb2\x30\xb0\x66\xf6\x31\x5b\x5f\xb8\x02\x06\x39\x7b" "\xbf\xf8\xcb\xc2\xa3\x6e\x01\xc2\xe7\xb3\xaa\xdb\x32\xbd\x3d\xd5\x28\x8a" "\x69\xa9\x91\xd9\xc6\x74\x71\x7e\x3a\xbb\xa7\x16\x72\x80\xb2\xdb\x3b\x1b" "\x85\x02\xaf\xa4\xf3\xf2\x96\xc5\x32\x51\x0c\x9d\x2d\xd7\x9b\xb5\xee\xb2" "\x5a\xdb\x5e\xdd\xdb\xdd\x06\x9c\x09\xd1\x4d\x15\xc2\xe7\xe1\xe2\xbd\x6c" "\x10\x8f\xab\x35\x90\xbb\x22\xe9\x7d\x69\x92\x23\x6d\x22\x73\xc8\xbb\x95" "\x53\x6f\x71\x18\xd0\x07\x96\x50\x08\xb1\x25\xc7\xda\xac\x28\x14\xe6\xbb" "\xe1\xad\xbf\xa3\x57\x2a\xd0\xb7\xad\x5c\x26\xc8\x01\x41\x18\xd8\x37\x4c" "\xa9\xf2\x85\x77\x9d\xfe\xe7\x71\x5a\x40\x39\x08\x14\x6a\x74\xde\x61\xb3" "\x85\x39\x14\xc8\x9f\x44\x4c\x12\xe7\xa3\x8b\xdd\x46\xc4\xed\x36\xeb\x80" "\x6e\xa5\x98\xf4\x4d\x1d\xec\x9e\xff\x9e\x24\x76\xf4\x38\x02\x21\x1f\x07" "\x62\xb6\x66\x73\xb4\x5d\x23\x6b\x23\x91\xce\x32\x2e\x30\xfb\x9c\x69\xfe" "\x0d\x51\x4d\xc1\xf8\xb6\xe3\x97\x9c\x12\x05\xfd\x52\x24\xb0\x7d\x18\xa4" "\x4f\xec\x4f\x6f\x1a\x6f\x65\x15\x8b\xb6\xad\xcc\x29\x5b\xf2\xdd\x7d\xea" "\x10\x7f\x59\xd7\xe0\x3c\x61\xfe\x58\x22\x29\x2e\x45\x96\x89\x56\xb9\x31" "\xbd\xc4\xd6\x44\x5f\xf1\x63\x1e\x0b\x98\xe4\xb4\x44\x87\x74\xdd\x4b\x9c" "\xd5\x3a\x45\x89\x6f\xdb\x3f\x03\x70\x27\x78\x74\x1a\xe2\xb4\x5a\x25\xbf" "\x9a\x23\xfc\x02\xfb\x97\xa6\x30\xf1\x32\xbf\x9d\xef\x6c\x6d\x08\x00\x00" "\x00\x00\x00\x00\x00\x14\xf6\xf2\x37\x7b\xcf\xc7\x8e\x2e\x86\x36\x8c\x13" "\x85\x10\xa0\x4c\xed\xf7\x17\x5a\xf8\xc2\x03\x4f\xae\x74\x13\xe3\xac\xe8" "\xc7\x1a\xb9\xa0\xaf\x1c\xa7\x04\x20\x11\xa6\xed\x02\x8e\x20\x56\x48\x53" "\x5d\xab\xf3\xb2\xf8\x51\x96\xae\x18\xd3\x6b\x83\x9e\x3c\xd5\x4a\xe4\x93" "\x3a\xd5\x29\x88\x8f\xda\xc7\xbb\x8a\x70\xc7\x2b\xc0\xfc\x81\xba\x06\x50" "\x6f\x2d\x5b\xc7\x68\x6e\x21\x9b\xbe\x52\x83\x95\x9c\xbe\xf9\x95\x0e\x07" "\x1c\xb6\xd9\xf3\x41\xfc\x62\x4a\x51\x10\x34\x1f\x26\xce\xbd\x71\x00\x59" "\x9a\x06\xe6\x1f\x66\xfa\xe1\x20\xc7\xfc\x2b\x34\xc6\x22\x12\x00\xeb\xa7" "\x5b\xdd\x27\x71\x14\x67\x1a\x3f\xa8\xf0\x58\xb2\x7f\xd8\x97\xb0\x52\xf4" "\xa5\x2a\xfc\xea\x81\x4d\xf5\x26\x18\x1c\x75\xc4\x49\x72\x10\xa2\xb8\xb7" "\x4e\x26\x60\x15\x61\xe7\x87\x35\x38\x7c\xf1\x23\x65\x4b\x02\x95\xd1\xd6" "\x05\x56\x95\x6b\x36\xd9\x6d\xd0\x38\x86\x6c\x4b\x4d\xb3\x1e\xbd\xcd\xdd" "\x48\x29\xbb\xc2\x85\x0c\xd4\x90\x13\x89\xe6\xea\x6e\x86\x04\x1e\x0e\xfa" "\x11\x58\xf3\x34\xe7\xaf\xda\x0e\x11\xc2\xfb\x0e\x6d\xf6\x36\x4c\xb9\x56" "\x59\xf5\x06\xd5\xc7\xe6\x3f\xb6\x7c\x81\x16\x57\x7d\x15\xe4\xa4\xb1\xfc" "\x4c\x27\xde\x2e\x52\x58\x6c\xb1\xf5\x2b\xe9\xc3\x60\x1f\x50\x66\x54\x9d" "\xe8\xbd\xc3\xec\x07\xd1\xa8\x4c\xaf\x19\x61\x32\x3e\xc2\x48\x7a\x37\xb7" "\x51\xae\xab\xaf\x18\x64\x7c\xe2\xda\xe5\xd9\x49\x9c\x0f\x96\x94\x67\xe6" "\xca\xba\xd1\x98\x66\x9a\xc9\x6b\xd1\x48\x89\x54\xef\xf0\x85\x4e\xe0\xc8" "\x3d\x7b\x59\x6d\x27\x36\x25\xbd\xb1\x62\x70\x78\x23\x21\x07\x1f\xda\x5d" "\x98\x0d\xed\x78\xff\xa9\xdc\x2b\x56\x03\x7d\x7c\xbf\x94\x25\x47\xf4\x8a" "\x51\x31\xf1\x99\x1f\x6c\x17\xae\x1e\xd5\x12\x0c\xa6\x87\x8f\x98\xe6\x8e" "\x79\x97\xa9\xa2\xb7\x0b\xe6\x40\xa7\x0a\x34\xad\xb8\x0d\xe2\x86\xc6\x69" "\x2a\xbb\x5f\x09\x2e\x4e\x3a\x15\x28\x32\x17\xe0\x3d\x02\xa4\x05\x4f\x34" "\xaf\x3a\x65\xef\x6b\x36\xf3\x95\xb7\x6a\x05\x79\xcf\xfa\xfd\x5d\x3b\xb0" "\xe7\x04\xc9\x35\xca\xec\xf3\xa7\xab\x75\x6c\x23\xfd\x60\xc9\xfe\x3f\x4f" "\xb2\xbe\x75\x04\xf5\xba\xe2\x2b\x11\x6f\xf1\x58\x8d\xcf\x02\xb3\x27\xd3" "\x1b\xf0\x48\x8d\xba\x8a\xf5\xb3\x3c\xcf\x2d\x7d\x87\xf4\x3b\xbc\x48\xfc" "\xd4\xf1\x91\xad\x6a\xf9\x31\x3a\xd3\x8b\x8b\x29\x67\x4b\xfa\xbd\x66\x51" "\xbc\x1f\x6c\xe5\xab\xb4\xa2\xf1\x41\x31\x94\xf9\x6b\x26\xd7\xd6\xed\xc4" "\xe0\x13\xfb\xa5\x49\x07\x5c\x97\xee\xf5\x08\xaf\x5c\xa7\x87\x36\x64\xb0" "\x58\xb7\xbc\xf4\x55\xa8\xa0\x4b\x59\x1d\x29\xfa\xb6\x36\x6c\x84\x4b\xb7" "\x55\x76\xba\xc2\xd5\x23\x23\xe7\x47\x30\x3d\x00\xa5\x73\x6c\x98\x12\x92" "\x2b\x0e\x17\xbc\xec\x91\x35\x55\x07\x36\xb5\x4c\xf6\x40\x7d\x61\xe2\x2e" "\x62\xd7\xbb\x75\xf6\x29\x35\xb6\x65\xac\xf3\x3e\x75\xf6\x88\xc3\x6e\xf4" "\x16\xf1\xb8\x90\xd0\xf0\xc8\xad\x1d\xf0\x0e\x02\xec\x45\x96\x78\x34\xd5" "\x64\x9c\x8e\x71\x43\x97\x86\x22\xfa\x37\x04\x67\x29\x70\xb7\x99\x3a\x87" "\xe9\x7d\x3d\x92\x6a\x14\x26\x56\x47\xbc\x8b\x8c\x9e\x6f\x83\xe2\x95\x72" "\x60\x8d\x24\xb4\x2c\x26\x35\xef\x4a\xbb\xd0\xaf\x83\x86\x0e\x99\xc9\x0d" "\x74\x71\xcf\x6e\x8c\xe9\x95\x07\xf5\xec\x2b\xc5\x72\x21\x2f\xa9\xee\x3f" "\x5a\x9d\xfa\x38\x15\xfe\x55\xf0\xbb\xb1\x19\xac\xce\x06\x2a\xe3\x7f\x2f" "\xf9\x21\x70\x7a\xbb\xa1\x39\xbc\xcd\xf4\x2b\xfd\x17\x4d\x29\xb5\x40\x16" "\x1b\x41\x13\xc4\xe1\xa1\x3f\x3a\x62\xbc\x09\x3e\x23\xec\x0d\x06\x71\xb4" "\x6b\x41\xdc\x8b\x42\xd9\x50\xc8\x61\x5b\xa5\xee\x87\xf4\x9b\x5d\x09\x10" "\xff\xa4\x87\x12\x07\x99\x50\x01\x92\x0d\xb0\x5a\x95\x19\x99\x67\xf0\x97" "\xba\x7b\x55\xbb\xd2\x71\xd8\x18\x69\x0c\x42\x38\x40\x6b\x40\xa3\xdf\xc4" "\x2f\xa5\x6a\x67\x17\x3b\x53\xa9\x6b\x54\x33\x26\xc5\x67\x38\xb6\xd0\x43" "\x19\x59\x34\x01\x86\x96\xf5\xab\x49\x34\x7e\x51\x48\xa7\x8f\x2d\x13\x69" "\xa7\x1a\xfa\xb8\x33\x02\x73\xd4\x6e\xcf\xba\x4e\xe0\x58\x02\xa5\x38\x56" "\x49\x85\x1d\xb9\x49\xdb\xfb\x39\xe2\x90\x94\x16\x41\xc5\x0b\x1a\xc2\x0f" "\xb3\x10\x27\x54\xa7\x60\xb0\x97\xf4\x64\xdd\xb0\xb8\x3f\x81\x68\xba\xdf" "\xa7\x1d\xb6\x62\x1d\xcf\x22\xfb\x08\x1e\x34\x03\xf3\xba\xc5\xc7\xe6\x59" "\x05\xac\xa5\x28\x85\xc8\x07\xf8\xdd\xab\x18\xbb\x2f\x12\xef\x95\x2c\x50" "\x48\x3c\x0e\x25\x19\x68\xbc\x70\xff\x0d\x42\xa6\x38\xca\x74\x4d\xea\x4c" "\x7e\xbb\x4f\xea\x77\x7c\xf6\x63\xbb\x4f\x15\x05\xed\x79\x73\x0c\x45\xbc" "\x86\xe4\x88\xa1\x3f\x92\x43\x77\xa8\xe2\xee\x66\x70\xa0\x2c\xa5\x28\x74" "\xae\x1c\x42\xa3\x5d\x55\xb9\x76\x57\x57\x04\x7b\x2c\xc3\x74\x2a\xa5\x1f" "\xa3\xe4\x3f\xb2\xc1\x13\xc9\x2a\xd2\x13\xba\xd2\x52\xc1\xa8\x29\x66\xdd" "\x01\x6f\x12\xa7\xf1\xc3\x90\x0c\x0f\x1a\xb4\x55\x03\x51\x63\xf3\x18\x99" "\xbd\xd3\x0f\x3f\xf4\x3a\xd1\x7d\x9e\x45\xbb\x74\x38\xc1\xc9\x86\x71\x27" "\x36\xf2\x4b\xe1\x4f\x71\xab\x1b\xfe\x92\xa2\x5e\xc0\x7f\x08\x6e\xe8\xc7" "\x97\x1b\x80\x77\xa1\x3e\x58\xa8\xe8\xbe\xa3\x9c\x8e\x06\xb2\x51\x90\x9f" "\x02\xcb\x00\x80\xab\xf0\x20\xf2\x7c\xa1\x60\xeb\x26\xc0\x82\xdd\xa1\xfa" "\x54\xea\x40\x94\xdf\xdb\xcb\x2f\xa7\xbd\xdc\xcb\x67\xa8\x44\xe8\x07\x5f" "\x4c\xc0\x8d\xad\x35\x75\x70\x06\xd0\x51\xe1\x83\xdc\xed\x33\x6b\xc0\xc2" "\x50\x2f\x93\xff\xc8\x7d\xca\x62\x22\x86\xba\x17\x4c\x24\xe1\xf5\x3f\x27" "\xdc\x27\x77\xba\xaf\xe1\x70\x34\x8b\x0e\x8d\x3e\x74\x3b\x3a\xa9\x06\xbc" "\x07\x64\xbb\xe7\xda\x08\xff\x40\x3e\xfe\x22\x12\x62\x7d\x67\x22\x50\x65" "\x8b\xb5\x13\xb7\x31\x25\x17\xd1\xf8\x8c\x61\xc7\xba\x5f\x96\x47\xcd\x61" "\x92\x81\xc5\xb3\x91\xb4\x86\x06\xee\x39\xfb\x41\x71\x10\x3d\xf2\xe0\x9d" "\x7c\xfd\x56\xc0\x6c\x72\x1f\x7c\x24\xad\x8c\xce\x38\x36\x23\xfc\x2d\xcb" "\x15\xac\x56\x43\x8e\xa3\x31\x82\x0a\xe5\x9c\x8c\x47\x4e\x36\xfc\x73\xf7" "\xb1\xb3\xb8\x6d\xf1\xb4\x24\x90\x81\x55\x01\x68\x1a\xaf\xbf\x7e\x87\x1b" "\x4b\x96\x86\xef\xae\x6c\x45\xec\xfc\xa6\x0a\x64\x0a\x6f\x07\x1d\xfd\x31" "\xf9\x43\x7c\x3d\x03\x08\x61\x64\xb4\x8c\x1e\xd8\x02\x98\x68\x64\xbf\xe0" "\xd4\x9b\xdd\x77\x09\x66\x22\x62\x36\x8d\xbc\x3e\xcc\x05\xeb\x24\x0e\xcc" "\x41\x90\x4c\x76\xd7\x8a\xb5\xc5\x2b\x66\xaf\x5a\x72\x0f\xdd\x6a\x92\xf5" "\x2b\xe0\x67\x64\x27\xa5\x6e\x32\xe5\xbc\x50\x85\xb2\x5f\x90\xad\xd3\x8a" "\x76\xf2\xfc\xe6\xf8\xf0\xef\x74\xf4\x65\x96\x98\x54\x96\x46\xbd\x63\x17" "\x5a\xdf\x77\xb5\xcd\xcf\xe6\x76\xe1\xb1\xa9\xaf\x15\x10\x29\x46\x55\x4b" "\xa6\x13\x6c\xbc\x83\xc6\x26\x8e\xe4\x03\x18\xf3\xc9\xd4\x71\x80\x25\x68" "\x8b\x35\xd2\x26\x5b\xf6\x0b\xf8\x89\x58\x1c\x75\x0c\x34\x58\x6e\xf4\x6e" "\xab\x7a\x91\x76\x33\x75\x36\xbb\x60\x01\xe6\x76\x54\x6b\x98\x7f\x36\xb1" "\xfe\x4b\x9f\x6e\x46\xa8\xce\x73\xeb\x22\xeb\xbb\x9c\x14\xd8\xe2\xb4\x3e" "\xa7\x7e\xf8\x87\xe5\xa2\x64\x48\xf4\x08\x6f\xa8\x19\xa2\x5e\x27\x72\x5a" "\xc1\x02\x98\x85\x1c\x8b\xc4\x5f\x2c\xe4\x43\x0b\x07\x91\x7a\xde\x5e\xa8" "\xc4\x34\xc3\xf2\x57\x6e\xff\xbe\xb5\x21\x17\x37\x36\xe5\xc9\x55\x74\x50" "\x64\x30\x68\xb0\xc0\xfb\x13\x2a\x7e\x99\xde\x6c\xa2\x92\x24\x6a\x99\x37" "\xfa\x7d\x7e\x06\xe5\x9c\xf5\x9c\xe5\xb9\xf8\x42\x62\x90\x49\x93\x11\x46" "\xaf\x40\xa8\xa1\x25\x6b\xa3\x73\xa8\x8d\x09\xdc\x00\xcd\xf4\x45\x3c\xc6" "\xba\x78\x57\x2b\xf3\xe1\xf2\x35\x2a\x97\x8c\xdb\xad\x60\x22\x0c\xb8\xac" "\x37\xd7\xf6\x14\xa3\x06\x49\x2a\x4b\x5e\xee\x92\x44\xb0\xca\x84\xb6\xcf" "\x2e\x23\x01\x3b\xfb\x1c\xb9\x2b\xf6\xd1\x26\xfe\x55\x0e\x58\xc1\x9f\x84" "\xe7\xa4\x08\x14\x37\xb7\x5b\x31\xb2\xb9\xfb\x65\x8d\xcd\x8b\xa0\x77\x96" "\x2e\x0f\x33\x59\x72\x1a\x14\x8d\x4f\xef\xe5\xc9\x79\x41\xca\x96\x88\xcb" "\x85\xad\xf3\x8f\xd1\x0f\x58\x11\xcd\xd8\xe0\x74\xa2\x1b\xbf\xc9\x54\x1c" "\x71\x46\x5b\x08\xd7\x32\x12\x81\xb6\x8e\xd5\x2b\xfa\xb7\x89\xb9\xc8\x38" "\x49\xc0\x9d\x52\x37\x6d\x41\x9b\x1e\x7b\xa3\x67\x60\x32\x36\xe1\x19\xcd" "\xf4\xa7\xb7\xcf\x9d\x81\xf2\x22\x96\x01\xde\xac\xe5\x3c\xea\x2f\x14\xa0" "\x5f\x7f\xa0\xca\x04\xb3\x9e\x31\xc6\x45\x3e\x33\x2f\x4b\xd0\x91\x5c\x0e" "\x09\xe2\x8f\x4d\x11\x25\xc3\x90\xc6\xff\x08\x33\xa0\x4b\x6f\xc3\x78\x55" "\xe6\x5d\xe9\x03\x33\xe5\x05\xb9\xeb\x66\xe0\x06\x86\xa3\xed\x49\x9c\xfb" "\x7b\x8b\x21\x5d\xbd\xc9\x78\x7b\x5b\xaa\x72\x4c\xfa\x71\xee\x67\x45\xb4" "\x1e\x20\x3d\xe8\xb7\x00\x47\x57\xac\x32\x8e\xc5\x56\x75\x40\xb9\x51\xb5" "\x05\x30\xc3\xd4\xee\x34\x70\x5e\xa1\xc6\x6f\xd6\x59\x1e\x88\x56\x10\x83" "\xe8\x6d\x48\xc4\x5e\xf3\xb8\x3a\x30\x29\x31\x9d\x8f\x3d\x8e\x65\xce\x14" "\xc1\xdc\x3c\xb9\x2d\x0a\x7d\xbe\xb6\x09\xa8\xd2\x79\x39\x28\xca\xa0\x79" "\xf0\xfb\xbb\x2b\xc9\x0b\x9f\x05\x8c\xc0\x48\xf4\x03\x20\x41\xd1\x4c\x5b" "\xca\x00\xe9\x9b\x30\x27\xec\x3a\x50\xc4\x95\x71\x99\xcf\x01\x6a\x45\x94" "\x06\x9a\xf8\x65\x9d\xf0\x97\x3f\x20\xff\xb1\x5d\xbc\x26\x5a\xc5\xb8\xa2" "\x20\x3e\x90\xb1\x14\xa3\xe9\x44\x1e\x35\x7c\x60\xce\x0b\x55\x0a\x7f\xe6" "\x6f\xc3\x4f\x57\x02\xac\x8e\x89\x92\xa2\x2e\x89\x19\x4c\x1d\xf6\x9e\x81" "\xa9\xb7\xad\x3d\x26\x34\xea\x8c\x03\x88\x58\x81\x92\xfd\x47\xd8\xe8\x03" "\xb1\x00\x44\xd5\x58\x61\x7f\xb2\x92\x1b\x69\xeb\x4d\x85\xc0\x51\xf8\x6e" "\xf6\x3a\x2f\x43\x82\xb9\xbe\xcd\x87\x0f\xb2\xec\xad\xca\x69\x02\x71\x2b" "\x88\x68\x07\x92\xe2\xf2\xec\x89\x59\x1c\xfe\xbb\x6d\xb3\xad\x31\xc2\xa3" "\x39\xaf\x10\x46\x5f\xcf\x79\x88\x51\x9d\x38\x22\x18\xdf\x52\x26\x12\x34" "\xf2\x6a\x6f\x66\xad\x0d\x18\x59\xde\x50\x5d\x0f\xe8\x19\xca\xf2\xf8\xd3" "\x0a\xa9\xfd\x12\x28\xac\x91\xd1\x1c\x39\xd6\xfd\xcf\x59\x26\xd6\xad\x5c" "\x44\x15\x14\x32\x15\x07\xdf\xf6\xc6\xea\x3c\xff\x6f\x34\x0a\x1c\x11\xe0" "\xc4\x0f\x41\x9e\x8e\x60\xfc\x94\xd8\x82\x8f\xa4\x7a\x96\xcd\xf7\xee\x4f" "\x61\xe2\x3f\x40\x75\x1b\x25\xcf\x9c\xa1\x29\x50\x41\xa3\x50\xf8\x3f\x0e" "\x67\x95\x15\xd6\xb4\xb4\x6e\x2c\x9c\xe8\x99\x9e\x07\xf8\x35\xab\xc1\x66" "\x3c\xef\xcf\x72\x8d\xf3\x78\x31\xf4\xe1\x7f\x8c\x8a\x4f\xea\xf1\xfb\xf4" "\x4c\x38\xc9\x31\x32\x84\x40\x4a\x50\xba\x4c\xd8\xab\xe8\x35\xb3\x3b\xfe" "\xcb\x02\xcd\x6c\x9d\x7f\x43\x58\x53\xb4\xc8\xd5\x05\xab\x83\xcf\x46\x51" "\x27\x39\x11\x66\x94\x76\x56\x58\xba\xe6\x4b\x31\x27\x15\x2d\x21\x60\x55" "\xae\xf9\xb2\x5c\x70\xa8\xa3\xb3\x02\x75\x2d\x7b\x1e\x87\x91\xc6\x57\xb9" "\xf3\xfc\x90\x01\xef\x29\x9f\xd1\xa3\x49\x49\x1a\xe6\xee\x99\x40\x14\x91" "\x60\x50\x7f\xc4\x13\x0f\xb8\x25\xd4\x7d\x97\xdc\x2c\x24\x32\x09\xd2\x40" "\x35\x83\xac\x3e\xf6\xdd\xbe\xdc\xaa\x76\x43\x22\x55\x48\x7c\x0a\x06\xe5" "\x9e\x04\x3e\x57\x2a\xb3\xae\xc0\x02\xaf\x6a\x6b\x6a\x2d\xc9\xcf\xae\xef" "\xa7\x05\x57\x88\x6c\x4d\x12\x92\x4a\x03\x88\x13\xf2\xbc\x8e\x89\xe4\xcf" "\xa6\x97\x05\xd1\xef\x3c\x46\x58\xf8\x61\x62\x78\xb5\x88\x01\x1d\x9d\xd9" "\x14\xbe\xec\x0b\x15\x1d\x65\xb6\x52\x4f\xba\x3e\x3f\x23\x5d\x58\x37\x3e" "\x02\x16\x99\xb0\x76\x22\xa5\x15\x04\xea\xde\x74\x7e\x0b\x2f\x9c\xf3\x8b" "\xc1\x67\xca\xbc\x8c\xb1\x8c\x70\x8d\x13\x37\xe2\x56\x48\x70\x7e\x8c\x08" "\x72\x87\x65\x14\xc7\xa4\x9c\x0b\x2a\xae\xe5\xed\x9e\x9e\xcf\xcb\xcc\x23" "\xe0\x32\xc4\xde\xb6\x3e\x48\xe7\x12\x01\x88\x05\x64\x68\xfa\xd3\x14\x48" "\xe4\xb4\x2e\x7d\x62\xfb\xcf\xc1\xc2\xcf\xb0\x1f\xcf\x0d\xb5\xe8\xa1\x62" "\xbd\xb9\xbd\x82\x0c\x76\x3f\x17\xb9\x6c\x23\xf3\x2d\xb9\xd1\xc1\xd7\x4d" "\xdb\xe6\x57\xb4\xf9\x59\x5a\x97\x96\x98\x2a\x07\x42\x15\x31\x11\xb1\x5e" "\x48\x4d\x8f\xfe\xbe\x47\xce\x0a\x78\xa4\x1e\x47\x0a\x34\x16\x16\xec\x2e" "\xb6\xee\xf8\x13\xfb\x41\x5f\xab\x50\xfa\x96\x5b\xec\x6a\x59\x77\xa0\xad" "\xe4\xfe\xd6\x7f\x86\xfc\x24\xe1\x1b\x0e\x2f\x53\x64\x07\x9f\x7c\x7c\x35" "\xb5\x60\xca\xc7\x26\xdb\xc8\x0f\x29\xdb\xd2\x48\xf7\xec\xda\x02\x86\xa2" "\x3e\xf1\x72\xa2\x8c\x96\xd9\xbd\xb1\xf5\x98\xea\xb3\x1c\x6b\xaf\x03\x21" "\x31\x2d\xa2\x39\x20\xc0\x74\xb9\xd2\xd2\xe4\x42\x71\x7f\x2c\x21\x00\x11" "\x42\xa3\x9c\x2d\xa6\xb8\xbd\x9d\x06\xb0\x5a\x6a\x8d\xea\xe1\xbd\x1b\xe4" "\x10\x8a\x63\x6d\xdb\xeb\xc6\x82\xd1\x13\xe7\x15\xf2\xf3\xee\x50\x6a\xbc" "\x28\xb1\xc6\x54\xb3\xd2\xd2\x8e\x02\xf7\x3b\x17\x1e\xd0\xde\xed\x71\xdd" "\xa9\x0c\xe4\xa0\xb7\x28\xcc\x75\xcb\x57\x63\x85\xe7\x41\x8b\x54\x5b\x99" "\x2b\x1d\xd9\x8e\x2e\xe5\x33\x55\xf4\x64\xf9\x25\x0a\x2a\x03\xb3\xd1\xe4" "\xd2\xac\x1a\xa7\x1d\x01\xde\x25\x73\x53\x03\x24\xe1\x4d\x15\xa5\x07\x88" "\x34\x11\xdd\xbd\x37\xbe\x21\xdc\x92\x9d\xb9\xb1\x1f\x11\x01\x0e\x4d\x2a" "\x04\xc7\x32\x5a\x5a\xe6\xd2\x4d\x19\x90\x0f\xf9\x7a\x8a\x89\x43\x8f\x86" "\x76\x45\x7a\x78\xcf\xf0\x52\x01\x52\x8f\x43\x58\xfe\x67\xf6\x12\x88\xbf" "\x04\x2a\x8f\x3c\x2e\x0f\x8b\x49\x97\xb8\xfb\x74\x99\x6b\x80\xd4\x65\x48" "\x9b\x2d\x78\x07\xa9\x45\xeb\xa7\x2a\x94\x5e\x8c\xf8\x62\x5d\xba\xd6\xf6" "\xf6\xe3\x05\x37\xb2\x9e\x55\x8c\xa8\xa8\xb0\x62\x5f\x57\x8c\x76\x6d\x34" "\xf2\xd2\x8d\x70\x47\x15\xf9\x4d\xf1\xf6\x31\x8a\x30\x80\x42\xaa\x49\x4b" "\xaa\x50\x0a\x00\x00\x00\x00\x00\x00\x6a\x83\x08\xaf\x8c\xe6\x44\x1d\x5a" "\xd8\xa2\xf3\xd4\x77\xeb\x53\x07\xaf\x0d\xfa\xe6\x64\x44\x93\xf1\x43\x40" "\x30\xb8\x36\x16\x21\x34\x0a\xd3\xdc\xef\xa6\xd8\xf0\x90\xed\x39\x29\xd8" "\x9a\xd9\xc0\xba\x01\xa6\x90\x30\x33\x42\x8d\xd8\xf9\x86\x19\x30\x4b\x18" "\x03\x18\x7d\x2a\x61\x30\xbf\x1e\x00\x9b\x5e\xb0\xe7\xe2\x1c\x75\x59\x4b" "\x3b\x84\x70\xf3\x10\x6c\x92\xa9\xe5\x5b\xfe\xb0\x26\x09\x1c\xed\x12\x7a" "\x90\xa1\xf1\x24\x7f\x3c\x07\xe3\x6d\x35\x72\x92\x3e\x0d\xe3\xf7\x35\x18" "\xd0\x36\x9a\x25\xfc\xd4\xe6\x5d\x24\x3b\x7e\xab\x91\x06\x3a\x7b\xfd\x8b" "\xc8\xac\x9e\x39\xfb\xbb\x32\xb5\xc9\x51\x78\x86\x28\x7a\x18\xea\xcd\x8d" "\xbf\xda\x9b\x91\xdb\x69\x3c\xb1\x2e\x42\xcb\xa5\x98\x82\x80\xe0\x9e\x51" "\xe7\x2b\x91\xa0\xf3\x60\x65\x6d\x8f\x21\xcc\x1e\xb3\x24\x8a\xc3\x45\xad" "\x51\xd1\xa6\x17\x2b\x18\x41\x92\x77\x85\x1d\xab\x01\xe0\x28\xc7\xe8\xe2" "\xcf\x34\x09\x5e\xfd\x28\x26\x78\x52\xa0\x8f\xcc\xf6\x1c\x45\xb5\xe4\x69" "\x30\x16\x0d\xaf\x50\x28\x2b\xe0\x58\x27\x4e\x7f\xf5\x8c\x48\xb6\x0b\x86" "\xd0\xc8\xcc\x88\x6a\xb8\x77\x8a\x2a\x2b\x5f\xa2\x55\x7a\xd7\xbf\x7f\x01" "\xf2\x17\x55\x23\xce\x75\x88\x71\xd3\x34\xc2\x0a\x98\x39\xf7\xa8\x9f\xe2" "\x86\x7c\x06\x28\x9c\x8a\x2f\x64\x56\xac\x7e\x4f\xba\xde\xe5\x3a\xc4\x1a" "\xee\x68\x21\x4b\xc7\x66\x69\x85\x3b\xaa\x4f\x58\x25\x5b\x39\xba\x58\x14" "\x14\xf2\xe8\xc4\xb4\x93\x03\xf8\x93\x6a\x33\xba\xe5\xcb\xc9\x6b\x29\xa5" "\xc7\x24\xd5\xb5\x0e\x16\x14\x14\x4c\x2a\xcd\x03\xbd\x90\xde\x89\x1c\x3d" "\x36\xce\x04\x0d\x57\x54\x36\x82\xec\xbf\xca\xe6\x6c\x41\x53\xc3\x37\xc3" "\xa5\xd0\x18\x96\x52\x4c\x8e\x0c\x27\xe9\xa0\x89\x19\x82\x1c\xa2\x7b\xbf" "\xe3\xfc\x9b\xa2\x4a\x82\x3a\xee\xc8\xd4\xad\x8e\xf8\xa6\x5c\x58\x5b\xee" "\x4d\xcf\x1a\xca\xa3\xda\x50\x1a\x8c\x11\xa2\x3b\x2e\x22\x92\x0c\x1a\xd0" "\x12\x9a\x03\x8b\x31\xfe\x16\xc2\xab\xc8\x05\x89\xdb\xf7\xc3\x72\x11\xaf" "\xc5\xd1\xa6\xdb\x90\x8b\xc5\xfe\x8a\x69\x20\x60\x06\x9f\xcb\xcd\xcb\xa7" "\xc5\x23\xd3\xc4\x24\xaa\x3b\x0c\x65\x56\x38\x7e\x0e\x51\xbc\xde\x9e\x5f" "\x85\x0a\xbf\x62\xd2\xc2\x10\x1c\x3a\x27\x86\xa0\xcb\x94\x93\x28\x77\xa0" "\x9c\xb6\xb6\x4a\xa6\x1d\xa8\xca\xb3\xb4\x23\xe7\xad\xc4\xc4\x70\x04\x18" "\xa6\x5e\x87\x22\x57\x10\xe1\x69\x1f\x6d\x9c\xb2\xeb\x63\xcc\xe5\xb6\x05" "\xce\x0a\x4a\x89\xcf\x51\x97\x67\xe0\x08\x45\x39\x7c\x5e\x38\x11\x41\xa0" "\xed\x8a\x89\xb0\x10\x64\xb4\x95\xec\x8d\x1e\x2d\xa3\x74\x33\xbf\x15\x97" "\xd9\x19\xa6\x96\x10\xd2\xad\x26\xbd\xf6\xfc\xa8\xde\x42\x2b\xb2\xcb\x80" "\xd0\x51\x62\x06\xe8\x19\x4e\xe5\x14\x45\xa3\xdc\xb5\xde\xe3\x3c\x0c\x31" "\x0b\x47\x51\xe6\x8e\x58\xbe\xbd\xa2\xfb\x58\x69\x85\xa5\xa5\xb0\x64\x56" "\x75\x6f\x44\xe6\xdb\xfe\xf4\xbb\x99\xca\x73\x2f\x00\xfb\x9e\xa3\x57\x75" "\xf7\x41\x96\x81\xbf\xbe\x6f\x43\xdc\x7c\x46\x50\xc1\x3b\x63\xd9\x3c\x1d" "\x49\x0b\xf0\x17\x3f\x28\x7a\x43\x09\x53\x1f\x13\xec\xb1\xa7\x75\xd0\xbd" "\x88\x1a\x00\x00\x00\x00\x00\x00\x00\x00", 4096)); NONFAILING(*(uint16_t*)0x200000001944 = 0xfe43); syscall(__NR_write, /*fd=*/r[1], /*data=*/0x200000000940ul, /*len=*/0x1006ul); } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/ 7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; install_segv_handler(); use_temporary_dir(); do_sandbox_none(); return 0; }