// https://syzkaller.appspot.com/bug?id=201663468a5eb39ab10431cd5e9bbe876f24f480 // 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_RDONLY); 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) { if (chdir(target) == -1) { err = errno; close(res); res = -1; } } 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, "stats=global")) { 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_RDONLY); 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 < 2; call++) { for (thread = 0; thread < (int)(sizeof(threads) / sizeof(threads[0])); thread++) { struct thread_t* th = &threads[thread]; if (!th->created) { th->created = 1; event_init(&th->ready); event_init(&th->done); event_set(&th->done); thread_start(thr, th); } if (!event_isset(&th->done)) continue; event_reset(&th->done); th->call = call; __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); event_set(&th->ready); if (call == 0) break; event_timedwait(&th->done, 50 + (call == 0 ? 4000 : 0)); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); 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); } } void execute_call(int call) { switch (call) { case 0: // syz_mount_image$exfat arguments: [ // fs: ptr[in, buffer] { // buffer: {65 78 66 61 74 00} (length 0x6) // } // dir: ptr[in, buffer] { // buffer: {2e 2f 62 75 73 00} (length 0x6) // } // flags: mount_flags = 0x0 (8 bytes) // opts: ptr[inout, array[ANYUNION]] { // array[ANYUNION] { // union ANYUNION { // ANYBLOB: buffer: {75 74 66 38 2c 75 6d 61 73 6b 3d 30 30 30 30 // 30 30 30 31 30 30 30 30 33 2c 75 69 64 3d} (length 0x1d) // } // union ANYUNION { // ANYRESDEC: ANYRES64 (resource) // } // union ANYUNION { // ANYBLOB: buffer: {2c 69 6f 63 68 61 72 73 65 74 3d 65 75 63 2d // 6a 70 2c 65 72 72 6f 72 73 3d 72 65 6d 6f 75 6e 74 2d 72 6f 2c // 75 74 66 38 2c 66 6d 61 73 6b 3d 30 30 30 30 30 30 30 30 30 30 // 30 30 30 30 30 30 30 30 30 30 31 33 33 2c 64 6d 61 73 6b 3d 30 // 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 // 33 2c 74 69 6d 65 5f 6f 66 66 73 65 74 3d 30 78 30 30 30 30 30 // 30 30 30 30 30 30 30 30 30 30 36 2c 65 72 72 6f 72 73 3d 72 65 // 6d 6f 75 6e 74 2d 72 6f 2c 00 e7 f7 a6 4e 12 76 8f 24 58 8c 03 // 1e 3a 7d 52 e6 86 58 16 92 b3 1c 66 f5 32 0a 14 e5 87 a7 c2 8f // ee f0 f6 67 bc 04 21 87 9f 8d d0 3f 06 fa 51 77 0c f0 6a ec e5 // 5a d1 18 5a 9c af fc 33 1f ae 30 67 bf} (length 0xd9) // } // } // } // chdir: int8 = 0x3 (1 bytes) // size: len = 0x152b (8 bytes) // img: ptr[in, buffer] { // buffer: (compressed buffer with length 0x152b) // } // ] // returns fd_dir memcpy((void*)0x200000000180, "exfat\000", 6); memcpy((void*)0x200000000240, "./bus\000", 6); memcpy((void*)0x2000000003c0, "utf8,umask=0000000100003,uid=", 29); sprintf((char*)0x2000000003dd, "%020llu", (long long)0); memcpy( (void*)0x2000000003f1, "\x2c\x69\x6f\x63\x68\x61\x72\x73\x65\x74\x3d\x65\x75\x63\x2d\x6a\x70" "\x2c\x65\x72\x72\x6f\x72\x73\x3d\x72\x65\x6d\x6f\x75\x6e\x74\x2d\x72" "\x6f\x2c\x75\x74\x66\x38\x2c\x66\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30" "\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31" "\x33\x33\x2c\x64\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30" "\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x33\x2c\x74" "\x69\x6d\x65\x5f\x6f\x66\x66\x73\x65\x74\x3d\x30\x78\x30\x30\x30\x30" "\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x36\x2c\x65\x72\x72\x6f" "\x72\x73\x3d\x72\x65\x6d\x6f\x75\x6e\x74\x2d\x72\x6f\x2c\x00\xe7\xf7" "\xa6\x4e\x12\x76\x8f\x24\x58\x8c\x03\x1e\x3a\x7d\x52\xe6\x86\x58\x16" "\x92\xb3\x1c\x66\xf5\x32\x0a\x14\xe5\x87\xa7\xc2\x8f\xee\xf0\xf6\x67" "\xbc\x04\x21\x87\x9f\x8d\xd0\x3f\x06\xfa\x51\x77\x0c\xf0\x6a\xec\xe5" "\x5a\xd1\x18\x5a\x9c\xaf\xfc\x33\x1f\xae\x30\x67\xbf", 217); memcpy( (void*)0x200000001d00, "\x78\x9c\xec\xdc\x09\x98\x8e\xd5\xdb\x00\xf0\xfb\x3e\xe7\x3c\x63\x4c" "\xd2\xdb\x24\xcb\x70\xce\xb9\x1f\xde\x64\x39\x26\x49\xb2\x24\xc9\x92" "\x24\x49\x92\x64\x4b\x48\x9a\xe4\x2f\x09\x89\x21\x5b\xd2\x90\x84\x64" "\x19\x92\x65\x08\xc9\x32\x31\x69\xec\xfb\xbe\x24\x24\x49\x93\x24\x21" "\xd9\x92\xf3\x5d\x8a\xbf\xfa\xea\xbf\x2f\xbe\xeb\x9b\xfb\x77\x5d\xcf" "\x35\xe7\x7e\xcf\x73\x9f\xe7\x3c\xef\xfd\x3e\xf3\x2c\xb3\x7c\xd3\x79" "\x48\x8d\x46\x35\xab\x36\x20\x22\xf8\x97\xe0\x2f\x5f\x92\x01\x20\x16" "\x00\x06\x00\xc0\x35\x00\x10\x00\x40\xd9\xf8\xb2\xf1\x17\xfa\x73\x4a" "\x4c\xfe\xd7\x36\xc2\xfe\xbd\x1e\x4a\xbb\xd2\x33\x60\x57\x12\xd7\x3f" "\x7b\xe3\xfa\x67\x6f\x5c\xff\xec\x8d\xeb\x9f\xbd\x71\xfd\xb3\x37\xae" "\x7f\xf6\xc6\xf5\xcf\xde\xb8\xfe\x8c\x65\x67\x9b\xa6\x15\xb8\x96\x97" "\xec\xbb\xf0\xf3\xff\xec\x8c\xcf\xff\xff\x8f\x64\x95\x1a\xf3\xc5\x9a" "\x52\xd7\x77\x01\x88\xf9\x7b\x53\xb8\xfe\xd9\x1b\xd7\xff\xff\xad\xe0" "\xef\x59\x89\xeb\x9f\xbd\x71\xfd\xb3\xab\xd8\x2b\x3d\x01\xf6\x7f\x00" "\x1f\xff\xd9\x41\x8e\xbf\xd8\xc3\xf5\xcf\xde\xb8\xfe\x8c\x65\x67\x57" "\xfa\xf9\xf3\x7f\x7e\x91\x7f\xb5\x1f\x22\xd9\xe1\x3d\xf8\x2b\xfb\xcf" "\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63" "\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31" "\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18" "\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c" "\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6" "\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63" "\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31" "\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\xfd\x17\x9c\xf6\x97\x29\x00\xb8" "\xd4\xbe\xd2\xf3\x62\x8c\x31\xc6\x18\x63\x8c\x31\xc6\xd8\xbf\x8f\xcf" "\x71\xa5\x67\xc0\x18\x63\x8c\x31\xc6\x18\x63\x8c\xb1\xff\x3c\x04\x01" "\x12\x14\x04\x10\x03\x39\x20\x16\x72\x42\x1c\x08\x00\xb8\x1a\x72\xc3" "\x35\x10\x81\x6b\x21\x1e\xae\x83\x3c\x70\x3d\xe4\x85\x7c\x90\x1f\x0a" "\x40\x02\x14\x84\x42\xa0\xc1\x80\x05\x82\x10\x0a\x43\x11\x88\xc2\x0d" "\x50\x14\x6e\x84\x62\x50\x1c\x4a\x40\x49\x70\x50\x0a\x12\xe1\x26\x28" "\x0d\x37\x43\x19\xb8\x05\xca\xc2\xad\x50\x0e\x6e\x83\xf2\x50\x01\x2a" "\x42\x25\xb8\x1d\x2a\xc3\x1d\x50\x05\xee\x84\xaa\x70\x17\x54\x83\xea" "\x50\x03\x6a\xc2\xdd\x50\x0b\xee\x81\xda\x70\x2f\xd4\x81\xfb\xa0\x2e" "\xdc\x0f\xf5\xe0\x01\xa8\x0f\x0f\x42\x03\x78\x08\x1a\xc2\xc3\xd0\x08" "\x1e\x81\xc6\xf0\x28\x34\x81\xa6\xd0\x0c\x9a\x43\x8b\x7f\x2a\xff\x05" "\xe8\x0e\x2f\x42\x0f\xe8\x09\xc9\xd0\x0b\x7a\xc3\x4b\xd0\x07\xfa\x42" "\x3f\xe8\x0f\x03\xe0\x65\x18\x08\xaf\xc0\x20\x78\x15\x52\x60\x30\x0c" "\x81\xd7\x60\x28\xbc\x0e\xc3\xe0\x0d\x18\x0e\x23\x60\x24\xbc\x09\xa3" "\xe0\x2d\x18\x0d\x63\x60\x2c\x8c\x83\x54\x18\x0f\x13\xe0\x6d\x98\x08" "\xef\xc0\x24\x98\x0c\x53\x60\x2a\xa4\xc1\x34\x98\x0e\xef\xc2\x0c\x98" "\x09\xb3\xe0\x3d\x98\x0d\xef\xc3\x1c\x98\x0b\xf3\x60\x3e\xa4\xc3\x07" "\xb0\x00\x16\x42\x06\x7c\x08\x8b\xe0\x23\xc8\x84\xc5\xb0\x04\x96\xc2" "\x32\x58\x0e\x2b\x60\x25\xac\x82\xd5\xb0\x06\xd6\xc2\x3a\x58\x0f\x1b" "\x60\x23\x6c\x82\xcd\xb0\x05\xb6\xc2\x36\xd8\x0e\x3b\xe0\x63\xd8\x09" "\x9f\xc0\x2e\xd8\x0d\x7b\xfe\x5c\xbf\x7f\x24\xff\xd4\xaf\xf2\x3f\x85" "\xbd\xd0\x05\x01\x01\x05\x0a\x54\xa8\x30\x06\x63\x30\x16\x63\x31\x0e" "\xe3\x30\x17\xe6\xc2\xdc\x98\x1b\x23\x18\xc1\x78\x8c\xc7\x3c\x98\x07" "\xf3\x62\x5e\xcc\x8f\xf9\x31\x01\x13\xb0\x10\x16\x42\x83\x06\x09\x09" "\x0b\x63\x61\x8c\x62\x14\x8b\x62\x51\x2c\x86\xc5\xb0\x04\x96\x40\x87" "\x0e\x13\x31\x11\x4b\xe3\xcd\x58\x06\xcb\x60\x59\x2c\x8b\xe5\xb0\x1c" "\x96\xc7\x0a\x58\x01\x2b\x61\x25\xac\x8c\x95\xb1\x0a\x56\xc1\xaa\x58" "\x15\xab\x61\x35\xac\x81\x35\xf0\x6e\xbc\x1b\x7b\x61\x6d\xac\x8d\x75" "\xb0\x0e\xd6\xc5\xba\x97\x1e\x4f\x61\x03\x6c\x80\x0d\xb1\x21\x36\xc2" "\x46\xd8\x18\x1b\x63\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\x12\x26\x61" "\x7b\x6c\x8f\x1d\xb0\x03\x76\xc4\x8e\xd8\x09\x3b\x61\x67\xec\x8c\x5d" "\xb0\x2b\x76\xcd\x7a\x21\x07\xe0\x8b\xf8\x22\xf6\xc4\x6a\xa2\x17\xf6" "\xc6\xde\xd8\x07\x53\x72\xf4\xc3\xfe\xd8\x1f\x5f\xc6\x81\xf8\x0a\xbe" "\x82\xaf\x62\x0a\x0e\xc6\x21\xf8\x1a\xbe\x86\xaf\xe3\x30\x3c\x89\xc3" "\x71\x04\x8e\xc4\x91\x58\x59\xbc\x85\xa3\x71\x0c\x92\x18\x87\xa9\x98" "\x8a\x13\x70\x02\x4e\xc4\x89\x38\x09\x27\xe3\x64\x9c\x8a\x69\x38\x0d" "\xa7\xe3\x74\x9c\x81\x33\x71\x26\xbe\x87\xb3\xf1\x7d\x7c\x1f\xe7\xe2" "\x5c\x9c\x8f\xe9\x98\x8e\x0b\x70\x21\x66\x60\x06\x2e\xc2\x53\x98\x89" "\x8b\x71\x09\x2e\xc5\x65\xb8\x1c\x97\xe1\x4a\x5c\x85\x2b\x71\x0d\xae" "\xc5\x35\xb8\x1e\xd7\xe3\x46\xdc\x88\x9b\x71\x33\x6e\xc5\xad\xb8\x1d" "\xb7\xe3\xc7\xa8\x00\xf0\x13\xdc\x8d\xbb\x31\x05\xf7\xe2\x5e\xdc\x87" "\xfb\x70\x3f\xee\xc7\x03\x78\x00\xb3\x30\x0b\x0f\xe2\x41\x3c\x84\x87" "\xf0\x30\x1e\xc6\x23\x78\x04\x8f\xe2\x31\x3c\x8e\xc7\xf0\x04\x9e\xc0" "\x93\x78\x0a\x4f\xe3\x69\x3c\x8b\x67\xf1\x1c\x3e\x97\xf0\x55\xc3\x8f" "\x8b\xaf\x4e\x01\x71\x81\x12\x4a\xc4\x88\x18\x11\x2b\x62\x45\x9c\x88" "\x13\xb9\x44\x2e\x91\x5b\xe4\x16\x11\x11\x11\xf1\x22\x5e\xe4\x11\x79" "\x44\x5e\x91\x57\xe4\x17\xf9\x45\x82\x48\x10\x85\x44\x21\x61\x84\x11" "\x24\xc2\x18\x00\x10\x51\x11\x15\x45\x45\x51\x51\x4c\x14\x13\x25\x44" "\x09\xe1\x84\x13\x89\x22\x51\x94\x16\xa5\x45\x19\x51\x46\x94\x15\xb7" "\x8a\x72\xe2\x36\x51\x5e\x54\x10\xad\x5d\x25\x51\x49\x54\x16\x6d\x5c" "\x15\x71\xa7\xa8\x2a\xaa\x8a\x6a\xa2\xba\xa8\x21\x6a\x8a\x9a\xa2\x96" "\xa8\x25\x6a\x8b\xda\xa2\x8e\xa8\x23\xea\x8a\xba\xa2\x9e\x78\x40\xd4" "\x17\xbd\xb0\x1f\x3e\x24\x2e\x54\xa6\x91\x18\x8c\x8d\xc5\x10\x6c\x22" "\x9a\x0a\x79\xf1\x08\x68\x29\x86\x61\x2b\xd1\x5a\xb4\x11\x4f\x88\x11" "\x38\x1c\xdb\x89\x96\x2e\x49\x3c\x2d\xda\x8b\xd1\xd8\x41\xfc\x49\x8c" "\xc1\x67\x45\x27\x31\x0e\x3b\x8b\xe7\x45\x17\xd1\x55\x74\x13\x2f\x88" "\xee\xa2\x95\xeb\x21\x7a\x8a\x49\xd8\x4b\xf4\x16\x53\xb1\x8f\xe8\x2b" "\xfa\x89\xfe\x62\x06\x56\x17\xef\xe1\xec\x9c\x35\xc4\xab\x22\x45\x0c" "\x16\x43\xc4\x6b\x62\x3e\xbe\x2e\x86\x89\x37\xc4\x70\x31\x42\x8c\x14" "\x6f\x8a\x51\xe2\x2d\x31\x5a\x8c\x11\x63\xc5\x38\x91\x2a\xc6\x8b\x09" "\xe2\x6d\x31\x51\xbc\x23\x26\x89\xc9\x62\x8a\x98\x2a\xd2\xc4\x34\x31" "\x5d\xbc\x2b\x66\x88\x99\x62\x96\x78\x4f\xcc\x16\xef\x8b\x39\x62\xae" "\x98\x27\xe6\x8b\x74\xf1\x81\x58\x20\x16\x8a\x0c\xf1\xa1\x58\x24\x3e" "\x12\x99\x62\xb1\x58\x22\x96\x8a\x65\x62\xb9\x58\x21\x56\x8a\x55\x62" "\xb5\x58\x23\xd6\x8a\x75\x62\xbd\xd8\x20\x36\x8a\x4d\x62\xb3\xd8\x22" "\xb6\x8a\x6d\x62\xbb\xd8\x21\x3e\x16\x3b\xc5\x27\x62\x97\xd8\x2d\xf6" "\x88\x4f\xc5\x5e\xf1\x99\xd8\x27\x3e\x17\xfb\xc5\x17\xe2\x80\xf8\x52" "\x64\x89\xaf\xc4\x41\xf1\xb5\x38\x24\xbe\x11\x87\xc5\xb7\xe2\x88\xf8" "\x4e\x1c\x15\xc7\xc4\x71\xf1\xbd\x38\x21\x7e\x10\x27\xc5\x29\x71\x5a" "\x9c\x11\x67\xc5\x8f\xe2\x9c\xf8\x49\x9c\x17\x5e\x80\x44\x29\xa4\x94" "\x4a\x06\x32\x46\xe6\x90\xb1\x32\xa7\x8c\x93\x57\xc9\x5c\x32\xb8\xf8" "\xee\x5e\x2b\xe3\xe5\x75\x32\x8f\xbc\x5e\xe6\x95\xf9\x64\x7e\x59\x40" "\x26\xc8\x82\xb2\x90\xd4\xd2\x48\x2b\x49\x86\xb2\xb0\x2c\x22\xa3\xf2" "\x06\x59\x54\xde\x28\x8b\xc9\xe2\xb2\x84\x2c\x29\x9d\x2c\x25\x13\xe5" "\x4d\xb2\xb4\xbc\x59\x96\x91\xb7\xc8\xb2\xf2\x56\x59\x4e\xde\x26\xcb" "\xcb\x0a\xb2\xa2\xac\x24\x6f\x97\x95\xe5\x1d\x12\x22\xbf\x6c\xa3\x9a" "\xac\x2e\x6b\xc8\x9a\xf2\x6e\x99\x0c\xf7\xc8\xda\xf2\x5e\x59\x47\xde" "\x27\xeb\xca\xfb\x65\x3d\xf9\x80\xac\x2f\x1f\x94\x0d\xe4\x43\xb2\xa1" "\x7c\x58\x36\x92\x8f\xc8\xc6\xf2\x51\xd9\x44\x36\x95\xcd\x64\x73\xd9" "\x42\x3e\x26\x5b\xca\xc7\x65\x2b\xd9\x5a\xb6\x91\x4f\xc8\xb6\xf2\x49" "\xd9\x4e\x3e\x25\x93\xe4\xd3\xb2\xbd\xf4\x17\x3f\x22\xcf\xca\x4e\xf2" "\x39\xd9\x59\x3e\x2f\xbb\xc8\xae\xb2\x9b\xfc\x49\x9e\x97\x5e\xf6\x90" "\x3d\x25\xf4\x02\xd9\x5b\xbe\x24\xfb\xc8\xbe\xb2\x9f\xec\x2f\x07\xc8" "\x97\xe5\x40\xf9\x8a\x1c\x24\x5f\x95\x29\x72\xb0\x1c\x22\x5f\x93\x43" "\xe5\xeb\x72\x98\x7c\x43\x0e\x97\x23\xe4\x48\xf9\xa6\x1c\x25\xdf\x92" "\xa3\xe5\x18\x39\x56\x8e\x93\xa9\x72\xbc\x9c\x20\xdf\x96\x13\xe5\x3b" "\x72\x92\x9c\x2c\xa7\xc8\xa9\x32\x4d\x4e\x93\xfd\x2e\x8e\x34\x4b\xca" "\xbf\x99\xff\xf6\xaf\xf3\x2f\x9c\x7a\xe5\x34\x39\xe8\xe7\xad\x6f\x94" "\x9b\xe4\x66\xb9\x45\x6e\x95\xdb\xe4\x76\xb9\x43\x7e\x2c\x77\xca\x9d" "\x72\x97\xdc\x25\xf7\xc8\x3d\x72\xaf\xdc\x2b\xf7\xc9\x7d\x72\xbf\xdc" "\x2f\x0f\xc8\x03\x32\x4b\x66\xc9\x83\xf2\xa0\x3c\x24\x0f\xc9\xc3\xf2" "\xb0\x3c\x22\x8f\xc8\xa3\xf2\x98\x3c\x23\xbf\x97\x27\xe4\x0f\xf2\xa4" "\x3c\x25\x4f\xc9\x33\xf2\xac\x3c\x2b\xcf\x5d\x7c\x0f\x40\xa1\x12\x4a" "\x2a\xa5\x02\x15\xa3\x72\xa8\x58\x95\x53\xc5\xa9\xab\x54\x2e\x75\xb5" "\xca\xad\xae\x51\x11\x75\xad\x8a\x57\xd7\xa9\x3c\xea\x7a\x95\x57\xe5" "\x53\xf9\x55\x01\x95\xa0\x0a\xaa\x42\x4a\x2b\xa3\xac\x22\x15\xaa\xc2" "\xaa\x88\x8a\xaa\x1b\xf0\xe2\x07\x46\x95\x50\x25\x95\x53\xa5\x54\xa2" "\xba\xe9\x1f\xc9\x57\x45\xd5\x8d\xaa\x98\x2a\xfe\x9b\xfc\x4b\xf3\x4b" "\xfe\x0b\xf3\x6b\xa1\x5a\xa8\x96\xaa\xa5\x6a\xa5\x5a\xa9\x36\xaa\x8d" "\x6a\xab\xda\xaa\x76\xaa\x9d\x4a\x52\x49\xaa\xbd\x6a\xaf\x3a\xa8\x0e" "\xaa\xa3\xea\xa8\x3a\xa9\x4e\xaa\xb3\xea\xac\xba\xa8\x2e\xaa\x9b\xea" "\xa6\xba\xab\xee\xaa\x87\xea\xa1\x92\x55\xb2\xea\xad\x5e\x52\x7d\x54" "\x5f\xd5\x4f\xf5\x57\x03\xd4\xcb\x6a\xa0\x1a\xa8\x06\xa9\x41\x2a\x45" "\xa5\xa8\x21\x6a\x88\x1a\xaa\x86\xaa\x61\x6a\x98\x1a\xae\x86\xab\x91" "\x6a\xa4\x1a\xa5\x46\xa9\xd1\x6a\xb4\x1a\xab\xc6\xaa\x54\x95\xaa\x26" "\xa8\x09\x6a\xa2\x9a\xa8\x26\xa9\x49\x6a\x8a\x9a\xa2\xd2\x54\x9a\x9a" "\xae\xa6\xab\x19\x6a\x86\x9a\xa5\x66\xa9\xd9\x6a\xb6\x9a\xa3\xe6\xa8" "\x79\x6a\x9e\x4a\x57\xe9\x6a\x81\x5a\xa0\x32\x54\x86\x5a\xa4\x16\xa9" "\x4c\xb5\x58\x2d\x56\x4b\xd5\x52\xb5\x5c\x2d\x57\x2b\xd5\x4a\xb5\x5a" "\xad\x56\x6b\xd5\x5a\xb5\x5e\xad\x57\x99\x6a\x93\xda\xa4\xb6\xa8\x2d" "\x6a\x9b\xda\xa6\x76\xa8\x1d\x6a\xa7\xda\xa9\x76\xa9\x5d\x6a\x8f\xda" "\xa3\xf6\xaa\xbd\x6a\x9f\xda\xa7\xf6\xab\xfd\xea\x80\x3a\xa0\xb2\x54" "\x96\x3a\xa8\x0e\xaa\x43\xea\x90\x3a\xac\x0e\xab\x23\xea\x88\x3a\xaa" "\x8e\xaa\xe3\xea\xb8\x3a\xa1\x4e\xa8\x93\xea\xa4\x3a\xad\x4e\xab\xb3" "\xea\xac\x3a\xa7\xce\xa9\xf3\xea\xbc\x82\x40\x80\x08\x44\xa0\x02\x15" "\xc4\x04\x31\x41\x6c\x10\x1b\xc4\x05\x71\x41\xae\x20\x57\x90\x3b\xc8" "\x1d\x44\x82\x48\x10\x1f\xc4\x07\x79\x82\xeb\x83\xbc\x41\xbe\x20\x7f" "\x50\x20\x48\x08\x0a\x06\x85\x02\x1d\x98\xc0\x06\xe2\x62\xd1\xa3\xc1" "\x0d\x41\xd1\xe0\xc6\xa0\x58\x50\x3c\x28\x11\x94\x0c\x5c\x50\x2a\x48" "\x0c\x6e\x0a\x4a\x07\x37\x07\x65\x82\x5b\x82\xb2\xc1\xad\x41\xb9\xe0" "\xb6\xa0\x7c\x50\x21\xa8\x18\x54\x0a\x6e\x0f\x2a\x07\x77\x04\x55\x82" "\x3b\x83\xaa\xc1\x5d\x41\xb5\xa0\x7a\x50\x23\xa8\x19\xdc\x1d\xd4\x0a" "\xee\x09\x6a\x07\xf7\x06\x75\x82\xfb\x82\xba\xc1\xfd\x41\xbd\xe0\x81" "\xa0\x7e\xf0\x60\xd0\x20\x78\x28\x68\x18\x3c\x1c\x34\x0a\x1e\x09\x1a" "\x07\x8f\x06\x4d\x82\xa6\x41\xb3\xa0\x79\xd0\xe2\xdf\x3a\xbe\xf7\x27" "\xf3\x3d\xee\x7a\xe8\x9e\x3a\x59\xf7\xd2\xbd\xf5\x4b\xba\x8f\xee\xab" "\xfb\xe9\xfe\x7a\x80\x7e\x59\x0f\xd4\xaf\xe8\x41\xfa\x55\x9d\xa2\x07" "\xeb\x21\xfa\x35\x3d\x54\xbf\xae\x87\xe9\x37\xf4\x70\x3d\x42\x8f\xd4" "\x6f\xea\x51\xfa\x2d\x3d\x5a\x8f\xd1\x63\xf5\x38\x9d\xaa\xc7\xeb\x09" "\xfa\x6d\x3d\x51\xbf\xa3\x27\xe9\xc9\x7a\x8a\x9e\xaa\xd3\xf4\x34\x3d" "\x5d\xbf\xab\x67\xe8\x99\x7a\x96\x7e\x4f\xcf\xd6\xef\xeb\x39\x7a\xae" "\x9e\xa7\xe7\xeb\x74\xfd\x81\x5e\xa0\x17\xea\x0c\xfd\xa1\x5e\xa4\x3f" "\xd2\x99\x7a\xb1\x5e\xa2\x97\xea\x65\x7a\xb9\x5e\xa1\x57\xea\x55\x7a" "\xb5\x5e\xa3\xd7\xea\x75\x7a\xbd\xde\xa0\x37\xea\x4d\x7a\xb3\xde\xa2" "\xb7\xea\x6d\x7a\xbb\xde\xa1\x3f\xd6\x3b\xf5\x27\x7a\x97\xde\xad\xf7" "\xe8\x4f\xf5\x5e\xfd\x99\xde\xa7\x3f\xd7\xfb\xf5\x17\xfa\x80\xfe\x52" "\x67\xe9\xaf\xf4\x41\xfd\xb5\x3e\xa4\xbf\xd1\x87\xf5\xb7\xfa\x88\xfe" "\x4e\x1f\xd5\xc7\xf4\x71\xfd\xbd\x3e\xa1\x7f\xd0\x27\xf5\x29\x7d\x5a" "\x9f\xd1\x67\xf5\x8f\xfa\x9c\xfe\x49\x9f\xd7\xfe\xc2\xc5\xfd\x85\xd3" "\xbb\x51\x46\x99\x18\x13\x63\x62\x4d\xac\x89\x33\x71\x26\x97\xc9\x65" "\x72\x9b\xdc\x26\x62\x22\x26\xde\xc4\x9b\x3c\x26\x8f\xc9\x6b\xf2\x9a" "\xfc\x26\xbf\x49\x30\x09\xa6\x90\x29\x64\x2e\x20\x43\xa6\xb0\x29\x6c" "\xa2\x26\x6a\x8a\x9a\xa2\xa6\x98\x29\x66\x4a\x98\x12\xc6\x19\x67\x12" "\x4d\xa2\x29\x6d\x4a\x9b\x32\xa6\x8c\x29\x6b\xca\x9a\x72\xa6\x9c\x29" "\x6f\xca\x9b\x8a\xa6\xa2\xb9\xdd\xdc\x6e\xee\x30\x77\x98\x3b\xcd\x9d" "\xe6\x2e\x73\x97\xa9\x6e\xaa\x9b\x9a\xa6\xa6\xa9\x65\x6a\x99\xda\xa6" "\xb6\xa9\x63\xea\x98\xba\xa6\xae\xa9\x67\xea\x99\xfa\xa6\xbe\x69\x60" "\x1a\x98\x86\xa6\xa1\x69\x64\x1a\x99\xc6\xa6\xb1\x69\x62\x9a\x98\x66" "\xa6\x99\x69\x61\x5a\x98\x96\xa6\xa5\x69\x65\x5a\x99\x36\xa6\x8d\x69" "\x6b\xda\x9a\x76\xa6\x9d\x49\x32\x49\xa6\xbd\x69\x6f\x3a\x98\x0e\xa6" "\xa3\xe9\x68\x3a\x99\x4e\xa6\xb3\xe9\x6c\xba\x98\x2e\xa6\x9b\xe9\x66" "\xba\x9b\xee\xa6\x87\xe9\x61\x92\x4d\xb2\xe9\x6d\x7a\x9b\x3e\xa6\x8f" "\xe9\x67\xfa\x99\x01\x66\x80\x19\x68\x06\x9a\x41\x66\x90\x49\x31\x29" "\x66\x88\x19\x62\x86\x9a\xa1\x66\x98\x19\x66\x86\x9b\x11\x66\xe4\x85" "\x0b\x55\xf3\x96\x19\x6d\xc6\x98\xb1\x66\x9c\x49\x35\xa9\x66\x82\x99" "\x60\x26\x9a\x89\x66\x92\x99\x64\xa6\x98\x29\x26\xcd\xa4\x99\xe9\x66" "\xba\x99\x61\x66\x98\x59\x66\x96\x99\x6d\x66\x9b\x39\x66\x8e\x99\x67" "\xe6\x99\x74\x93\x6e\x16\x98\x05\x26\xc3\x64\x98\x45\x66\x91\xc9\x34" "\x99\x66\x89\x59\x62\x96\x99\x65\x66\x85\x59\x61\x56\x99\x55\x66\x8d" "\x59\x63\xd6\xc1\x3a\xb3\xc1\x6c\x30\x9b\xcc\x26\xb3\xc5\x6c\x31\xdb" "\xcc\x36\xb3\xc3\xec\x30\x3b\xcd\x4e\xb3\xcb\xec\x32\x7b\xcc\x1e\xb3" "\xd7\xec\x35\xfb\xcc\x3e\xb3\xdf\xec\x37\x07\xcc\x01\x93\x65\xb2\xcc" "\x41\x73\xd0\x1c\x32\x87\xcc\x61\x73\xd8\x1c\x31\x47\xcc\x51\x73\xd4" "\x1c\x37\xc7\xcd\x09\x73\xc2\x9c\x34\x27\xcd\x69\x73\xda\x9c\x35\xf9" "\x2e\x9e\x2f\xbd\x89\xb5\x39\x6d\x9c\xbd\xca\xe6\xb2\x57\xdb\xdc\xf6" "\x1a\xfb\xbf\xe3\xfc\xb6\x80\x4d\xb0\x05\x6d\x21\xab\x6d\x5e\x9b\xef" "\x37\xb1\xb1\xd6\x16\xb3\xc5\x6d\x09\x5b\xd2\x3a\x5b\xca\x26\xda\x9b" "\x7e\x17\x97\xb7\x15\x6c\x45\x5b\xc9\xde\x6e\x2b\xdb\x3b\x6c\x95\xdf" "\xc5\xb5\xec\x3d\xb6\xb6\xbd\xd7\xd6\xb1\xf7\xd9\x9a\xf6\xee\xdf\xc4" "\x75\xed\xfd\xb6\x9e\x7d\xc4\xd6\x47\x04\xb0\x4d\x6d\x43\xdb\xdc\x36" "\xb2\x8f\xd8\xc6\xf6\x51\xdb\xc4\x36\xb5\xcd\x6c\x73\xdb\xd6\x3e\x69" "\xdb\xd9\xa7\x6c\x92\x7d\xda\xb6\xb7\xcf\xfc\x2e\x5e\x60\x17\xda\x55" "\x76\xb5\x5d\x63\xd7\xda\x5d\x76\xb7\x3d\x6d\xcf\xd8\x43\xf6\x1b\x7b" "\xd6\xfe\x68\x7b\xd8\x9e\x76\x80\x7d\xd9\x0e\xb4\xaf\xd8\x41\xf6\x55" "\x9b\x62\x07\xff\x2e\x1e\x69\xdf\xb4\xa3\xec\x5b\x76\xb4\x1d\x63\xc7" "\xda\x71\xbf\x8b\xa7\xd8\xa9\x36\xcd\x4e\xb3\xd3\xed\xbb\x76\x86\x9d" "\xf9\xbb\x38\xdd\x7e\x60\x67\xdb\x0c\x3b\xc7\xce\xb5\xf3\xec\xfc\x9f" "\xe3\x0b\x73\xca\xb0\x1f\xda\x45\xf6\x23\x9b\x69\x03\x58\x62\x97\xda" "\x65\x76\xb9\x5d\x61\x57\xfe\x79\xae\x4b\xed\x7a\xbb\xc1\x6e\xb4\x3b" "\xed\x27\x76\x8b\xdd\x6a\xb7\xd9\xed\x76\xc7\xa5\x0b\x61\xbb\xdb\xee" "\xb1\x9f\xda\xbd\xf6\x33\x7b\xd0\x7e\x6d\xf7\xdb\x2f\xec\x01\x7b\xd8" "\x66\xd9\xaf\x7e\x8e\x2f\xec\xdf\x61\xfb\xad\x3d\x62\xbf\xb3\x47\xed" "\x31\x7b\xdc\x7e\x6f\x4f\xd8\x1f\xd4\xa5\xec\x0b\xfb\xfe\xbd\xfd\xc9" "\x9e\xb7\xde\x02\x21\x01\x49\x52\x14\x50\x0c\xe5\xa0\x58\xca\x49\x71" "\x74\x15\xe5\xa2\xab\x29\x37\x5d\x43\x11\xba\x96\xe2\xe9\x3a\xca\x43" "\xd7\x53\x5e\xca\x47\xf9\xa9\x00\x25\x50\x41\x2a\x44\x9a\x0c\x59\x22" "\x0a\xa9\x30\x15\xa1\x28\xdd\x40\x97\xa6\x57\x82\x4a\x92\xa3\x52\x94" "\x48\x37\x51\x69\xba\x99\xca\xd0\x2d\x54\x96\x6e\xa5\x72\x74\x1b\x95" "\xa7\x0a\x54\x91\x2a\xd1\xed\x54\x99\xee\xa0\x2a\x74\x27\x55\xa5\xbb" "\xa8\x1a\x55\xa7\x1a\x54\x93\xee\xa6\x5a\x74\x0f\xd5\xa6\x7b\xa9\x0e" "\xdd\x47\x75\xe9\x7e\xaa\x47\x0f\x50\x7d\x7a\x90\x1a\xd0\x43\xd4\x90" "\x1e\xa6\x46\xf4\x08\x35\xa6\x47\xa9\x09\x35\xa5\x66\xd4\x9c\x5a\xd0" "\x63\xd4\x92\x1e\xa7\x56\xd4\x9a\xda\xd0\x13\xd4\x96\x9e\xa4\x76\xf4" "\x14\x25\xd1\xd3\xd4\x9e\x9e\xa1\x0e\xf4\x27\xea\x48\xcf\x52\x27\x7a" "\x8e\x3a\xd3\xf3\xd4\x85\xba\x52\x37\x7a\x81\xba\xd3\x8b\xd4\x83\x7a" "\x52\x32\xf5\xa2\xde\xf4\x12\xf5\xa1\xbe\xd4\x8f\xfa\xd3\x00\x7a\x99" "\x06\xd2\x2b\x34\x88\x5e\xa5\x14\x1a\x4c\x43\xe8\x35\x1a\x4a\xaf\xd3" "\x30\x7a\x83\x86\xd3\x08\x1a\x49\x6f\xd2\x28\x7a\x8b\x46\xd3\x18\x1a" "\x4b\xe3\x28\x95\xc6\xd3\x04\x7a\x9b\x26\xd2\x3b\x34\x89\x26\xd3\x14" "\x9a\x4a\x69\x34\x8d\xa6\xd3\xbb\x34\x83\x66\xd2\x2c\x7a\x8f\x66\xd3" "\xfb\x34\x87\xe6\xd2\x3c\x9a\x4f\xe9\xf4\x01\x2d\xa0\x85\x94\x41\x1f" "\xd2\x22\xfa\x88\x32\x69\x31\x2d\xa1\xa5\xb4\x8c\x96\xd3\x0a\x5a\x49" "\xab\x68\x35\xad\xa1\xb5\xb4\x8e\xd6\xd3\x06\xda\x48\x9b\x68\x33\x6d" "\xa1\xad\xb4\x8d\xb6\xd3\x0e\xfa\x98\x76\xd2\x27\xb4\x8b\x76\xd3\x1e" "\xfa\x94\xf6\xd2\x67\xb4\x8f\x3e\xa7\xfd\xf4\x05\x1d\xa0\x2f\x29\x8b" "\xbe\xa2\x83\xf4\x35\x1d\xa2\x6f\xe8\x30\x7d\xeb\x7b\xd2\x77\x74\x94" "\x8e\xd1\x71\xfa\x9e\x4e\xd0\x0f\x74\x92\x4e\xd1\x69\x3a\x43\x67\xe9" "\x47\x3a\x47\x3f\xd1\x79\xf2\x04\x21\x86\x22\x94\xa1\x0a\x83\x30\x26" "\xcc\x11\xc6\x86\x39\xc3\xb8\xf0\xaa\x30\x57\x78\x75\x98\x3b\xbc\x26" "\x8c\x84\xd7\x86\xf1\xe1\x75\x61\x9e\xf0\xfa\x30\x6f\x98\x2f\xcc\x1f" "\x16\x08\x13\xc2\x82\x61\xa1\x50\x87\x26\xb4\x21\x85\x61\x58\x38\x2c" "\x12\x46\xc3\x1b\xc2\xa2\xe1\x8d\x61\xb1\xb0\x78\x58\x22\x2c\x19\xba" "\xb0\x54\x98\x18\xde\x14\x96\x0e\x6f\x0e\xcb\x84\xb7\x84\x65\xc3\x5b" "\xc3\x72\xe1\x6d\x61\xf9\xb0\x42\xf8\xc8\x7d\x95\xc2\xdb\xc3\xca\xe1" "\x1d\x61\x95\xf0\xce\xb0\x6a\x78\x57\x58\x2d\xac\x1e\xd6\x08\x6b\x86" "\x77\x87\xb5\xc2\x7b\xc2\xda\xe1\xbd\x61\x9d\xf0\xbe\xb0\x4c\x78\x7f" "\x58\x2f\x7c\x20\xac\x1f\x3e\x18\x36\x08\x1f\x0a\x1b\x86\x0f\x87\x8d" "\xc2\x47\xc2\xc6\xe1\xa3\x61\x93\xb0\x69\xd8\x2c\x6c\x1e\xb6\x08\x1f" "\x0b\x5b\x86\x8f\x87\xad\xc2\xd6\x61\x9b\xf0\x89\xb0\x6d\xf8\x64\xd8" "\x2e\x7c\x2a\x4c\x0a\x9f\x0e\xdb\x87\xcf\xfc\xdc\x7f\xff\xc2\xbf\xdc" "\x9f\x1c\xf6\x0a\x7b\x87\x2f\x85\x2f\x85\xde\xdf\x2b\xe7\x45\xe7\x47" "\xd3\xa3\x1f\x44\x17\x44\x17\x46\x33\xa2\x1f\x46\x17\x45\x3f\x8a\x66" "\x46\x17\x47\x97\x44\x97\x46\x97\x45\x97\x47\x57\x44\x57\x46\x57\x45" "\x57\x47\xd7\x44\xd7\x46\xd7\x45\xd7\x47\x37\x44\x37\x46\xbd\xaf\x99" "\x03\x1c\x3a\xe1\xa4\x53\x2e\x70\x31\x2e\x87\x8b\x75\x39\x5d\x9c\xbb" "\xca\xe5\x72\x57\xbb\xdc\xee\x1a\x17\x71\xd7\xba\x78\x77\x9d\xcb\xe3" "\xae\x77\x79\x5d\x3e\x97\xdf\x15\x70\x09\xae\xa0\x2b\xe4\xb4\x33\xce" "\x3a\x72\xa1\x2b\xec\x8a\xb8\xa8\xbb\xc1\x15\x75\x37\xba\x62\xae\xb8" "\x2b\xe1\x4a\x3a\xe7\x4a\xb9\x44\xd7\xdc\xb5\x70\x2d\x5c\x4b\xf7\xb8" "\x6b\xe5\x5a\xbb\x36\xee\x09\xf7\x84\x7b\xd2\x3d\xe9\x9e\x72\x4f\xb9" "\xa7\x5d\x7b\xf7\x8c\xeb\xe0\xfe\xe4\x3a\xba\x67\x5d\x27\xf7\x9c\x7b" "\xce\x3d\xef\xba\xb8\xae\xae\x9b\x7b\xc1\x75\x77\xe3\x73\xff\x72\x4c" "\x26\xbb\xde\xae\xb7\xeb\xe3\xfa\xb8\x7e\xae\x9f\x1b\xe0\x06\xb8\x81" "\x6e\xa0\x1b\xe4\x06\xb9\x14\x97\xe2\x86\xb8\x21\x6e\xa8\x1b\xea\x86" "\xb9\x61\x6e\xb8\x1b\xee\x46\xba\x91\x6e\x94\x1b\xe5\x46\xbb\xd1\x6e" "\xac\x1b\xeb\x52\x5d\xaa\x9b\xe0\x26\xb8\x89\x6e\xa2\x9b\xe4\x26\xb9" "\x29\x6e\x8a\x4b\x73\x69\x6e\xba\x9b\xee\x66\xb8\x19\xae\xf2\xcc\x5f" "\xb6\x32\xc7\xcd\x71\xf3\xdc\x3c\x97\xee\xd2\xdd\x02\x77\xe1\x9a\x31" "\xc3\x2d\x72\x8b\x5c\xa6\xcb\x74\x4b\xdc\x12\xb7\xcc\x2d\x73\x2b\xdc" "\x0a\xb7\xca\xad\x72\x6b\xdc\x1a\xb7\xce\xad\x73\x1b\xdc\x06\xb7\xc9" "\x6d\x72\x5b\xdc\x16\xb7\xcd\x6d\x73\x3b\xdc\x0e\xb7\xd3\xed\x74\xbb" "\xfc\x35\xbf\x0c\xea\xf6\xba\x7d\x6e\x9f\xdb\xef\xf6\xbb\x03\xee\x4b" "\x97\xe5\xbe\x72\x07\xdd\xd7\xee\x90\xfb\xc6\x1d\x76\xdf\xba\x23\xee" "\x3b\x77\xd4\x1d\x73\xc7\xdd\xf7\xee\x84\xfb\xc1\x9d\x74\xa7\xdc\x69" "\x77\xc6\x9d\x75\x3f\xba\x73\xee\x27\x77\xde\x79\x97\x1a\x19\x1f\x99" "\x10\x79\x3b\x32\x31\xf2\x4e\x64\x52\x64\x72\x64\x4a\x64\x6a\x24\x2d" "\x32\x2d\x32\x3d\xf2\x6e\x64\x46\x64\x66\x64\x56\xe4\xbd\xc8\xec\xc8" "\xfb\x91\x39\x91\xb9\x91\x79\x91\xf9\x91\xf4\xc8\x07\x91\x05\x91\x85" "\x91\x8c\xc8\x87\x91\x45\x91\x8f\x22\x99\x91\xc5\x91\x25\x91\xa5\x91" "\x65\x91\xe5\x11\xef\x0b\x6e\x09\x7d\x61\x5f\xc4\x47\xfd\x0d\xbe\xa8" "\xbf\xd1\x17\xf3\xc5\x7d\x09\x5f\xd2\x3b\x5f\xca\x27\xfa\x9b\x7c\x69" "\x7f\xb3\x2f\xe3\x6f\xf1\x65\xfd\xad\xbe\x9c\xbf\xcd\x97\xf7\x15\x7c" "\x45\xff\xa8\x6f\xe2\x9b\xfa\x66\xbe\xb9\x6f\xe1\x1f\xf3\x2d\xfd\xe3" "\xbe\x95\x6f\xed\xdb\xf8\x27\x7c\x5b\xff\xa4\x6f\xe7\x9f\xf2\x49\xfe" "\x69\xdf\xde\x3f\xe3\x3b\xf8\x3f\xf9\x8e\xfe\x59\xdf\xc9\x3f\xe7\x3b" "\xfb\xe7\x7d\x17\xdf\xd5\x77\xf3\x2f\xf8\xee\xfe\x45\xdf\xc3\xf7\xf4" "\xc9\xbe\x97\xef\xed\x5f\xf2\x7d\x7c\x5f\xdf\xcf\xf7\xf7\x03\xfc\xcb" "\x7e\xa0\x7f\xc5\x0f\xf2\xaf\xfa\x14\x3f\xd8\x0f\xf1\xaf\xf9\xa1\xfe" "\x75\x3f\xcc\xbf\xe1\x87\xfb\x11\x7e\x64\xcc\x9b\x7e\xd4\xa5\x5b\x64" "\x18\xe7\x53\xfd\x78\x3f\xc1\xbf\xed\x27\xfa\x77\xfc\x24\x3f\xd9\x4f" "\xf1\x53\x7d\x9a\x9f\xe6\xa7\xfb\x77\xfd\x0c\x3f\xd3\xcf\xf2\xef\xf9" "\xd9\xfe\x7d\x3f\xc7\xcf\xf5\xf3\xfc\x7c\x9f\xee\x3f\xf0\x0b\xfc\x42" "\x9f\xe1\x3f\xf4\x8b\xfc\x47\x3e\xd3\x2f\xbe\xf4\x50\xd2\xaf\xf0\x2b" "\xfd\x2a\xbf\xda\xaf\xf1\x6b\xfd\x3a\xbf\xde\x6f\xf0\x1b\xfd\x26\xbf" "\xd9\x6f\xf1\x5b\xfd\x36\xbf\xdd\xef\xf0\x1f\xfb\x9d\xfe\x13\xbf\xcb" "\xef\xf6\x7b\xfc\xa7\x7e\xaf\xff\xcc\xef\xf3\x9f\xfb\xfd\xfe\x0b\x7f" "\xc0\x7f\xe9\xb3\xfc\x57\xfe\xa0\xff\xda\x1f\xf2\xdf\xf8\xc3\xfe\x5b" "\x7f\xc4\x7f\xe7\x8f\xfa\x63\xfe\xb8\xff\xde\x9f\xf0\x3f\xf8\x93\xfe" "\x94\x3f\xed\xcf\xf8\xb3\xfe\x47\x7f\xce\xff\xe4\xcf\xf3\xdf\xac\x31" "\xc6\x18\x63\x8c\xfd\x5d\xc6\x5f\x6e\x8a\xdf\xf6\xfc\xf2\x38\xbf\xd7" "\x1f\xe4\x88\x5f\xad\xdc\x1b\x00\xae\xde\x5a\x20\xeb\xd7\xfd\x17\xae" "\x28\xd7\xe5\xfd\xa5\xdd\x57\x24\xb4\x8d\x00\xc0\xd3\x3d\x3b\x3f\x74" "\x69\xa9\x56\x2d\x39\x39\xf9\xe2\xba\x99\x12\x82\x22\x73\x01\x2e\xfd" "\x24\xe8\x82\x18\xb8\x1c\x2f\x86\x36\xf0\x24\x24\x41\x6b\x28\xfd\x87" "\xf3\xef\x2b\xba\x9e\xa5\xbf\x31\x7e\xf4\x56\x80\xb8\x5f\xe5\xc4\xc2" "\xe5\xf8\xf2\xf8\x9f\x03\x60\xf2\x1f\x8c\xff\xd8\x13\x23\x17\x94\x0b" "\x4f\xc7\xff\x95\xf1\xe7\x02\x14\x2b\x72\x39\x27\x27\x5c\x8e\x17\x43" "\x9b\x9f\x9f\xaf\xb4\x86\x32\x7f\x61\xfe\xf9\x5a\xfe\x8d\xf9\xe7\xfc" "\x22\x15\xa0\xd5\xaf\x72\x72\xc1\xe5\xf8\xf2\xfc\x13\xe1\x71\x78\x06" "\x92\x7e\xb3\x26\x63\x8c\x31\xc6\x18\x63\x8c\x31\xf6\x8b\xbe\xa2\x62" "\xc7\x4b\xf7\x9f\x97\x7e\xe3\xf3\x8f\xee\xcf\x13\xd4\xe5\x9c\x1c\x70" "\x39\xfe\x5b\xf7\xe7\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\xbb\xf2\x9e" "\xed\xda\xed\xa9\xc7\x92\x92\x5a\x77\xfc\xc7\x1b\x55\xfe\xa9\xac\xbf" "\xbb\xd1\x18\xfe\x53\x23\x73\xe3\x0f\x1b\xde\x03\x5c\x7a\x45\x01\xc0" "\xbf\x38\x20\xc0\x85\x86\xfc\x6f\xee\xc5\xe6\xff\xca\xb6\x52\x2e\x1e" "\x3a\xff\xbb\x6b\xd9\x19\x1f\xc0\xff\x8d\x52\xfe\xf3\x8d\xb1\x7f\x7e" "\xe5\x0a\x7f\x63\x62\x8c\x31\xc6\x18\x63\x8c\xfd\xdb\x5d\xbe\xfa\xff" "\xed\xeb\xea\x4a\x4d\x88\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31" "\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18" "\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\xcb\x86\xfe\x1b\xff\x57\xec" "\x4a\xef\x23\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6" "\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63" "\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31\xc6\x18\x63\x8c\x31" "\x76\xa5\xfd\x4f\x00\x00\x00\xff\xff\x1e\x63\xfe\x92", 5419); syz_mount_image(/*fs=*/0x200000000180, /*dir=*/0x200000000240, /*flags=*/0, /*opts=*/0x2000000003c0, /*chdir=*/3, /*size=*/0x152b, /*img=*/0x200000001d00); break; case 1: // mount$incfs arguments: [ // src: ptr[in, buffer] { // buffer: {2e 00} (length 0x2) // } // dst: ptr[in, buffer] { // buffer: {2e 2f 62 75 73 00} (length 0x6) // } // type: ptr[in, buffer] { // buffer: {69 6e 63 72 65 6d 65 6e 74 61 6c 2d 66 73 00} (length 0xf) // } // flags: mount_flags = 0xc002 (8 bytes) // opts: nil // ] memcpy((void*)0x2000000032c0, ".\000", 2); memcpy((void*)0x200000003300, "./bus\000", 6); memcpy((void*)0x200000003340, "incremental-fs\000", 15); syscall(__NR_mount, /*src=*/0x2000000032c0ul, /*dst=*/0x200000003300ul, /*type=*/0x200000003340ul, /*flags=MS_REC|MS_SILENT|MS_NOSUID*/ 0xc002ul, /*opts=*/0ul); break; } } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000, /*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=*/0x1000, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-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; }