// https://syzkaller.appspot.com/bug?id=f34aaaca22b6590b45be3c10114cf04f402cfdc0 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifndef __NR_memfd_create #define __NR_memfd_create 319 #endif static unsigned long long procid; static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { int state; } event_t; static void event_init(event_t* ev) { ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { if (ev->state) exit(1); __atomic_store_n(&ev->state, 1, __ATOMIC_RELEASE); syscall(SYS_futex, &ev->state, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, 1000000); } static void event_wait(event_t* ev) { while (!__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, 0); } static int event_isset(event_t* ev) { return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE); } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; for (;;) { uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, &ts); if (__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) return 1; now = current_time_ms(); if (now - start > timeout) return 0; } } static bool write_file(const char* file, const char* what, ...) { char buf[1024]; va_list args; va_start(args, what); vsnprintf(buf, sizeof(buf), what, args); va_end(args); buf[sizeof(buf) - 1] = 0; int len = strlen(buf); int fd = open(file, O_WRONLY | O_CLOEXEC); if (fd == -1) return false; if (write(fd, buf, len) != len) { int err = errno; close(fd); errno = err; return false; } close(fd); return true; } #define MAX_FDS 30 //% This code is derived from puff.{c,h}, found in the zlib development. The //% original files come with the following copyright notice: //% Copyright (C) 2002-2013 Mark Adler, all rights reserved //% version 2.3, 21 Jan 2013 //% This software is provided 'as-is', without any express or implied //% warranty. In no event will the author be held liable for any damages //% arising from the use of this software. //% Permission is granted to anyone to use this software for any purpose, //% including commercial applications, and to alter it and redistribute it //% freely, subject to the following restrictions: //% 1. The origin of this software must not be misrepresented; you must not //% claim that you wrote the original software. If you use this software //% in a product, an acknowledgment in the product documentation would be //% appreciated but is not required. //% 2. Altered source versions must be plainly marked as such, and must not be //% misrepresented as being the original software. //% 3. This notice may not be removed or altered from any source distribution. //% Mark Adler madler@alumni.caltech.edu //% BEGIN CODE DERIVED FROM puff.{c,h} #define MAXBITS 15 #define MAXLCODES 286 #define MAXDCODES 30 #define MAXCODES (MAXLCODES + MAXDCODES) #define FIXLCODES 288 struct puff_state { unsigned char* out; unsigned long outlen; unsigned long outcnt; const unsigned char* in; unsigned long inlen; unsigned long incnt; int bitbuf; int bitcnt; jmp_buf env; }; static int puff_bits(struct puff_state* s, int need) { long val = s->bitbuf; while (s->bitcnt < need) { if (s->incnt == s->inlen) longjmp(s->env, 1); val |= (long)(s->in[s->incnt++]) << s->bitcnt; s->bitcnt += 8; } s->bitbuf = (int)(val >> need); s->bitcnt -= need; return (int)(val & ((1L << need) - 1)); } static int puff_stored(struct puff_state* s) { s->bitbuf = 0; s->bitcnt = 0; if (s->incnt + 4 > s->inlen) return 2; unsigned len = s->in[s->incnt++]; len |= s->in[s->incnt++] << 8; if (s->in[s->incnt++] != (~len & 0xff) || s->in[s->incnt++] != ((~len >> 8) & 0xff)) return -2; if (s->incnt + len > s->inlen) return 2; if (s->outcnt + len > s->outlen) return 1; for (; len--; s->outcnt++, s->incnt++) { if (s->in[s->incnt]) s->out[s->outcnt] = s->in[s->incnt]; } return 0; } struct puff_huffman { short* count; short* symbol; }; static int puff_decode(struct puff_state* s, const struct puff_huffman* h) { int first = 0; int index = 0; int bitbuf = s->bitbuf; int left = s->bitcnt; int code = first = index = 0; int len = 1; short* next = h->count + 1; while (1) { while (left--) { code |= bitbuf & 1; bitbuf >>= 1; int count = *next++; if (code - count < first) { s->bitbuf = bitbuf; s->bitcnt = (s->bitcnt - len) & 7; return h->symbol[index + (code - first)]; } index += count; first += count; first <<= 1; code <<= 1; len++; } left = (MAXBITS + 1) - len; if (left == 0) break; if (s->incnt == s->inlen) longjmp(s->env, 1); bitbuf = s->in[s->incnt++]; if (left > 8) left = 8; } return -10; } static int puff_construct(struct puff_huffman* h, const short* length, int n) { int len; for (len = 0; len <= MAXBITS; len++) h->count[len] = 0; int symbol; for (symbol = 0; symbol < n; symbol++) (h->count[length[symbol]])++; if (h->count[0] == n) return 0; int left = 1; for (len = 1; len <= MAXBITS; len++) { left <<= 1; left -= h->count[len]; if (left < 0) return left; } short offs[MAXBITS + 1]; offs[1] = 0; for (len = 1; len < MAXBITS; len++) offs[len + 1] = offs[len] + h->count[len]; for (symbol = 0; symbol < n; symbol++) if (length[symbol] != 0) h->symbol[offs[length[symbol]]++] = symbol; return left; } static int puff_codes(struct puff_state* s, const struct puff_huffman* lencode, const struct puff_huffman* distcode) { static const short lens[29] = {3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258}; static const short lext[29] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0}; static const short dists[30] = { 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577}; static const short dext[30] = {0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13}; int symbol; do { symbol = puff_decode(s, lencode); if (symbol < 0) return symbol; if (symbol < 256) { if (s->outcnt == s->outlen) return 1; if (symbol) s->out[s->outcnt] = symbol; s->outcnt++; } else if (symbol > 256) { symbol -= 257; if (symbol >= 29) return -10; int len = lens[symbol] + puff_bits(s, lext[symbol]); symbol = puff_decode(s, distcode); if (symbol < 0) return symbol; unsigned dist = dists[symbol] + puff_bits(s, dext[symbol]); if (dist > s->outcnt) return -11; if (s->outcnt + len > s->outlen) return 1; while (len--) { if (dist <= s->outcnt && s->out[s->outcnt - dist]) s->out[s->outcnt] = s->out[s->outcnt - dist]; s->outcnt++; } } } while (symbol != 256); return 0; } static int puff_fixed(struct puff_state* s) { static int virgin = 1; static short lencnt[MAXBITS + 1], lensym[FIXLCODES]; static short distcnt[MAXBITS + 1], distsym[MAXDCODES]; static struct puff_huffman lencode, distcode; if (virgin) { lencode.count = lencnt; lencode.symbol = lensym; distcode.count = distcnt; distcode.symbol = distsym; short lengths[FIXLCODES]; int symbol; for (symbol = 0; symbol < 144; symbol++) lengths[symbol] = 8; for (; symbol < 256; symbol++) lengths[symbol] = 9; for (; symbol < 280; symbol++) lengths[symbol] = 7; for (; symbol < FIXLCODES; symbol++) lengths[symbol] = 8; puff_construct(&lencode, lengths, FIXLCODES); for (symbol = 0; symbol < MAXDCODES; symbol++) lengths[symbol] = 5; puff_construct(&distcode, lengths, MAXDCODES); virgin = 0; } return puff_codes(s, &lencode, &distcode); } static int puff_dynamic(struct puff_state* s) { static const short order[19] = {16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15}; int nlen = puff_bits(s, 5) + 257; int ndist = puff_bits(s, 5) + 1; int ncode = puff_bits(s, 4) + 4; if (nlen > MAXLCODES || ndist > MAXDCODES) return -3; short lengths[MAXCODES]; int index; for (index = 0; index < ncode; index++) lengths[order[index]] = puff_bits(s, 3); for (; index < 19; index++) lengths[order[index]] = 0; short lencnt[MAXBITS + 1], lensym[MAXLCODES]; struct puff_huffman lencode = {lencnt, lensym}; int err = puff_construct(&lencode, lengths, 19); if (err != 0) return -4; index = 0; while (index < nlen + ndist) { int symbol; int len; symbol = puff_decode(s, &lencode); if (symbol < 0) return symbol; if (symbol < 16) lengths[index++] = symbol; else { len = 0; if (symbol == 16) { if (index == 0) return -5; len = lengths[index - 1]; symbol = 3 + puff_bits(s, 2); } else if (symbol == 17) symbol = 3 + puff_bits(s, 3); else symbol = 11 + puff_bits(s, 7); if (index + symbol > nlen + ndist) return -6; while (symbol--) lengths[index++] = len; } } if (lengths[256] == 0) return -9; err = puff_construct(&lencode, lengths, nlen); if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1])) return -7; short distcnt[MAXBITS + 1], distsym[MAXDCODES]; struct puff_huffman distcode = {distcnt, distsym}; err = puff_construct(&distcode, lengths + nlen, ndist); if (err && (err < 0 || ndist != distcode.count[0] + distcode.count[1])) return -8; return puff_codes(s, &lencode, &distcode); } static int puff(unsigned char* dest, unsigned long* destlen, const unsigned char* source, unsigned long sourcelen) { struct puff_state s = { .out = dest, .outlen = *destlen, .outcnt = 0, .in = source, .inlen = sourcelen, .incnt = 0, .bitbuf = 0, .bitcnt = 0, }; int err; if (setjmp(s.env) != 0) err = 2; else { int last; do { last = puff_bits(&s, 1); int type = puff_bits(&s, 2); err = type == 0 ? puff_stored(&s) : (type == 1 ? puff_fixed(&s) : (type == 2 ? puff_dynamic(&s) : -1)); if (err != 0) break; } while (!last); } *destlen = s.outcnt; return err; } //% END CODE DERIVED FROM puff.{c,h} #define ZLIB_HEADER_WIDTH 2 static int puff_zlib_to_file(const unsigned char* source, unsigned long sourcelen, int dest_fd) { if (sourcelen < ZLIB_HEADER_WIDTH) return 0; source += ZLIB_HEADER_WIDTH; sourcelen -= ZLIB_HEADER_WIDTH; const unsigned long max_destlen = 132 << 20; void* ret = mmap(0, max_destlen, PROT_WRITE | PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); if (ret == MAP_FAILED) return -1; unsigned char* dest = (unsigned char*)ret; unsigned long destlen = max_destlen; int err = puff(dest, &destlen, source, sourcelen); if (err) { munmap(dest, max_destlen); errno = -err; return -1; } if (write(dest_fd, dest, destlen) != (ssize_t)destlen) { munmap(dest, max_destlen); return -1; } return munmap(dest, max_destlen); } static int setup_loop_device(unsigned char* data, unsigned long size, const char* loopname, int* loopfd_p) { int err = 0, loopfd = -1; int memfd = syscall(__NR_memfd_create, "syzkaller", 0); if (memfd == -1) { err = errno; goto error; } if (puff_zlib_to_file(data, size, memfd)) { err = errno; goto error_close_memfd; } loopfd = open(loopname, O_RDWR); if (loopfd == -1) { err = errno; goto error_close_memfd; } if (ioctl(loopfd, LOOP_SET_FD, memfd)) { if (errno != EBUSY) { err = errno; goto error_close_loop; } ioctl(loopfd, LOOP_CLR_FD, 0); usleep(1000); if (ioctl(loopfd, LOOP_SET_FD, memfd)) { err = errno; goto error_close_loop; } } close(memfd); *loopfd_p = loopfd; return 0; error_close_loop: close(loopfd); error_close_memfd: close(memfd); error: errno = err; return -1; } static void reset_loop_device(const char* loopname) { int loopfd = open(loopname, O_RDWR); if (loopfd == -1) { return; } if (ioctl(loopfd, LOOP_CLR_FD, 0)) { } close(loopfd); } static long syz_mount_image(volatile long fsarg, volatile long dir, volatile long flags, volatile long optsarg, volatile long change_dir, volatile unsigned long size, volatile long image) { unsigned char* data = (unsigned char*)image; int res = -1, err = 0, need_loop_device = !!size; char* mount_opts = (char*)optsarg; char* target = (char*)dir; char* fs = (char*)fsarg; char* source = NULL; char loopname[64]; if (need_loop_device) { int loopfd; memset(loopname, 0, sizeof(loopname)); snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); if (setup_loop_device(data, size, loopname, &loopfd) == -1) return -1; close(loopfd); source = loopname; } mkdir(target, 0777); char opts[256]; memset(opts, 0, sizeof(opts)); if (strlen(mount_opts) > (sizeof(opts) - 32)) { } strncpy(opts, mount_opts, sizeof(opts) - 32); if (strcmp(fs, "iso9660") == 0) { flags |= MS_RDONLY; } else if (strncmp(fs, "ext", 3) == 0) { bool has_remount_ro = false; char* remount_ro_start = strstr(opts, "errors=remount-ro"); if (remount_ro_start != NULL) { char after = *(remount_ro_start + strlen("errors=remount-ro")); char before = remount_ro_start == opts ? '\0' : *(remount_ro_start - 1); has_remount_ro = ((before == '\0' || before == ',') && (after == '\0' || after == ',')); } if (strstr(opts, "errors=panic") || !has_remount_ro) strcat(opts, ",errors=continue"); } else if (strcmp(fs, "xfs") == 0) { strcat(opts, ",nouuid"); } res = mount(source, target, fs, flags, opts); if (res == -1) { err = errno; goto error_clear_loop; } res = open(target, O_RDONLY | O_DIRECTORY); if (res == -1) { err = errno; goto error_clear_loop; } if (change_dir) { res = chdir(target); if (res == -1) { err = errno; } } error_clear_loop: if (need_loop_device) reset_loop_device(loopname); errno = err; return res; } 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/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_binderfs(); setup_fusectl(); } 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); } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } int i, call, thread; for (call = 0; call < 5; call++) { for (thread = 0; thread < (int)(sizeof(threads) / sizeof(threads[0])); thread++) { struct thread_t* th = &threads[thread]; if (!th->created) { th->created = 1; event_init(&th->ready); event_init(&th->done); event_set(&th->done); thread_start(thr, th); } if (!event_isset(&th->done)) continue; event_reset(&th->done); th->call = call; __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); event_set(&th->ready); event_timedwait(&th->done, 50 + (call == 0 ? 4000 : 0)); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); close_fds(); } static void execute_one(void); #define WAIT_FLAGS __WALL static void loop(void) { int iter = 0; for (;; iter++) { char cwdbuf[32]; sprintf(cwdbuf, "./%d", iter); if (mkdir(cwdbuf, 0777)) exit(1); reset_loop(); int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { if (chdir(cwdbuf)) exit(1); setup_test(); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { sleep_ms(10); if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; if (current_time_ms() - start < 5000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[1] = {0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: memcpy((void*)0x20000280, "exfat\000", 6); memcpy((void*)0x200000c0, "./file2\000", 8); memcpy( (void*)0x20002d40, "\x78\x9c\xec\xdc\x09\xb8\x4e\x65\xf7\x30\xf0\xb5\xee\xfb\xde\x1c\x32" "\x3c\x49\xe6\xbd\xee\xb5\x79\x92\xe1\x26\x49\x42\x49\x32\x24\x49\x12" "\x92\x39\x21\x49\x92\x24\x49\x1c\x32\x25\x21\x09\x19\x4f\x92\x39\x64" "\x4e\x27\x1d\xf3\x3c\x64\x4e\x3a\x79\x25\x49\x12\x92\x29\xdc\xdf\x75" "\x54\x9f\xb7\xf7\x7d\xfb\x7a\xa7\xff\xe7\xfd\xbf\x67\xfd\xae\x6b\x5f" "\xe7\x5e\x67\xef\xb5\x9e\xb5\xcf\xba\x9e\xf3\xec\xbd\xaf\xeb\x9c\x6f" "\xbb\x0c\xad\xd6\xb0\x7a\xe5\x7a\xcc\x0c\xff\x0c\xfd\xeb\x02\x7f\xfe" "\x92\x08\x00\x09\x00\x30\x00\x00\xb2\x03\x40\x00\x00\x65\x72\x94\xc9" "\x91\xb6\x3f\x93\xc6\xc4\x7f\xea\x45\xc4\xff\x90\xfa\xd3\xaf\x76\x07" "\xe2\x6a\x92\xf9\xa7\x6f\x32\xff\xf4\x4d\xe6\x9f\xbe\xc9\xfc\xd3\x37" "\x99\x7f\xfa\x26\xf3\x4f\xdf\x64\xfe\xe9\x9b\xcc\x5f\x88\x74\x6d\x66" "\xde\x6b\x65\x4b\xbf\x9b\x3c\xff\xff\x5f\x4e\xfd\x2b\xc9\xf2\xf9\x9f" "\x2e\xe0\xef\xed\x90\xf9\xff\xb7\xd1\xff\xd0\xd1\x32\xff\xf4\x4d\xe6" "\x9f\xbe\xc9\xfc\xd3\x37\x99\x7f\xfa\x73\xe5\x16\x2c\xb8\xaa\x7d\x88" "\xab\x4f\xde\xff\xe9\x9b\xcc\x5f\x88\x74\xed\xdf\xfe\x4c\x79\xfd\xd9" "\xab\xfd\x4c\x5b\xb6\x7f\x60\x13\x42\x08\x21\x84\x10\x42\x08\x21\x84" "\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42" "\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21" "\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10" "\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08" "\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84" "\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42" "\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21" "\xfe\x3f\x38\xeb\xaf\x30\x00\xf0\xeb\xfa\x6a\xf7\x25\x84\x10\x42\x08" "\x21\x84\x10\x42\x88\x7f\x1f\xff\xfe\xd5\xee\x40\x08\x21\x84\x10\x42" "\x08\x21\x84\x10\xff\xf3\x10\x14\x68\x30\x10\x40\x06\xc8\x08\x09\x90" "\x09\x32\xc3\x35\x90\x05\xb2\x42\x36\xc8\x0e\x31\xb8\x16\x72\xc0\x75" "\x90\x13\xae\x87\x5c\x90\x1b\xf2\x40\x5e\xc8\x07\xf9\xa1\x00\x84\x40" "\x60\x81\x21\x82\x82\x50\x08\xe2\x70\x03\x14\x86\x1b\xa1\x08\x14\x85" "\x62\x50\x1c\x1c\x94\x80\x92\x70\x13\x94\x82\x9b\xa1\x34\xdc\x02\x65" "\xe0\x56\x28\x0b\xb7\x41\x39\x28\x7f\xf9\x35\xd3\xdc\x09\x95\xe0\x2e" "\xa8\x0c\x77\x43\x15\xa8\x0a\xd5\xa0\x3a\xdc\x03\x35\xe0\x5e\xa8\x09" "\xf7\x41\x2d\xb8\x1f\x6a\xc3\x03\x50\x07\x1e\x84\xba\xf0\x10\xd4\x83" "\xfa\xd0\x00\x1e\x86\x86\xf0\x08\x34\x82\xc6\xd0\x04\x9a\x42\x33\x68" "\x0e\x2d\xfe\x20\x3f\x29\xfb\xdf\xca\x7f\x11\xba\xc3\x4b\xd0\x03\x7a" "\x42\x22\xf4\x82\xde\xf0\x32\xf4\x81\xbe\xd0\x0f\xfa\xc3\x00\x78\x05" "\x06\xc2\xab\x30\x08\x5e\x83\xc1\x30\x04\x86\xc2\xeb\x30\x0c\xde\x80" "\xe1\xf0\x26\x8c\x80\x91\x30\x0a\xde\x82\xd1\x30\x06\xc6\xc2\x38\x18" "\x0f\x13\x20\x09\xde\x86\x89\xf0\x0e\x4c\x82\x77\x1f\xc9\x0a\x53\x60" "\x2a\x4c\x83\xe9\x30\x03\x66\xc2\x7b\x30\x0b\x66\xc3\x1c\x78\x1f\xe6" "\xc2\x3c\x98\x0f\x49\x99\x16\xc2\x22\x58\x0c\x1f\xc0\x12\xf8\x10\x92" "\xe1\x23\x58\x0a\x1f\x43\x0a\x2c\x83\xe5\xb0\x02\x56\xc2\x2a\x58\x0d" "\x6b\x60\x2d\xac\x83\xf5\xb0\x01\x36\xc2\x26\xd8\x0c\x5b\x60\x2b\x7c" "\x02\xdb\x60\x3b\xec\x80\x9d\xb0\x0b\x76\xc3\x1e\xf8\x14\xf6\xc2\x67" "\xb0\x0f\x3e\x87\x54\xfc\xe2\x1f\xcc\x3f\xf3\xdb\x7c\xe8\x8a\x80\x80" "\x0a\x15\x1a\x34\x98\x01\x33\x60\x02\x26\x60\x66\xcc\x8c\x59\x30\x0b" "\x66\xc3\x6c\x18\xc3\x18\xe6\xc0\x1c\x98\x13\x73\x62\x2e\xcc\x85\x79" "\x30\x0f\x26\x62\x3e\x2c\x80\x05\x90\x90\x90\x91\xb1\x20\x16\xc4\x38" "\xc6\xb1\x30\x16\xc6\x22\x58\x04\x8b\x61\x31\x74\xe8\xb0\x24\x96\xc4" "\x52\x78\xd1\x7b\x5f\x1a\xcb\x60\x19\x2c\x8b\x65\xb1\x1c\x96\xc7\xf2" "\x78\x3b\xde\x8e\x15\xb1\x22\x56\xc2\x4a\x58\x19\x2b\x63\x15\xac\x82" "\xd5\xb0\x1a\xde\x83\xf7\xe0\xbd\x58\x13\x6b\x62\x2d\xac\x85\xb5\xb1" "\x36\xd6\xc1\x3a\x58\x17\xeb\x62\x3d\xac\x87\x0d\xb0\x01\x36\xc4\x86" "\xd8\x08\x1b\x61\x13\x6c\x82\xcd\xb0\x19\xb6\xc0\x16\xd8\x12\x5b\x62" "\x2b\x6c\x85\x6d\xb0\x0d\xb6\xc5\xb6\xd8\x0e\xdb\x61\x7b\x6c\x8f\x1d" "\xb0\x03\x76\xc4\x8e\xd8\x09\x3b\x61\x67\xec\x8c\x5d\xb0\x0b\x76\xc5" "\x17\xf0\x05\x7c\x11\x5f\xc4\x97\xf0\x25\xec\x89\x55\x54\x2f\xec\x8d" "\xbd\xb1\x0f\xf6\xc1\x7e\xd8\x1f\xfb\xe3\x2b\x38\x10\x5f\xc5\x57\xf1" "\x35\x1c\x8c\x43\x70\x28\xbe\x8e\xaf\xe3\x1b\x38\x1c\x4f\xe3\x08\x1c" "\x89\xa3\x70\x14\x56\x54\x63\x70\x2c\x8e\x43\x56\x13\x30\x09\x93\x30" "\x23\x4c\xc4\x49\x38\x09\x27\xe3\x14\x9c\x82\xd3\x70\x3a\xce\xc0\x99" "\x38\x13\x67\xe1\x6c\x9c\x8d\xef\xe3\x5c\x9c\x87\xf3\x70\x01\x2e\xc0" "\x45\xb8\x18\x17\xe3\x12\xfc\x10\x93\x31\x19\x97\xe2\x19\x4c\xc1\x65" "\xb8\x1c\x57\xe0\x4a\x5c\x85\x2b\x71\x0d\xae\xc5\x35\xb8\x1e\x37\xe0" "\x7a\xdc\x84\x9b\x70\x0b\x6e\xc1\x4f\xf0\x13\xdc\x8e\xdb\x71\x27\xee" "\xc4\xdd\xb8\x1b\x3f\xc5\x4f\xf1\x33\xfc\x0c\x07\x63\x2a\xa6\xe2\x7e" "\xdc\x8f\x07\xf0\x00\x1e\xc4\x83\x78\x08\x0f\xe1\x61\x3c\x8c\x47\xf0" "\x08\x1e\xc5\xa3\x78\x0c\x8f\xe1\x71\x3c\x81\x27\xf1\x04\x9e\xc2\x53" "\x78\x1a\xcf\xe0\x59\x00\x38\x8f\xe7\xf1\x02\x5e\xc0\x4b\x78\x29\xed" "\xcd\xaf\xd2\x18\x65\x54\x06\x95\x41\x25\xa8\x04\x95\x59\x65\x56\x59" "\x54\x16\x95\x4d\x65\x53\x31\x15\x53\x39\x54\x0e\x95\x53\xe5\x54\xb9" "\x54\x2e\x95\x47\xe5\x51\xf9\x54\x3e\x55\x40\x15\x50\xa4\x48\xb1\x8a" "\x54\x41\x55\x50\xc5\x55\x5c\x15\x56\x85\x55\x11\x55\x44\x15\x53\xc5" "\x94\x53\x4e\x95\x54\x25\x55\x29\x55\x4a\x95\x56\xa5\x55\x19\x75\xab" "\x2a\xab\x6e\x53\xe5\x54\x79\xd5\xda\xdd\xae\x6e\x57\x15\x55\x1b\x57" "\x49\xdd\xa5\x2a\xab\xca\xaa\x8a\xaa\xaa\xaa\xa9\xea\xaa\xba\xaa\xa1" "\x6a\xa8\x9a\xaa\xa6\xaa\xa5\x6a\xa9\xda\xaa\xb6\xaa\xa3\x1e\x54\x75" "\x55\x2f\xec\x87\xf5\x55\xda\x64\x1a\xaa\x21\xd8\x48\x0d\xc5\x26\xaa" "\xa9\x6a\xa6\x9a\xab\x37\xf0\x51\xd5\x52\x0d\xc7\x56\xaa\xb5\x6a\xa3" "\x1e\x57\x23\x71\x04\xb6\x53\x2d\x5d\x7b\xf5\x94\xea\xa0\xc6\x62\x47" "\xf5\x8c\x1a\x87\xcf\xaa\xce\x6a\x02\x76\x51\xcf\xab\xae\xea\x05\xd5" "\x4d\xbd\xa8\xba\xab\x56\xae\x87\xea\xa9\x26\x63\x2f\xd5\x5b\x4d\xc3" "\x3e\xaa\xaf\xea\xa7\xfa\xab\x59\x58\x55\xa5\x4d\xac\x9a\x7a\x4d\xbd" "\x98\x71\x88\x1a\xaa\x5e\x57\x8b\xf0\x0d\x35\x5c\xbd\xa9\x46\xa8\x91" "\x6a\x94\x7a\x4b\x8d\x56\x63\xd4\x58\x35\x4e\x8d\x57\x13\x54\x92\x7a" "\x5b\x4d\x54\xef\xa8\x49\xea\x5d\x35\x59\x4d\x51\x53\xd5\x34\x35\x5d" "\xcd\x50\x33\xd5\x7b\x6a\x96\x9a\xad\xe6\xa8\xf7\xd5\x5c\x35\x4f\x83" "\x5a\xa0\x16\xaa\x45\x6a\xb1\xfa\x40\x2d\x51\x1f\xaa\x64\xf5\x91\x5a" "\xaa\x3e\x56\x29\x6a\x99\x5a\xae\x56\xa8\x95\x6a\x95\x5a\xad\xd6\xa8" "\xb5\x6a\x9d\x5a\xaf\x36\xa8\x8d\x6a\x93\xda\xac\xb6\xa8\xad\xea\x13" "\xb5\x4d\x6d\x57\x3b\xd4\x4e\xb5\x4b\xed\x56\x7b\xd4\xa7\x6a\xaf\xfa" "\x4c\xed\x53\x9f\xab\x54\xf5\x85\xda\xaf\xfe\xa4\x0e\xa8\x2f\xd5\x41" "\xf5\x95\x3a\xa4\xbe\x56\x87\xd5\x37\xea\x88\xfa\x56\x1d\x55\xdf\xa9" "\x63\xea\x7b\x75\x5c\x9d\x50\x27\xd5\x0f\xea\x94\xfa\x51\x9d\x56\x67" "\xd4\x59\x75\x4e\x9d\x57\x3f\xa9\x0b\xea\xa2\xba\xa4\xbc\x02\x8d\x5a" "\x69\xad\x8d\x0e\x74\x06\x9d\x51\x27\xe8\x4c\x3a\xb3\xbe\x46\x67\xd1" "\x59\x75\x36\x9d\x5d\xc7\xf4\xb5\x3a\x87\xbe\x4e\xe7\xd4\xd7\xeb\x5c" "\x3a\xb7\xce\x63\xf2\xea\x7c\x3a\xbf\x2e\xa0\x43\x4d\xda\x6a\xd6\x91" "\x2e\xa8\x0b\xe9\xb8\xbe\x41\x17\xd6\x37\xea\x22\xba\xa8\x2e\xa6\x8b" "\x6b\xa7\x4b\xe8\x92\xfa\x26\x5d\x4a\xdf\xac\x4b\xeb\x5b\x74\x19\x7d" "\xab\x2e\xab\x6f\xd3\xe5\x74\x79\x5d\xc1\x83\xbe\x43\x57\xd4\x77\xea" "\x4a\xfa\x2e\x5d\x59\xdf\xad\xab\xe8\xaa\xba\x9a\xae\xae\xef\xd1\x35" "\xf4\xbd\xba\xa6\xbe\x4f\xd7\xd2\xf7\xeb\xda\xfa\x01\x5d\x47\x3f\xa8" "\xeb\xea\x87\x74\x3d\x5d\x5f\x37\xd0\x0f\xeb\x86\xfa\x11\xdd\x48\x37" "\xd6\x4d\x74\x53\xdd\x4c\x37\xd7\x2d\xf4\xa3\xba\xa5\x7e\x4c\xb7\xd2" "\xad\x75\x1b\xfd\xb8\x6e\xab\x9f\xd0\xed\xf4\x93\xba\xbd\x7e\x4a\x77" "\xd0\x4f\xeb\x8e\xfa\x19\xdd\x49\x3f\xab\x3b\xeb\xe7\x74\x17\xfd\xbc" "\xee\xaa\x5f\xd0\xdd\xf4\x45\x7d\x49\x7b\xdd\x43\xf7\xd4\x89\xba\x97" "\xee\xad\x5f\xd6\x7d\x74\x5f\xdd\x4f\xf7\xd7\x03\xf4\x2b\x7a\xa0\x7e" "\x55\x0f\xd2\xaf\xe9\xc1\x7a\x88\x1e\xaa\x5f\xd7\xc3\xf4\x1b\x7a\xb8" "\x7e\x53\x8f\xd0\x23\xf5\x28\xfd\x96\x1e\xad\xc7\xe8\xb1\x7a\x9c\x1e" "\xaf\x27\xe8\x24\xfd\xb6\x9e\xa8\xdf\xd1\x93\xf4\xbb\x7a\xb2\x9e\xa2" "\xa7\xea\x69\x7a\xba\x9e\xa1\xfb\xfd\x52\x69\xce\xdf\x91\xff\xce\xdf" "\xc8\x1f\x74\xf9\xd5\xb7\xe8\xad\xfa\x13\xbd\x4d\x6f\xd7\x3b\xf4\x4e" "\xbd\x4b\xef\xd6\x7b\xf4\x1e\xbd\x57\xef\xd5\xfb\xf4\x3e\x9d\xaa\x53" "\xf5\x7e\xbd\x5f\x1f\xd0\x07\xf4\x41\x7d\x50\x1f\xd2\x87\xf4\x61\x7d" "\x58\x1f\xd1\x47\xf4\x51\x7d\x54\x1f\xd3\xc7\xf4\x71\x7d\x42\x9f\xd3" "\x3f\xe8\x53\xfa\x47\x7d\x5a\x9f\xd1\x67\xf4\x39\x7d\x5e\x9f\xd7\x17" "\x7e\xf9\x19\x80\x41\xa3\x8c\x36\xc6\x04\x26\x83\xc9\x68\x12\x4c\x26" "\x93\xd9\x5c\x63\xb2\x98\xac\x26\x9b\xc9\x6e\x62\xe6\x5a\x93\xc3\x5c" "\x67\x72\x9a\xeb\x4d\x2e\x93\xdb\xe4\x31\x79\x4d\x3e\x93\xdf\x14\x30" "\xa1\x21\x63\x0d\x9b\xc8\x14\x34\x85\x4c\xdc\xdc\x60\x0a\x9b\x1b\x4d" "\x11\x53\xd4\x14\x33\xc5\x8d\x33\x25\x4c\x49\x73\xd3\xbf\x9c\xff\x47" "\xfd\xb5\x30\x2d\x4c\x4b\xd3\xd2\xb4\x32\xad\x4c\x1b\xd3\xc6\xb4\x35" "\x6d\x4d\x3b\xd3\xce\xb4\x37\xed\x4d\x07\xd3\xc1\x74\x34\x1d\x4d\x27" "\xd3\xc9\x74\x36\x9d\x4d\x17\xd3\xc5\x74\x35\x5d\x4d\x37\xd3\xcd\x74" "\x37\xdd\x4d\x0f\xd3\xc3\x24\x9a\x44\xd3\xdb\xbc\x6c\xfa\x98\xbe\xa6" "\x9f\xe9\x6f\x06\x98\x57\xcc\x40\x33\xd0\x0c\x32\x83\xcc\x60\x33\xd8" "\x0c\x35\x43\xcd\x30\x33\xcc\x0c\x37\xc3\xcd\x08\x33\xc2\x8c\x32\xa3" "\xcc\x68\x33\xda\x8c\x35\x63\xcd\x78\x33\xde\x24\xf9\xec\x66\xa2\x99" "\x68\x26\x99\x49\x66\xb2\x99\x6c\xa6\x0e\xc8\x6e\xa6\x9b\xe9\x66\xa6" "\x99\x69\x66\x99\x59\x66\x8e\x99\x63\xe6\x9a\xb9\x66\xbe\x99\x6f\x16" "\x9a\x85\x66\xb1\x59\x6c\x96\x98\x25\x26\xd9\x24\x9b\xa5\x66\xa9\x49" "\x31\xcb\xcc\x32\xb3\xc2\xac\x30\xab\xcc\x2a\xb3\xc6\xac\x31\xeb\xcc" "\x3a\xb3\xc1\x6c\x30\x9b\xcc\x26\x93\x62\xb6\x9a\xad\x66\x9b\xd9\x66" "\x76\x98\x1d\x66\x97\xd9\x65\xf6\x98\x3d\x66\xaf\xd9\x6b\xf6\x99\x7d" "\x26\xd5\xa4\x9a\xfd\x66\xbf\x39\x60\x0e\x98\x83\xe6\xa0\x39\x64\x0e" "\x99\xc3\xe6\xb0\x39\x62\x8e\x98\xa3\xe6\xa8\x39\x66\x8e\x99\xe3\xe6" "\xb8\x39\x69\x4e\x9a\x53\xe6\x94\x39\x6d\x4e\x9b\xb3\xe6\xac\x39\x6f" "\xce\x9b\x0b\xe6\x82\xb9\x64\x2e\xa5\x5d\xf6\x05\x2a\x50\x81\x09\x4c" "\x90\x21\xc8\x10\x24\x04\x09\x41\xe6\x20\x73\x90\x25\xc8\x12\x64\x0b" "\xb2\x05\xb1\x20\x16\xe4\x08\x72\x04\x39\x83\xeb\x83\x5c\x41\xee\x20" "\x4f\x90\x37\xc8\x17\xe4\x0f\x0a\x04\x61\x40\x81\x0d\x38\x88\x82\x82" "\x41\xa1\x20\x1e\xdc\x10\x14\x0e\x6e\x0c\x8a\x04\x45\x83\x62\x41\xf1" "\xc0\x05\x25\x82\x92\xc1\x4d\x41\xa9\xe0\xe6\xa0\x74\x70\x4b\x50\x26" "\xb8\x35\x28\x1b\xdc\x16\x94\x0b\xca\x07\x15\x82\xdb\x83\x3b\x82\x8a" "\xc1\x9d\x41\xa5\xe0\xae\xa0\x72\x70\x77\x50\x25\xa8\x1a\x54\x0b\xaa" "\x07\xf7\x04\x35\x82\x7b\x83\x9a\xc1\x7d\x41\xad\xe0\xfe\xa0\x76\xf0" "\x40\x50\x27\x78\x30\xa8\x1b\x3c\x14\xd4\x0b\xea\x07\x0d\x82\x87\x83" "\x86\xc1\x23\x41\xa3\xa0\x71\xd0\x24\x68\x1a\x34\x0b\x9a\x07\x2d\xfe" "\xad\xf5\xbd\x3f\x9d\xfb\x31\xd7\x23\xec\x19\x26\x86\xbd\xc2\xde\xe1" "\xcb\x61\x9f\xb0\x6f\xd8\x2f\xec\x1f\x0e\x08\x5f\x09\x07\x86\xaf\x86" "\x83\xc2\xd7\xc2\xc1\xe1\x90\x70\x68\xf8\x7a\x38\x2c\x7c\x23\x1c\x1e" "\xbe\x19\x8e\x08\x47\x86\xa3\xc2\xb7\xc2\xd1\xe1\x98\x70\x6c\x38\x2e" "\x1c\x1f\x4e\x08\x93\xc2\xb7\xc3\x89\xe1\x3b\xe1\xa4\xf0\xdd\x70\x72" "\x38\x25\x9c\x1a\x4c\x0b\xa7\x87\x33\xc2\x99\xe1\x7b\xe1\xac\x70\x76" "\x38\x27\x7c\x3f\x9c\x1b\xce\x0b\xe7\x87\x0b\xc2\x85\xe1\xa2\x10\x7f" "\xbe\x24\x86\xe4\xf0\xa3\x70\x69\xf8\x71\x98\x12\x2e\x0b\x97\x87\x2b" "\xc2\x95\xe1\xaa\x70\x75\xb8\x26\x5c\x1b\xae\x0b\xd7\x87\x1b\xc2\x8d" "\xe1\xa6\x32\x03\x7f\x3e\x34\xdc\x16\x6e\x0f\x77\x84\x3b\xc3\x5d\xe1" "\xee\x70\x4f\xf8\x69\xb8\x37\xfc\x2c\xdc\x17\x7e\x1e\xa6\x86\x5f\x84" "\xfb\xc3\x3f\x85\x07\xc2\x2f\xc3\x83\xe1\x57\xe1\xa1\xf0\xeb\xf0\x70" "\xf8\x4d\x78\x24\xfc\x36\x3c\x1a\x7e\x17\x1e\x0b\xbf\x0f\x8f\x87\x27" "\xc2\x93\xe1\x0f\xe1\xa9\xf0\xc7\xf0\x74\x78\x26\x3c\x1b\x9e\x0b\xcf" "\x87\x3f\x85\x17\xc2\x8b\xe1\xa5\xd0\xa7\x5d\xdc\xa7\x7d\xbc\x93\x21" "\x43\x19\x28\x03\x25\x50\x02\x65\xa6\xcc\x94\x85\xb2\x50\x36\xca\x46" "\x31\x8a\x51\x0e\xca\x41\x39\x29\x27\xe5\xa2\x5c\x94\x87\xf2\x50\x3e" "\xca\x47\x05\xa8\x00\xa5\x61\x62\x2a\x48\x05\x29\x4e\x71\x2a\x4c\x85" "\xa9\x08\x15\xa1\x62\x54\x8c\x1c\x39\x2a\x49\x25\xa9\x14\x95\xa2\xd2" "\x54\x9a\xca\x50\x19\x2a\x4b\x65\xa9\x1c\x95\xa3\x0a\x54\x81\xee\xa0" "\x3b\xe8\x4e\xba\x93\xee\xa2\xbb\xe8\x6e\xba\x9b\xaa\x52\x55\xaa\x4e" "\xd5\xa9\x06\xd5\xa0\x9a\x54\x93\x6a\x51\x2d\xaa\x4d\xb5\xa9\x0e\xd5" "\xa1\xba\x54\x97\xea\x51\x3d\x6a\x40\x0d\xa8\x21\x35\xa4\x46\xd4\x88" "\x9a\x50\x13\x6a\x46\xcd\xa8\x05\xb5\xa0\x96\xd4\x92\x5a\x51\x2b\x6a" "\x43\x6d\xa8\x2d\xb5\xa5\x76\xd4\x8e\xda\x53\x7b\xea\x40\x1d\xa8\x23" "\x75\xa4\x4e\xd4\x89\x3a\x53\x67\xea\x42\x5d\xa8\x2b\x75\xa5\x6e\xd4" "\x8d\xba\x53\x77\xea\x41\x3d\x28\x91\x12\xa9\x37\xf5\xa6\x3e\xd4\x87" "\xfa\x51\x3f\x1a\x40\x03\x68\x20\x0d\xa4\x41\x34\x88\x06\xd3\x60\x1a" "\x4a\x43\x69\x18\x0d\xa3\xe1\x34\x9c\x46\xd0\x48\x1a\x45\x6f\xd1\x68" "\x1a\x43\x63\x69\x1c\x8d\xa7\x09\x94\x44\x49\x34\x91\x26\xd2\x24\x9a" "\x44\x93\x69\x32\x4d\xa5\xa9\x34\x9d\xa6\xd3\x4c\x9a\x49\xb3\x68\x16" "\xcd\xa1\x39\x34\x97\xe6\xd2\x7c\x9a\x4f\x0b\x69\x21\x2d\xa6\xc5\xb4" "\x84\x96\x50\x32\x25\xd3\x52\x5a\x4a\x29\x94\x42\xcb\x69\x39\xad\xa4" "\x95\xb4\x9a\x56\xd3\x5a\x5a\x4b\xeb\x69\x3d\x6d\xa4\x8d\xb4\x99\x36" "\xd3\x56\xda\x4a\xdb\x68\x1b\xed\xa0\x1d\xb4\x8b\x76\xd1\x1e\xda\x43" "\x7b\x69\x2f\xed\xa3\x7d\x94\x4a\xa9\xb4\x9f\xf6\xd3\x01\x3a\x40\x07" "\xe9\x20\x1d\xa2\x43\x74\x98\x0e\xd3\x11\x3a\x42\x47\xe9\x28\x1d\xa3" "\x63\x74\x9c\x8e\xd3\x49\x3a\x49\xa7\xe8\x14\x9d\xa6\xd3\x74\x96\xce" "\xd2\x79\xfa\x89\x2e\xd0\x45\xba\x44\x9e\x12\x6c\x26\x9b\xd9\x5e\x63" "\xb3\xd8\xac\x36\x9b\xcd\x6e\xff\x32\xce\x63\xf3\xda\x7c\x36\xbf\x2d" "\x60\x43\x9b\xcb\xe6\xfe\x4d\x4c\xd6\xda\x22\xb6\xa8\x2d\x66\x8b\x5b" "\x67\x4b\xd8\x92\xf6\xa6\xbf\x8a\xcb\xd9\xf2\xb6\x82\xbd\xdd\xde\x61" "\x2b\xda\x3b\x6d\x25\x5b\xce\x66\x82\x3f\x8f\x6b\xd8\x7b\x6d\x4d\x7b" "\x9f\xad\x65\xef\xb7\xd5\xed\x3d\xbf\x89\x6b\xdb\x07\x6c\x1d\xfb\x88" "\xad\x6b\x1b\xdb\x7a\xb6\xa9\x6d\x60\x9b\xdb\x86\xf6\x11\xdb\xc8\x36" "\xb6\x4d\x6c\x53\xdb\xcc\x36\xb7\x6d\xed\x13\xb6\x9d\x7d\xd2\xb6\xb7" "\x4f\x25\x74\xb0\x4f\xff\x79\x6c\xd3\xe2\x25\xf6\x43\xbb\xd6\xae\xb3" "\xeb\xed\x06\xbb\xd7\x7e\x66\xcf\xda\x73\xf6\x88\xfd\xd6\x9e\xb7\x3f" "\xd9\x1e\xb6\xa7\x1d\x60\x5f\xb1\x03\xed\xab\x76\x90\x7d\xcd\x0e\xb6" "\x43\x7e\x1b\x03\xd8\x51\xf6\x2d\x3b\xda\x8e\xb1\x63\xed\x38\x3b\xde" "\x4e\xf8\xab\x78\xaa\x9d\x66\xa7\xdb\x19\x76\xa6\x7d\xcf\xce\xb2\xb3" "\xff\x2a\x5e\x6c\x3f\xb0\x73\x6d\xb2\x9d\x6f\x17\xd8\x85\x76\xd1\xe5" "\x38\xad\xa7\x64\xfb\x91\x5d\x6a\x3f\xb6\x29\x76\x99\x5d\x6e\x57\xd8" "\x95\x76\x95\x5d\x6d\xd7\xfc\xdf\x5e\x57\xd8\x4d\x76\xb3\xdd\x62\xf7" "\xd8\x4f\xed\x36\xbb\xdd\xee\xb0\x3b\xed\x2e\xbb\xfb\x72\x9c\x76\x1e" "\xfb\xec\xe7\x36\xd5\x7e\x61\x0f\xdb\x6f\xec\x01\xfb\xa5\x3d\x68\x8f" "\xda\x43\xf6\xeb\xcb\x71\xda\xf9\x1d\xb5\xdf\xd9\x63\xf6\x7b\x7b\xdc" "\x9e\xb0\x27\xed\x0f\xf6\x94\xfd\xd1\x9e\xb6\x67\x2e\x9f\x7f\xda\xb9" "\xff\x60\x2f\xda\x4b\xd6\x5b\x60\x64\xc5\x9a\x0d\x07\x9c\x81\x33\x72" "\x02\x67\xe2\xcc\x7c\x0d\x67\xe1\xac\x9c\x8d\xb3\x73\x8c\xaf\xe5\x1c" "\x7c\x1d\xe7\xe4\xeb\x39\x17\xe7\xe6\x3c\x9c\x97\xf3\x71\x7e\x2e\xc0" "\x21\x13\x5b\x66\x8e\xb8\x20\x17\xe2\x38\xdf\xc0\x85\xf9\x46\x2e\xc2" "\x45\xb9\x18\x17\x67\xc7\x25\xb8\x24\xdf\xc4\xa5\xf8\x66\x2e\xcd\xb7" "\x70\x19\xbe\x95\xcb\xf2\x6d\x5c\x8e\xcb\x73\x05\xbe\x9d\xef\xe0\x8a" "\x7c\x27\x57\xe2\xbb\xb8\x32\xdf\xcd\x55\xb8\x2a\x57\xe3\xea\x7c\x0f" "\xd7\xe0\x7b\xb9\x26\xdf\xc7\xb5\xf8\x7e\xae\xcd\x0f\x70\x1d\x7e\x90" "\xeb\xf2\x43\x5c\x8f\xeb\x73\x03\x7e\x98\x1b\xf2\x23\xdc\x88\x1b\x73" "\x13\x6e\xca\xcd\xb8\x39\xb7\xe0\x47\xb9\x25\x3f\xc6\xad\xb8\x35\xb7" "\xe1\xc7\xb9\x2d\x3f\xc1\xed\xf8\x49\x6e\xcf\x4f\x71\x07\x7e\x9a\x3b" "\xf2\x33\xdc\x89\x9f\xe5\xce\xfc\x1c\x77\xe1\xe7\xb9\x2b\xbf\xc0\xdd" "\xf8\x45\xee\xce\x2f\x71\x0f\xee\xc9\x89\xdc\x8b\x7b\xf3\xcb\xdc\x87" "\xfb\x72\x3f\xee\xcf\x03\xf8\x15\x1e\xc8\xaf\xf2\x20\x7e\x8d\x07\xf3" "\x10\x1e\xca\xaf\xf3\x30\x7e\x83\x87\xf3\x9b\x3c\x82\x47\xf2\x28\x7e" "\x8b\x47\xf3\x18\x1e\xcb\xe3\x78\x3c\x4f\xe0\x24\x7e\x9b\x27\xf2\x3b" "\x3c\x89\xdf\xe5\xc9\x3c\x85\xa7\xf2\x34\x9e\xce\x33\x78\x26\xbf\xc7" "\xb3\x78\x36\xcf\xe1\xf7\x79\x2e\xcf\xe3\xf9\xbc\x80\x17\xf2\x22\x5e" "\xcc\x1f\xf0\x12\xfe\x90\x93\xf9\x23\x5e\xca\x1f\x73\x0a\x2f\xe3\xe5" "\xbc\x82\x57\xf2\x2a\x5e\xcd\x6b\x78\x2d\xaf\xe3\xf5\xbc\x81\x37\xf2" "\x26\xde\xcc\x5b\x78\x2b\x7f\xc2\xdb\x78\x3b\xef\xe0\x9d\xbc\x8b\x77" "\xf3\x1e\xfe\x94\xf7\xf2\x67\xbc\x8f\x3f\xe7\x54\xfe\x82\xf7\xf3\x9f" "\xf8\x00\x7f\xc9\x07\xf9\x2b\x3e\xc4\x5f\xf3\x61\xfe\x86\x8f\xf0\xb7" "\x7c\x94\xbf\xe3\x63\xfc\x3d\x1f\xe7\x13\x7c\x92\x7f\xe0\x53\xfc\x23" "\x9f\xe6\x33\x7c\x96\xcf\xf1\x79\xfe\x89\x2f\xf0\x45\xbe\xc4\x9e\x21" "\xc2\x48\x45\x3a\x32\x51\x10\x65\x88\x32\x46\x09\x51\xa6\x28\x73\x74" "\x4d\x94\x25\xca\x1a\x65\x8b\xb2\x47\xb1\xe8\xda\x28\x47\x74\x5d\x94" "\x33\xba\x3e\xca\x15\xe5\x8e\xf2\x44\x79\xa3\x7c\x51\xfe\xa8\x40\x14" "\x46\x14\xd9\x88\xa3\x28\x2a\x18\x15\x8a\xe2\xd1\x0d\x51\xe1\xe8\xc6" "\xa8\x48\x54\x34\x2a\x16\x15\x8f\x5c\x54\x22\x2a\x19\xdd\x14\x95\x8a" "\x6e\x8e\x4a\x47\xb7\x44\x65\xa2\x5b\xa3\xb2\xd1\x6d\x51\xb9\xa8\x7c" "\x54\x21\xba\x3d\xba\x23\xaa\x18\xdd\x19\x55\x8a\xee\x8a\x2a\x47\x77" "\x47\x55\xa2\xaa\x51\xb5\xa8\x7a\x74\x4f\x54\x23\xba\x37\xaa\x19\xdd" "\x17\xd5\x8a\xee\x8f\x4a\x47\x0f\x44\x75\xa2\x07\xa3\xba\xd1\x43\x51" "\xbd\xa8\x7e\xd4\x20\x7a\x38\x6a\x18\x3d\x12\x35\x8a\x1a\x47\x4d\xa2" "\xa6\x51\xb3\xa8\x79\xd4\x22\x7a\x34\x6a\x19\x3d\x16\xb5\x8a\x5a\x47" "\x6d\xa2\xc7\xa3\xb6\xd1\x13\x51\xbb\xe8\xc9\xa8\x7d\xf4\x54\xd4\x21" "\x7a\xfa\xca\xfe\xa2\xc1\xcf\x9f\xa6\x7f\xb1\x3f\x31\xea\x15\xe9\x5f" "\x9e\x90\xdd\xa7\x17\xc6\x17\xc5\x17\xc7\x3f\x88\x2f\x89\x7f\x18\x4f" "\x8e\x7f\x14\x5f\x1a\xff\x38\x9e\x12\x5f\x16\x5f\x1e\x5f\x11\x5f\x19" "\x5f\x15\x5f\x1d\x5f\x13\x5f\x1b\x5f\x17\x5f\x1f\xdf\x10\xdf\x18\xdf" "\x14\xdf\x1c\xdf\x12\xf7\xbe\x7a\x46\x70\x98\x76\x23\x0c\xc6\x05\x2e" "\x83\xcb\xe8\x12\x5c\x26\x97\xd9\x5d\xe3\xb2\xb8\xac\x2e\x9b\xcb\xee" "\x62\xee\x5a\x97\xc3\x5d\xe7\x72\xba\xeb\x5d\x2e\x97\xdb\xe5\x71\x79" "\x5d\x3e\x97\xdf\x15\x70\xa1\x23\x67\x1d\xbb\xc8\x15\x74\x85\x5c\xdc" "\xdd\xe0\x0a\xbb\x1b\x5d\x11\x57\xd4\x15\x73\xc5\x9d\x73\x25\x5c\x49" "\xd7\xdc\xb5\x70\x2d\x5c\x4b\xf7\x98\x6b\xe5\x5a\xbb\x36\xee\x71\xf7" "\xb8\x7b\xc2\x3d\xe1\x9e\x4c\xf8\xa5\x71\xd7\xd1\x3d\xe3\x3a\xb9\x67" "\x5d\x67\xf7\x9c\x7b\xce\x3d\xef\xba\xba\x17\x5c\x37\xf7\xa2\xeb\xee" "\x5e\x72\x3d\x5c\x4f\x97\xe8\x12\x5d\x6f\xd7\xdb\xf5\x71\x7d\x5c\x3f" "\xd7\xcf\x0d\x70\x03\xdc\x40\x37\xd0\x0d\x72\x83\xdc\x60\x37\xd8\x0d" "\x75\x43\xdd\x30\x37\xcc\x0d\x77\xc3\xdd\x08\x37\xc2\x8d\x72\xa3\xdc" "\x68\x37\xda\x8d\x75\x63\xdd\x78\x37\xde\x25\xb9\x24\x37\xd1\x4d\x74" "\x93\xdc\x24\x37\xd9\x4d\x76\x53\xdd\x54\x37\xdd\x4d\x77\x33\xdd\x4c" "\x37\xcb\xcd\x72\x73\xdc\x1c\x37\xd7\xcd\x75\xf3\xdd\x7c\xb7\xd0\x2d" "\x74\x8b\xdd\x62\xb7\xc4\x2d\x71\xc9\x2e\xd9\x2d\x75\x4b\x5d\x8a\x4b" "\x71\xcb\xdd\x72\xb7\xd2\xad\x74\xab\xdd\x6a\xb7\xd6\xad\x75\xeb\xdd" "\x7a\xb7\xd1\x6d\x74\x9b\xdd\x66\xb7\xd5\x6d\x75\xdb\xdc\x36\xb7\xc3" "\xed\x70\xbb\xdc\x2e\xb7\xc7\xed\x71\x7b\xdd\x5e\xb7\xcf\xed\x73\xa9" "\x2e\xd5\xed\x77\xfb\xdd\x01\x77\xc0\x1d\x74\x5f\xb9\x43\xee\x6b\x77" "\xd8\x7d\xe3\x8e\xb8\x6f\xdd\x51\xf7\x9d\x3b\xe6\xbe\x77\xc7\xdd\x09" "\x77\xd2\x79\x7d\xca\xfd\xe8\x4e\xbb\x33\xee\xac\x3b\xe7\xce\xbb\x9f" "\xdc\x05\x77\xd1\x5d\x72\xde\x25\xc5\xde\x8e\x4d\x8c\xbd\x13\x9b\x14" "\x7b\x37\x36\x39\x36\x25\x36\x35\x36\x2d\x36\x3d\x36\x23\x36\x33\xf6" "\x5e\x6c\x56\x6c\x76\x6c\x4e\xec\xfd\xd8\xdc\xd8\xbc\xd8\xfc\xd8\x82" "\xd8\xc2\xd8\xa2\xd8\xe2\xd8\x07\xb1\x25\xb1\x0f\x63\xc9\xb1\x8f\x62" "\x4b\x63\x1f\xc7\x52\x62\xcb\x62\xcb\x63\x2b\x62\x2b\x63\xab\x62\xde" "\xe7\xdf\x16\xf9\x82\xbe\x90\x8f\xfb\x1b\x7c\x61\x7f\xa3\x2f\xe2\x8b" "\xfa\x62\xbe\xb8\x77\xbe\x84\x2f\xe9\x6f\xf2\xa5\xfc\xcd\xbe\xb4\xbf" "\xc5\x97\xf1\xb7\xfa\xb2\xfe\x36\x5f\xce\x97\xf7\x15\x7c\x63\xdf\xc4" "\x37\xf5\xcd\x7c\x73\xdf\xc2\x3f\xea\x5b\xfa\xc7\x7c\x2b\xdf\xda\xb7" "\xf1\x8f\xfb\xb6\xfe\x09\xdf\xce\x3f\xe9\xdb\xfb\xa7\x7c\x07\xff\xb4" "\xef\xe8\x9f\xf1\x9d\xfc\xb3\xbe\xb3\x7f\xce\x77\xf1\xcf\xcf\xfb\x65" "\xca\xbe\xbb\x7f\xc9\xf7\xf0\x3d\x7d\xa2\xef\xe5\x7b\xfb\x97\x7d\x1f" "\xdf\xd7\xf7\xf3\xfd\xfd\x00\xff\x8a\x1f\xe8\x5f\xf5\x83\xfc\x6b\x7e" "\xb0\x1f\xe2\x87\xfa\xd7\xfd\x30\xff\x86\x1f\xee\xdf\xf4\x23\xfc\x48" "\x3f\xca\xbf\xe5\x47\xfb\x31\x7e\xac\x1f\xe7\xc7\xfb\x09\x3e\xc9\xbf" "\xed\x27\xfa\x77\xfc\x24\xff\xae\x9f\xec\xa7\xf8\xa9\x7e\x9a\x9f\xee" "\x67\xf8\x99\xfe\x3d\x3f\xcb\xcf\xf6\x73\xfc\xfb\x7e\xae\x9f\xe7\xe7" "\xfb\x05\x7e\xa1\x5f\xe4\x17\xfb\x0f\xfc\x12\xff\xa1\x4f\xf6\x1f\xf9" "\xa5\xfe\x63\x9f\xe2\x97\xf9\xe5\x7e\x85\x5f\xe9\x57\xf9\xd5\x7e\x8d" "\x5f\xeb\xd7\xf9\xf5\x7e\x83\xdf\xe8\x37\xf9\xcd\x7e\x8b\xdf\xea\x3f" "\xf1\xdb\xfc\x76\xbf\xc3\xef\xf4\xbb\xfc\x6e\xbf\xc7\x7f\xea\xf7\xfa" "\xcf\xfc\x3e\xff\xb9\x4f\xf5\x5f\xf8\xfd\xfe\x4f\xfe\x80\xff\xd2\x1f" "\xf4\x5f\xf9\x43\xfe\x6b\x7f\xd8\x7f\xe3\x8f\xf8\x6f\xfd\x51\xff\x9d" "\x3f\xe6\xbf\xf7\xc7\xfd\x09\x7f\xd2\xff\xe0\x4f\xf9\x1f\xfd\x69\x7f" "\xc6\x9f\xf5\xe7\xfc\x79\xff\x93\xbf\xe0\x2f\xfa\x4b\xf2\x37\x6b\x42" "\x08\x21\x84\x10\x7f\x17\xfd\x07\xfb\x7b\xfd\x8d\xef\xa9\x5f\xb6\x34" "\xbd\x01\x20\xeb\xf6\xbc\x87\xfe\xb2\xe6\xc6\x5c\x3f\xaf\xfb\xaa\xbd" "\x1d\x62\x00\xf0\x54\xcf\x2e\xf5\x7f\xdd\xea\xd7\x4f\x4c\x4c\xfc\xe5" "\xd8\x14\x0d\x41\xa1\x05\x00\x10\xbb\x92\x9f\x01\xae\xc4\xcb\xa0\x0d" "\x3c\x01\xed\xa1\x35\x94\xfa\x9b\xfd\xf5\x55\x15\x2e\x5f\xf7\xfd\xbf" "\xea\xc7\x6f\x05\xc8\x0c\x90\xe9\xd7\x9c\xb4\xdb\xa3\x5f\xe3\x2b\xf5" "\x6f\xfe\x9d\xfa\x8d\x3f\xe0\xdf\xad\xbf\xec\xe7\xfa\x0b\x00\x8a\x14" "\xba\x92\x93\x56\xf8\xd7\xf8\x4a\xfd\xd2\xbf\x53\x7f\x77\xdb\xdf\xaf" "\x7f\xb9\xff\x4c\x5f\x26\x01\xb4\xfa\xb3\x9c\x2c\x70\x25\xbe\x52\xbf" "\x24\x3c\x06\x4f\x43\xfb\xdf\x1c\x29\x84\x10\x42\x08\x21\x84\x10\x42" "\xfc\xac\xaf\x3a\xdf\xf5\x0f\xee\x3f\x2f\xdf\x9f\xe7\x33\xbf\xcd\xfb" "\x35\xfe\xa3\xfb\xf3\x3f\x50\xe9\x5f\xed\x5f\x08\x21\x84\x10\x42\x08" "\x21\x84\x10\x7f\xec\xd9\x17\xba\x3d\xf9\x68\xfb\xf6\xad\x3b\xfd\x37" "\x2f\x32\xfe\x67\xb4\xf1\x1f\xb0\x40\x00\xf8\x0f\x68\x43\x16\xff\xf9" "\x8b\xab\xfd\x9b\x49\x08\x21\x84\x10\x42\x08\xf1\xef\x76\xe5\xa2\xff" "\x6a\x77\x22\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08" "\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84" "\x10\x42\x08\x21\x84\x10\x42\xa4\x5f\xff\xfc\x7f\x08\x53\x7f\xf7\xc1" "\x57\xfb\x1c\x85\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08" "\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84" "\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42\x08\x21\x84\x10\x42" "\x88\xab\xed\xff\x04\x00\x00\xff\xff\xb4\x15\x55\xeb", 5385); syz_mount_image( /*fs=*/0x20000280, /*dir=*/0x200000c0, /*flags=MS_LAZYTIME|MS_SYNCHRONOUS|MS_STRICTATIME|MS_NODIRATIME|MS_NOATIME|0xc0*/ 0x3000cd0, /*opts=*/0x20000440, /*chdir=*/1, /*size=*/0x1509, /*img=*/0x20002d40); break; case 1: memcpy((void*)0x20000080, "./file1\000", 8); syscall(__NR_truncate, /*file=*/0x20000080ul, /*len=*/0xc00ul); break; case 2: memcpy((void*)0x200000c0, "blkio.bfq.idle_time\000", 20); res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000c0ul, /*flags=*/0x275a, /*mode=*/0); if (res != -1) r[0] = res; break; case 3: *(uint32_t*)0x20000080 = 0; *(uint32_t*)0x20000084 = -1; *(uint64_t*)0x20000088 = 0; *(uint64_t*)0x20000090 = 0; *(uint64_t*)0x20000098 = 0; *(uint64_t*)0x200000a0 = 0; syscall(__NR_ioctl, /*fd=*/r[0], /*cmd=*/0x8004587d, /*arg=*/0x20000080ul); break; case 4: memcpy((void*)0x200001c0, "full", 4); *(uint8_t*)0x200001c4 = 0x20; sprintf((char*)0x200001c5, "%020llu", (long long)9); *(uint8_t*)0x200001d9 = 0x20; sprintf((char*)0x200001da, "%020llu", (long long)7); *(uint8_t*)0x200001ee = 0; syscall(__NR_write, /*fd=*/r[0], /*buf=*/0x200001c0ul, /*len=*/0x2ful); break; } } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x20000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/ 7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x21000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1, /*offset=*/0ul); const char* reason; (void)reason; for (procid = 0; procid < 5; procid++) { if (fork() == 0) { use_temporary_dir(); do_sandbox_none(); } } sleep(1000000); return 0; }