// 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 #ifndef __NR_memfd_create #define __NR_memfd_create 319 #endif static unsigned long long procid; static __thread int clone_ongoing; static __thread int skip_segv; static __thread jmp_buf segv_env; static void segv_handler(int sig, siginfo_t* info, void* ctx) { if (__atomic_load_n(&clone_ongoing, __ATOMIC_RELAXED) != 0) { exit(sig); } uintptr_t addr = (uintptr_t)info->si_addr; const uintptr_t prog_start = 1 << 20; const uintptr_t prog_end = 100 << 20; int skip = __atomic_load_n(&skip_segv, __ATOMIC_RELAXED) != 0; int valid = addr < prog_start || addr > prog_end; if (skip && valid) { _longjmp(segv_env, 1); } exit(sig); } static void install_segv_handler(void) { struct sigaction sa; memset(&sa, 0, sizeof(sa)); sa.sa_handler = SIG_IGN; syscall(SYS_rt_sigaction, 0x20, &sa, NULL, 8); syscall(SYS_rt_sigaction, 0x21, &sa, NULL, 8); memset(&sa, 0, sizeof(sa)); sa.sa_sigaction = segv_handler; sa.sa_flags = SA_NODEFER | SA_SIGINFO; sigaction(SIGSEGV, &sa, NULL); sigaction(SIGBUS, &sa, NULL); } #define NONFAILING(...) \ ({ \ int ok = 1; \ __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \ if (_setjmp(segv_env) == 0) { \ __VA_ARGS__; \ } else \ ok = 0; \ __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \ ok; \ }) static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void use_temporary_dir(void) { char tmpdir_template[] = "./syzkaller.XXXXXX"; char* tmpdir = mkdtemp(tmpdir_template); if (!tmpdir) exit(1); if (chmod(tmpdir, 0777)) exit(1); if (chdir(tmpdir)) exit(1); } static void thread_start(void* (*fn)(void*), void* arg) { pthread_t th; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, 128 << 10); int i = 0; for (; i < 100; i++) { if (pthread_create(&th, &attr, fn, arg) == 0) { pthread_attr_destroy(&attr); return; } if (errno == EAGAIN) { usleep(50); continue; } break; } exit(1); } typedef struct { int state; } event_t; static void event_init(event_t* ev) { ev->state = 0; } static void event_reset(event_t* ev) { ev->state = 0; } static void event_set(event_t* ev) { if (ev->state) exit(1); __atomic_store_n(&ev->state, 1, __ATOMIC_RELEASE); syscall(SYS_futex, &ev->state, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, 1000000); } static void event_wait(event_t* ev) { while (!__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, 0); } static int event_isset(event_t* ev) { return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE); } static int event_timedwait(event_t* ev, uint64_t timeout) { uint64_t start = current_time_ms(); uint64_t now = start; for (;;) { uint64_t remain = timeout - (now - start); struct timespec ts; ts.tv_sec = remain / 1000; ts.tv_nsec = (remain % 1000) * 1000 * 1000; syscall(SYS_futex, &ev->state, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, &ts); if (__atomic_load_n(&ev->state, __ATOMIC_ACQUIRE)) return 1; now = current_time_ms(); if (now - start > timeout) return 0; } } static bool write_file(const char* file, const char* what, ...) { char buf[1024]; va_list args; va_start(args, what); vsnprintf(buf, sizeof(buf), what, args); va_end(args); buf[sizeof(buf) - 1] = 0; int len = strlen(buf); int fd = open(file, O_WRONLY | O_CLOEXEC); if (fd == -1) return false; if (write(fd, buf, len) != len) { int err = errno; close(fd); errno = err; return false; } close(fd); return true; } //% This code is derived from puff.{c,h}, found in the zlib development. The //% original files come with the following copyright notice: //% Copyright (C) 2002-2013 Mark Adler, all rights reserved //% version 2.3, 21 Jan 2013 //% This software is provided 'as-is', without any express or implied //% warranty. In no event will the author be held liable for any damages //% arising from the use of this software. //% Permission is granted to anyone to use this software for any purpose, //% including commercial applications, and to alter it and redistribute it //% freely, subject to the following restrictions: //% 1. The origin of this software must not be misrepresented; you must not //% claim that you wrote the original software. If you use this software //% in a product, an acknowledgment in the product documentation would be //% appreciated but is not required. //% 2. Altered source versions must be plainly marked as such, and must not be //% misrepresented as being the original software. //% 3. This notice may not be removed or altered from any source distribution. //% Mark Adler madler@alumni.caltech.edu //% BEGIN CODE DERIVED FROM puff.{c,h} #define MAXBITS 15 #define MAXLCODES 286 #define MAXDCODES 30 #define MAXCODES (MAXLCODES + MAXDCODES) #define FIXLCODES 288 struct puff_state { unsigned char* out; unsigned long outlen; unsigned long outcnt; const unsigned char* in; unsigned long inlen; unsigned long incnt; int bitbuf; int bitcnt; jmp_buf env; }; static int puff_bits(struct puff_state* s, int need) { long val = s->bitbuf; while (s->bitcnt < need) { if (s->incnt == s->inlen) longjmp(s->env, 1); val |= (long)(s->in[s->incnt++]) << s->bitcnt; s->bitcnt += 8; } s->bitbuf = (int)(val >> need); s->bitcnt -= need; return (int)(val & ((1L << need) - 1)); } static int puff_stored(struct puff_state* s) { s->bitbuf = 0; s->bitcnt = 0; if (s->incnt + 4 > s->inlen) return 2; unsigned len = s->in[s->incnt++]; len |= s->in[s->incnt++] << 8; if (s->in[s->incnt++] != (~len & 0xff) || s->in[s->incnt++] != ((~len >> 8) & 0xff)) return -2; if (s->incnt + len > s->inlen) return 2; if (s->outcnt + len > s->outlen) return 1; for (; len--; s->outcnt++, s->incnt++) { if (s->in[s->incnt]) s->out[s->outcnt] = s->in[s->incnt]; } return 0; } struct puff_huffman { short* count; short* symbol; }; static int puff_decode(struct puff_state* s, const struct puff_huffman* h) { int first = 0; int index = 0; int bitbuf = s->bitbuf; int left = s->bitcnt; int code = first = index = 0; int len = 1; short* next = h->count + 1; while (1) { while (left--) { code |= bitbuf & 1; bitbuf >>= 1; int count = *next++; if (code - count < first) { s->bitbuf = bitbuf; s->bitcnt = (s->bitcnt - len) & 7; return h->symbol[index + (code - first)]; } index += count; first += count; first <<= 1; code <<= 1; len++; } left = (MAXBITS + 1) - len; if (left == 0) break; if (s->incnt == s->inlen) longjmp(s->env, 1); bitbuf = s->in[s->incnt++]; if (left > 8) left = 8; } return -10; } static int puff_construct(struct puff_huffman* h, const short* length, int n) { int len; for (len = 0; len <= MAXBITS; len++) h->count[len] = 0; int symbol; for (symbol = 0; symbol < n; symbol++) (h->count[length[symbol]])++; if (h->count[0] == n) return 0; int left = 1; for (len = 1; len <= MAXBITS; len++) { left <<= 1; left -= h->count[len]; if (left < 0) return left; } short offs[MAXBITS + 1]; offs[1] = 0; for (len = 1; len < MAXBITS; len++) offs[len + 1] = offs[len] + h->count[len]; for (symbol = 0; symbol < n; symbol++) if (length[symbol] != 0) h->symbol[offs[length[symbol]]++] = symbol; return left; } static int puff_codes(struct puff_state* s, const struct puff_huffman* lencode, const struct puff_huffman* distcode) { static const short lens[29] = {3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258}; static const short lext[29] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0}; static const short dists[30] = { 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577}; static const short dext[30] = {0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13}; int symbol; do { symbol = puff_decode(s, lencode); if (symbol < 0) return symbol; if (symbol < 256) { if (s->outcnt == s->outlen) return 1; if (symbol) s->out[s->outcnt] = symbol; s->outcnt++; } else if (symbol > 256) { symbol -= 257; if (symbol >= 29) return -10; int len = lens[symbol] + puff_bits(s, lext[symbol]); symbol = puff_decode(s, distcode); if (symbol < 0) return symbol; unsigned dist = dists[symbol] + puff_bits(s, dext[symbol]); if (dist > s->outcnt) return -11; if (s->outcnt + len > s->outlen) return 1; while (len--) { if (dist <= s->outcnt && s->out[s->outcnt - dist]) s->out[s->outcnt] = s->out[s->outcnt - dist]; s->outcnt++; } } } while (symbol != 256); return 0; } static int puff_fixed(struct puff_state* s) { static int virgin = 1; static short lencnt[MAXBITS + 1], lensym[FIXLCODES]; static short distcnt[MAXBITS + 1], distsym[MAXDCODES]; static struct puff_huffman lencode, distcode; if (virgin) { lencode.count = lencnt; lencode.symbol = lensym; distcode.count = distcnt; distcode.symbol = distsym; short lengths[FIXLCODES]; int symbol; for (symbol = 0; symbol < 144; symbol++) lengths[symbol] = 8; for (; symbol < 256; symbol++) lengths[symbol] = 9; for (; symbol < 280; symbol++) lengths[symbol] = 7; for (; symbol < FIXLCODES; symbol++) lengths[symbol] = 8; puff_construct(&lencode, lengths, FIXLCODES); for (symbol = 0; symbol < MAXDCODES; symbol++) lengths[symbol] = 5; puff_construct(&distcode, lengths, MAXDCODES); virgin = 0; } return puff_codes(s, &lencode, &distcode); } static int puff_dynamic(struct puff_state* s) { static const short order[19] = {16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15}; int nlen = puff_bits(s, 5) + 257; int ndist = puff_bits(s, 5) + 1; int ncode = puff_bits(s, 4) + 4; if (nlen > MAXLCODES || ndist > MAXDCODES) return -3; short lengths[MAXCODES]; int index; for (index = 0; index < ncode; index++) lengths[order[index]] = puff_bits(s, 3); for (; index < 19; index++) lengths[order[index]] = 0; short lencnt[MAXBITS + 1], lensym[MAXLCODES]; struct puff_huffman lencode = {lencnt, lensym}; int err = puff_construct(&lencode, lengths, 19); if (err != 0) return -4; index = 0; while (index < nlen + ndist) { int symbol; int len; symbol = puff_decode(s, &lencode); if (symbol < 0) return symbol; if (symbol < 16) lengths[index++] = symbol; else { len = 0; if (symbol == 16) { if (index == 0) return -5; len = lengths[index - 1]; symbol = 3 + puff_bits(s, 2); } else if (symbol == 17) symbol = 3 + puff_bits(s, 3); else symbol = 11 + puff_bits(s, 7); if (index + symbol > nlen + ndist) return -6; while (symbol--) lengths[index++] = len; } } if (lengths[256] == 0) return -9; err = puff_construct(&lencode, lengths, nlen); if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1])) return -7; short distcnt[MAXBITS + 1], distsym[MAXDCODES]; struct puff_huffman distcode = {distcnt, distsym}; err = puff_construct(&distcode, lengths + nlen, ndist); if (err && (err < 0 || ndist != distcode.count[0] + distcode.count[1])) return -8; return puff_codes(s, &lencode, &distcode); } static int puff(unsigned char* dest, unsigned long* destlen, const unsigned char* source, unsigned long sourcelen) { struct puff_state s = { .out = dest, .outlen = *destlen, .outcnt = 0, .in = source, .inlen = sourcelen, .incnt = 0, .bitbuf = 0, .bitcnt = 0, }; int err; if (setjmp(s.env) != 0) err = 2; else { int last; do { last = puff_bits(&s, 1); int type = puff_bits(&s, 2); err = type == 0 ? puff_stored(&s) : (type == 1 ? puff_fixed(&s) : (type == 2 ? puff_dynamic(&s) : -1)); if (err != 0) break; } while (!last); } *destlen = s.outcnt; return err; } //% END CODE DERIVED FROM puff.{c,h} #define ZLIB_HEADER_WIDTH 2 static int puff_zlib_to_file(const unsigned char* source, unsigned long sourcelen, int dest_fd) { if (sourcelen < ZLIB_HEADER_WIDTH) return 0; source += ZLIB_HEADER_WIDTH; sourcelen -= ZLIB_HEADER_WIDTH; const unsigned long max_destlen = 132 << 20; void* ret = mmap(0, max_destlen, PROT_WRITE | PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); if (ret == MAP_FAILED) return -1; unsigned char* dest = (unsigned char*)ret; unsigned long destlen = max_destlen; int err = puff(dest, &destlen, source, sourcelen); if (err) { munmap(dest, max_destlen); errno = -err; return -1; } if (write(dest_fd, dest, destlen) != (ssize_t)destlen) { munmap(dest, max_destlen); return -1; } return munmap(dest, max_destlen); } static int setup_loop_device(unsigned char* data, unsigned long size, const char* loopname, int* loopfd_p) { int err = 0, loopfd = -1; int memfd = syscall(__NR_memfd_create, "syzkaller", 0); if (memfd == -1) { err = errno; goto error; } if (puff_zlib_to_file(data, size, memfd)) { err = errno; goto error_close_memfd; } loopfd = open(loopname, O_RDWR); if (loopfd == -1) { err = errno; goto error_close_memfd; } if (ioctl(loopfd, LOOP_SET_FD, memfd)) { if (errno != EBUSY) { err = errno; goto error_close_loop; } ioctl(loopfd, LOOP_CLR_FD, 0); usleep(1000); if (ioctl(loopfd, LOOP_SET_FD, memfd)) { err = errno; goto error_close_loop; } } close(memfd); *loopfd_p = loopfd; return 0; error_close_loop: close(loopfd); error_close_memfd: close(memfd); error: errno = err; return -1; } static void reset_loop_device(const char* loopname) { int loopfd = open(loopname, O_RDWR); if (loopfd == -1) { return; } if (ioctl(loopfd, LOOP_CLR_FD, 0)) { } close(loopfd); } static long syz_mount_image(volatile long fsarg, volatile long dir, volatile long flags, volatile long optsarg, volatile long change_dir, volatile unsigned long size, volatile long image) { unsigned char* data = (unsigned char*)image; int res = -1, err = 0, need_loop_device = !!size; char* mount_opts = (char*)optsarg; char* target = (char*)dir; char* fs = (char*)fsarg; char* source = NULL; char loopname[64]; if (need_loop_device) { int loopfd; memset(loopname, 0, sizeof(loopname)); snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); if (setup_loop_device(data, size, loopname, &loopfd) == -1) return -1; close(loopfd); source = loopname; } mkdir(target, 0777); char opts[256]; memset(opts, 0, sizeof(opts)); if (strlen(mount_opts) > (sizeof(opts) - 32)) { } strncpy(opts, mount_opts, sizeof(opts) - 32); if (strcmp(fs, "iso9660") == 0) { flags |= MS_RDONLY; } else if (strncmp(fs, "ext", 3) == 0) { bool has_remount_ro = false; char* remount_ro_start = strstr(opts, "errors=remount-ro"); if (remount_ro_start != NULL) { char after = *(remount_ro_start + strlen("errors=remount-ro")); char before = remount_ro_start == opts ? '\0' : *(remount_ro_start - 1); has_remount_ro = ((before == '\0' || before == ',') && (after == '\0' || after == ',')); } if (strstr(opts, "errors=panic") || !has_remount_ro) strcat(opts, ",errors=continue"); } else if (strcmp(fs, "xfs") == 0) { strcat(opts, ",nouuid"); } else if (strncmp(fs, "gfs2", 4) == 0 && (strstr(opts, "errors=panic") || strstr(opts, "debug"))) { strcat(opts, ",errors=withdraw"); } res = mount(source, target, fs, flags, opts); if (res == -1) { err = errno; goto error_clear_loop; } res = open(target, O_RDONLY | O_DIRECTORY); if (res == -1) { err = errno; goto error_clear_loop; } if (change_dir) { res = chdir(target); if (res == -1) { err = errno; } } error_clear_loop: if (need_loop_device) reset_loop_device(loopname); errno = err; return res; } #define FS_IOC_SETFLAGS _IOW('f', 2, long) static void remove_dir(const char* dir) { int iter = 0; DIR* dp = 0; const int umount_flags = MNT_FORCE | UMOUNT_NOFOLLOW; retry: while (umount2(dir, umount_flags) == 0) { } dp = opendir(dir); if (dp == NULL) { if (errno == EMFILE) { exit(1); } exit(1); } struct dirent* ep = 0; while ((ep = readdir(dp))) { if (strcmp(ep->d_name, ".") == 0 || strcmp(ep->d_name, "..") == 0) continue; char filename[FILENAME_MAX]; snprintf(filename, sizeof(filename), "%s/%s", dir, ep->d_name); while (umount2(filename, umount_flags) == 0) { } struct stat st; if (lstat(filename, &st)) exit(1); if (S_ISDIR(st.st_mode)) { remove_dir(filename); continue; } int i; for (i = 0;; i++) { if (unlink(filename) == 0) break; if (errno == EPERM) { int fd = open(filename, O_RDONLY); if (fd != -1) { long flags = 0; if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) { } close(fd); continue; } } if (errno == EROFS) { break; } if (errno != EBUSY || i > 100) exit(1); if (umount2(filename, umount_flags)) exit(1); } } closedir(dp); for (int i = 0;; i++) { if (rmdir(dir) == 0) break; if (i < 100) { if (errno == EPERM) { int fd = open(dir, O_RDONLY); if (fd != -1) { long flags = 0; if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) { } close(fd); continue; } } if (errno == EROFS) { break; } if (errno == EBUSY) { if (umount2(dir, umount_flags)) exit(1); continue; } if (errno == ENOTEMPTY) { if (iter < 100) { iter++; goto retry; } } } exit(1); } } static void kill_and_wait(int pid, int* status) { kill(-pid, SIGKILL); kill(pid, SIGKILL); for (int i = 0; i < 100; i++) { if (waitpid(-1, status, WNOHANG | __WALL) == pid) return; usleep(1000); } DIR* dir = opendir("/sys/fs/fuse/connections"); if (dir) { for (;;) { struct dirent* ent = readdir(dir); if (!ent) break; if (strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0) continue; char abort[300]; snprintf(abort, sizeof(abort), "/sys/fs/fuse/connections/%s/abort", ent->d_name); int fd = open(abort, O_WRONLY); if (fd == -1) { continue; } if (write(fd, abort, 1) < 0) { } close(fd); } closedir(dir); } else { } while (waitpid(-1, status, __WALL) != pid) { } } static void reset_loop() { char buf[64]; snprintf(buf, sizeof(buf), "/dev/loop%llu", procid); int loopfd = open(buf, O_RDWR); if (loopfd != -1) { ioctl(loopfd, LOOP_CLR_FD, 0); close(loopfd); } } static void setup_test() { prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); setpgrp(); write_file("/proc/self/oom_score_adj", "1000"); if (symlink("/dev/binderfs", "./binderfs")) { } } static void setup_sysctl() { int cad_pid = fork(); if (cad_pid < 0) exit(1); if (cad_pid == 0) { for (;;) sleep(100); } char tmppid[32]; snprintf(tmppid, sizeof(tmppid), "%d", cad_pid); struct { const char* name; const char* data; } files[] = { {"/sys/kernel/debug/x86/nmi_longest_ns", "10000000000"}, {"/proc/sys/kernel/hung_task_check_interval_secs", "20"}, {"/proc/sys/net/core/bpf_jit_kallsyms", "1"}, {"/proc/sys/net/core/bpf_jit_harden", "0"}, {"/proc/sys/kernel/kptr_restrict", "0"}, {"/proc/sys/kernel/softlockup_all_cpu_backtrace", "1"}, {"/proc/sys/fs/mount-max", "100"}, {"/proc/sys/vm/oom_dump_tasks", "0"}, {"/proc/sys/debug/exception-trace", "0"}, {"/proc/sys/kernel/printk", "7 4 1 3"}, {"/proc/sys/kernel/keys/gc_delay", "1"}, {"/proc/sys/vm/oom_kill_allocating_task", "1"}, {"/sys/kernel/debug/failslab/task-filter", "Y"}, {"/sys/kernel/debug/fail_page_alloc/task-filter", "Y"}, {"/sys/kernel/debug/fail_futex/task-filter", "Y"}, {"/sys/kernel/debug/fail_usercopy/task-filter", "Y"}, {"/sys/kernel/debug/fail_make_request/task-filter", "Y"}, {"/sys/kernel/debug/fail_io_timeout/task-filter", "Y"}, {"/sys/kernel/debug/fail_iommufd/task-filter", "Y"}, {"/proc/sys/kernel/ctrl-alt-del", "0"}, {"/proc/sys/kernel/cad_pid", tmppid}, }; for (size_t i = 0; i < sizeof(files) / sizeof(files[0]); i++) { if (!write_file(files[i].name, files[i].data)) { } } kill(cad_pid, SIGKILL); while (waitpid(cad_pid, NULL, 0) != cad_pid) ; } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } int i, call, thread; for (call = 0; call < 4; call++) { for (thread = 0; thread < (int)(sizeof(threads) / sizeof(threads[0])); thread++) { struct thread_t* th = &threads[thread]; if (!th->created) { th->created = 1; event_init(&th->ready); event_init(&th->done); event_set(&th->done); thread_start(thr, th); } if (!event_isset(&th->done)) continue; event_reset(&th->done); th->call = call; __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); event_set(&th->ready); event_timedwait(&th->done, 50 + (call == 0 ? 4000 : 0) + (call == 3 ? 4000 : 0)); break; } } for (i = 0; i < 100 && __atomic_load_n(&running, __ATOMIC_RELAXED); i++) sleep_ms(1); } static void execute_one(void); #define WAIT_FLAGS __WALL static void loop(void) { int iter = 0; for (;; iter++) { char cwdbuf[32]; sprintf(cwdbuf, "./%d", iter); if (mkdir(cwdbuf, 0777)) exit(1); reset_loop(); int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { if (chdir(cwdbuf)) exit(1); setup_test(); execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { sleep_ms(10); if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; if (current_time_ms() - start < 5000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } uint64_t r[1] = {0xffffffffffffffff}; void execute_call(int call) { intptr_t res = 0; switch (call) { case 0: // 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 63 6f 6e 66 69 67 00} (length 0x9) // } // flags: mount_flags = 0x200880 (8 bytes) // opts: ptr[inout, array[ANYUNION]] { // array[ANYUNION] { // } // } // chdir: int8 = 0x3 (1 bytes) // size: len = 0x1518 (8 bytes) // img: ptr[in, buffer] { // buffer: (compressed buffer with length 0x1518) // } // ] // returns fd_dir NONFAILING(memcpy((void*)0x2000000000c0, "exfat\000", 6)); NONFAILING(memcpy((void*)0x200000000040, "./config\000", 9)); NONFAILING(memcpy( (void*)0x200000006800, "\x78\x9c\xec\xdc\x0b\x9c\x4e\xd5\xfa\x38\xf0\xe7\x59\x6b\xed\x31\x24" "\xbd\x49\x2e\xc3\x5a\xeb\xd9\xbc\xc9\x65\x99\x24\xc9\x25\x49\x2e\x49" "\x92\x24\x49\x6e\x09\xa1\x49\x8e\x24\x24\x86\xdc\x92\x86\x24\x24\x97" "\x21\xb9\x0c\x21\xb9\x4c\x4c\x1a\xf7\xfb\xfd\x9a\x24\x49\x93\x24\x21" "\xb9\x25\xeb\xff\x99\xe2\x38\x9d\xea\x7f\x7e\xfd\x4e\xbf\xe3\x7c\x9a" "\xe7\xfb\xf9\xec\xcf\xec\xe7\x5d\xfb\x59\x7b\xed\xf7\xd9\xef\xfb\xae" "\xbd\x67\xde\xf9\xba\xcb\xd0\x1a\x8d\x6a\x56\x6d\x40\x44\xf0\x6f\xc1" "\x9f\x7f\x24\x02\x40\x2c\x00\x0c\x04\x80\x6b\x00\x20\x00\x80\xb2\xb9" "\xcb\xe6\xce\x6c\xcf\x2e\x31\xf1\xdf\xdb\x09\xfb\x73\x3d\x94\x72\xa5" "\x47\xc0\xae\x24\xae\x7f\xd6\xc6\xf5\xcf\xda\xb8\xfe\x59\x1b\xd7\x3f" "\x6b\xe3\xfa\x67\x6d\x5c\xff\xac\x8d\xeb\x9f\xb5\x71\xfd\x19\xcb\xca" "\x36\x4f\x2f\x70\x2d\x2f\x59\x77\xe1\xfb\xff\x59\x19\x7f\xfe\xff\x85" "\x64\x94\x1a\xfb\xf9\xda\x52\xd7\x77\xfd\x03\x29\x5c\xff\xbf\x9e\x3f" "\xf2\x16\xcb\xf5\xff\xcb\x0a\xfe\x27\x1b\x71\xfd\xb3\x36\xae\x7f\xd6" "\xc6\xf5\xcf\xda\xb8\xfe\x59\x41\xb6\xdf\x6d\xe1\xfa\xff\x05\xfd\x7e" "\xb9\x7f\x85\xeb\xcf\x58\x56\xf6\xa7\xdd\x4b\x06\xb8\xe2\xf7\xb2\x79" "\xf9\xe3\xcb\x95\x3e\xff\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\x65\x0d" "\x67\xfc\x65\x0a\x00\x2e\xad\x5f\xe9\x71\x31\xc6\x18\x63\x8c\x31\xc6" "\x18\x63\xec\xcf\xe3\xb3\x5d\xe9\x11\x30\xc6\x18\x63\x8c\x31\xc6\x18" "\x63\xec\xff\x1e\x82\x00\x09\x0a\x02\x88\x81\x6c\x10\x0b\xd9\x21\x07" "\x08\x00\xb8\x1a\x72\xc1\x35\x10\x81\x6b\x21\x37\x5c\x07\x79\xe0\x7a" "\xc8\x0b\xf9\x20\x3f\x14\x80\x38\x28\x08\x85\x40\x83\x01\x0b\x04\x21" "\x14\x86\x22\x10\x85\x1b\xa0\x28\xdc\x08\xc5\xa0\x38\x94\x80\x92\xe0" "\xa0\x14\xc4\xc3\x4d\x50\x1a\x6e\x86\x32\x70\x0b\x94\x85\x5b\xa1\x1c" "\xdc\x06\xe5\xa1\x02\x54\x84\x4a\x70\x3b\x54\x86\x3b\xa0\x0a\xdc\x09" "\x55\xe1\x2e\xa8\x06\xd5\xa1\x06\xd4\x84\xbb\xa1\x16\xdc\x03\xb5\xe1" "\x5e\xa8\x03\xf7\x41\x5d\xb8\x1f\xea\xc1\x03\x50\x1f\x1e\x84\x06\xf0" "\x10\x34\x84\x87\xa1\x11\x3c\x02\x8d\xe1\x51\x68\x02\x4d\xa1\x19\x34" "\x87\x16\xff\xab\xfc\xe7\xa1\x07\xbc\x00\x3d\xa1\x17\x24\x42\x6f\xe8" "\x03\x2f\x42\x5f\xe8\x07\xfd\x61\x00\x0c\x84\x97\x60\x10\xbc\x0c\x83" "\xe1\x15\x48\x82\x21\x30\x14\x5e\x85\x61\xf0\x1a\x0c\x87\xd7\x61\x04" "\x8c\x84\x51\xf0\x06\x8c\x86\x37\x61\x0c\x8c\x85\x71\x30\x1e\x92\x61" "\x02\x4c\x84\xb7\x60\x12\xbc\x0d\x93\x61\x0a\x4c\x85\x69\x90\x02\xd3" "\x61\x06\xbc\x03\x33\x61\x16\xcc\x86\x77\x61\x0e\xbc\x07\x73\x61\x1e" "\xcc\x87\x05\x90\x0a\xef\xc3\x42\x58\x04\x69\xf0\x01\x2c\x86\x0f\x21" "\x1d\x96\xc0\x52\x58\x06\xcb\x61\x05\xac\x84\x55\xb0\x1a\xd6\xc0\x5a" "\x58\x07\xeb\x61\x03\x6c\x84\x4d\xb0\x19\xb6\xc0\x56\xd8\x06\xdb\x61" "\x07\xec\x84\x5d\xb0\x1b\x3e\x82\x3d\xf0\x31\xec\x85\x4f\x60\x1f\x7c" "\xfa\x07\xf3\x4f\xff\x53\x7e\x57\x04\x04\x14\x28\x50\xa1\xc2\x18\x8c" "\xc1\x58\x8c\xc5\x1c\x98\x03\x73\x62\x4e\xcc\x85\xb9\x62\x2f\x9d\x24" "\x79\x30\x0f\xe6\xc5\xbc\x98\x1f\xf3\x63\x1c\xc6\x61\x21\x2c\x84\x06" "\x0d\x12\x12\x16\xc6\xc2\x18\xc5\x28\x16\xc5\xa2\x58\x0c\x8b\x61\x09" "\x2c\x81\x0e\x1d\xc6\x63\x3c\x96\xc6\x9b\xb1\x0c\x96\xc1\xb2\x58\x16" "\xcb\x61\x39\x2c\x8f\x15\xb0\x02\x56\xc2\x4a\x58\x19\x2b\x63\x15\xac" "\x82\x55\xb1\x2a\x56\xc3\x6a\x58\x03\x6b\xe0\xdd\x78\x37\xf6\xc6\xda" "\x58\x1b\xeb\x60\x1d\xac\x8b\x75\x2f\xdd\x9e\xc2\x06\xd8\x00\x1b\x62" "\x43\x6c\x84\x8d\xb0\x31\x36\xc6\x26\xd8\x04\x9b\x61\x33\x6c\x81\x2d" "\xb0\x25\xb6\xc4\x56\xd8\x0a\xdb\x60\x1b\x6c\x8b\x6d\xb1\x3d\xb6\xc7" "\x04\x4c\xc0\x0e\xd8\x01\x3b\x62\x47\xec\x84\x9d\xb0\x33\x76\xc6\x2e" "\xd8\x05\xbb\x62\x37\xec\x86\xcf\x67\x03\x7c\x01\x5f\xc0\x5e\x58\x4d" "\xf4\xc6\x3e\xd8\x07\xfb\x62\x52\xb6\xfe\x38\x00\x07\xe0\x4b\x38\x08" "\x5f\xc6\x97\xf1\x15\x4c\xc2\x21\x38\x14\x5f\xc5\x57\xf1\x35\x1c\x8e" "\xa7\x70\x04\x8e\xc4\x51\x38\x0a\x2b\x8b\x37\x71\x0c\x8e\x45\x12\xe3" "\x31\x19\x93\x71\x22\x4e\xc4\x49\x38\x09\x27\xe3\x14\x9c\x82\xd3\x30" "\x05\xa7\xe3\x0c\x9c\x81\x33\x71\x16\xce\xc2\x77\x71\x0e\xbe\x87\xef" "\xe1\x3c\x9c\x87\x0b\x30\x15\x53\x71\x21\x2e\xc2\x34\x4c\xc3\xc5\x78" "\x1a\xd3\x71\x09\x2e\xc5\x65\xb8\x1c\x57\xe0\x72\x5c\x85\xab\x71\x15" "\xae\xc5\x75\xb8\x16\x37\xe0\x06\xdc\x84\x9b\x70\x0b\x6e\xc1\x6d\xb8" "\x0d\x77\xe0\x0e\xdc\x85\x0a\x00\x3f\xc2\x8f\xf1\x63\x4c\xc2\x7d\xb8" "\x0f\xf7\xe3\x7e\x3c\x80\x07\xf0\x20\x1e\xc4\x0c\xcc\xc0\x43\x78\x08" "\x0f\xe3\x61\x3c\x82\x47\xf0\x28\x1e\xc5\x63\x78\x1c\x4f\xe0\x71\x3c" "\x89\x27\xf1\x14\x9e\xc6\x33\x78\x06\xcf\xe1\x39\x3c\x8f\xcf\xc6\x7d" "\xd9\x70\x57\xf1\x35\x49\x20\x32\x29\xa1\x44\x8c\x88\x11\xb1\x22\x56" "\xe4\x10\x39\x44\x4e\x91\x53\xe4\x12\xb9\x44\x44\x44\x44\x6e\x91\x5b" "\xe4\x11\x79\x44\x5e\x91\x57\xe4\x17\xf9\x45\x9c\x88\x13\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\xf1\x22\x5e\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\xb1\x3f\x3e\x24\x32\x2b\xd3\x48\x0c\xc1\xc6\x62" "\x28\x36\x11\x4d\x85\xbc\x78\x72\xb6\x14\xc3\xb1\x95\x68\x2d\xda\x88" "\x27\xc4\x48\x1c\x81\xed\x45\x4b\x97\x20\x9e\x12\x1d\xc4\x18\xec\x28" "\xfe\x26\xc6\xe2\x33\xa2\xb3\x18\x8f\x5d\xc4\x73\xa2\xab\xe8\x26\xba" "\x8b\xe7\x45\x0f\xd1\xca\xf5\x14\xbd\xc4\x64\xec\x2d\xfa\x88\x69\xd8" "\x57\xf4\x13\xfd\xc5\x00\x31\x13\xab\x8b\x77\x71\x4e\xf6\x1a\xe2\x15" "\x91\x24\x86\x88\xa1\xe2\x55\xb1\x00\x5f\x13\xc3\xc5\xeb\x62\x84\x18" "\x29\x46\x89\x37\xc4\x68\xf1\xa6\x18\x23\xc6\x8a\x71\x62\xbc\x48\x16" "\x13\xc4\x44\xf1\x96\x98\x24\xde\x16\x93\xc5\x14\x31\x55\x4c\x13\x29" "\x62\xba\x98\x21\xde\x11\x33\xc5\x2c\x31\x5b\xbc\x2b\xe6\x88\xf7\xc4" "\x5c\x31\x4f\xcc\x17\x0b\x44\xaa\x78\x5f\x2c\x14\x8b\x44\x9a\xf8\x40" "\x2c\x16\x1f\x8a\x74\xb1\x44\x2c\x15\xcb\xc4\x72\xb1\x42\xac\x14\xab" "\xc4\x6a\xb1\x46\xac\x15\xeb\xc4\x7a\xb1\x41\x6c\x14\x9b\xc4\x66\xb1" "\x45\x6c\x15\xdb\xc4\x76\xb1\x43\xec\x14\xbb\xc4\x6e\xf1\x91\xd8\x23" "\x3e\x16\x7b\xc5\x27\x62\x9f\xf8\x54\xec\x17\x9f\x89\x03\xe2\x73\x71" "\x50\x7c\x21\x32\xc4\x97\xe2\x90\xf8\x4a\x1c\x16\x5f\x8b\x23\xe2\x1b" "\x71\x54\x7c\x2b\x8e\x89\xe3\xe2\x84\xf8\x4e\x9c\x14\xdf\x8b\x53\xe2" "\xb4\x38\x23\xce\x8a\x73\xe2\x07\x71\x5e\xfc\x28\x2e\x08\x2f\x40\xa2" "\x14\x52\x4a\x25\x03\x19\x23\xb3\xc9\x58\x99\x5d\xe6\x90\x57\xc9\x9c" "\x32\xb8\xf8\xec\x5e\x2b\x73\xcb\xeb\x64\x1e\x79\xbd\xcc\x2b\xf3\xc9" "\xfc\xb2\x80\x8c\x93\x05\x65\x21\xa9\xa5\x91\x56\x92\x0c\x65\x61\x59" "\x44\x46\xe5\x0d\xb2\xa8\xbc\x51\x16\x93\xc5\x65\x09\x59\x52\x3a\x59" "\x4a\xc6\xcb\x9b\x64\x69\x79\xb3\x2c\x23\x6f\x91\x65\xe5\xad\xb2\x9c" "\xbc\x4d\x96\x97\x15\x64\x45\x59\x49\xde\x2e\x2b\xcb\x3b\x24\x44\x7e" "\xde\x47\x35\x59\x5d\xd6\x90\x35\xe5\xdd\xb2\x96\xbc\x47\xd6\x96\xf7" "\xca\x3a\xf2\x3e\x59\x57\xde\x2f\xeb\xc9\x07\x64\x7d\xf9\xa0\x6c\x20" "\x1f\x92\x0d\xe5\xc3\xb2\x91\x7c\x44\x36\x96\x8f\xca\x26\xb2\xa9\x6c" "\x26\x9b\xcb\x16\xf2\x31\xd9\x52\x3e\x2e\x5b\xc9\xd6\xb2\x8d\x7c\x42" "\xb6\x95\xed\x64\x7b\xf9\xa4\x4c\x90\x4f\xc9\x0e\xd2\x5f\x3c\x45\x9e" "\x91\x9d\xe5\xb3\xb2\x8b\x7c\x4e\x76\x95\xdd\x64\x77\xf9\xa3\xbc\x20" "\xbd\xec\x29\x7b\x49\x80\xde\xb2\x8f\x7c\x51\xf6\x95\xfd\x64\x7f\x39" "\x40\x0e\x94\x2f\xc9\x41\xf2\x65\x39\x58\xbe\x22\x93\xe4\x10\x39\x54" "\xbe\x2a\x87\xc9\xd7\xe4\x70\xf9\xba\x1c\x21\x47\xca\x51\xf2\x0d\x39" "\x5a\xbe\x29\xc7\xc8\xb1\x72\x9c\x1c\x2f\x93\xe5\x04\x39\x51\xbe\x25" "\x27\xc9\xb7\xe5\x64\x39\x45\x4e\x95\xd3\x64\x8a\x9c\x2e\xfb\x5f\xec" "\x69\xb6\x94\xff\x32\xff\xad\xdf\xc8\x1f\xfc\xd3\xde\x37\xc9\xcd\x72" "\x8b\xdc\x2a\xb7\xc9\xed\x72\x87\xdc\x29\x77\xc9\xdd\x72\xb7\xdc\x23" "\xf7\xc8\xbd\x72\xaf\xdc\x27\xf7\xc9\xfd\x72\xbf\x3c\x20\x0f\xc8\x83" "\xf2\xa0\xcc\x90\x19\xf2\x90\x3c\x24\x0f\xcb\xc3\xf2\x88\x3c\x22\x8f" "\xca\xa3\xf2\x98\x3c\x2e\xcf\xca\xef\xe4\x49\xf9\xbd\x3c\x25\x4f\xcb" "\xd3\xf2\xac\x3c\x27\xcf\xc9\xf3\x17\x9f\x03\x50\xa8\x84\x92\x4a\xa9" "\x40\xc5\xa8\x6c\x2a\x56\x65\x57\x39\xd4\x55\x2a\xa7\xba\x5a\xe5\x52" "\xd7\xa8\x88\xba\x56\xe5\x56\xd7\xa9\x3c\xea\x7a\x95\x57\xe5\x53\xf9" "\x55\x01\x15\xa7\x0a\xaa\x42\x4a\x2b\xa3\xac\x22\x15\xaa\xc2\xaa\x88" "\x8a\xaa\x1b\xf0\xe2\x09\xa3\x4a\xa8\x92\xca\xa9\x52\x2a\x5e\xdd\xf4" "\x47\xf2\x55\x51\x75\xa3\x2a\xa6\x8a\xff\x22\xff\xd2\xf8\x12\x7f\x67" "\x7c\x2d\x54\x0b\xd5\x52\xb5\x54\xad\x54\x2b\xd5\x46\xb5\x51\x6d\x55" "\x5b\xd5\x5e\xb5\x57\x09\x2a\x41\x75\x50\x1d\x54\x47\xd5\x51\x75\x52" "\x9d\x54\x67\xd5\x59\x75\x51\x5d\x54\x57\xd5\x55\x75\x57\xdd\x55\x0f" "\xd5\x43\xf5\x54\x3d\x55\xa2\x4a\x54\x7d\xd4\x8b\xaa\xaf\xea\xa7\xfa" "\xab\x01\x6a\xa0\x7a\x49\x0d\x52\x83\xd4\x60\x35\x58\x25\xa9\x24\x35" "\x54\x0d\x55\xc3\xd4\x30\x35\x5c\x0d\x57\x23\xd4\x08\x35\x4a\x8d\x52" "\xa3\xd5\x68\x35\x46\x8d\x51\xe3\xd4\x38\x95\xac\x92\xd5\x44\x35\x51" "\x4d\x52\x93\xd4\x64\x35\x59\x4d\x55\x53\x55\x8a\x4a\x51\x33\xd4\x0c" "\x35\x53\xcd\x54\xb3\xd5\x6c\x35\x47\xcd\x51\x73\xd5\x5c\x35\x5f\xcd" "\x57\xa9\x2a\x55\x2d\x54\x0b\x55\x9a\x4a\x53\x8b\xd5\x62\x95\xae\x96" "\xa8\x25\x6a\x99\x5a\xa6\x56\xa8\x15\x6a\x95\x5a\xa5\xd6\xa8\x35\x6a" "\x9d\x5a\xa7\x36\xa8\x0d\x2a\x5d\x6d\x56\x9b\xd5\x56\xb5\x55\x6d\x57" "\xdb\xd5\x4e\xb5\x53\xed\x56\xbb\xd5\x1e\xb5\x47\xed\x55\x7b\xd5\x3e" "\xb5\x4f\xed\x57\xfb\xd5\x01\x75\x40\x1d\x54\x07\x55\x86\xca\x50\x87" "\xd4\x21\x75\x58\x1d\x56\x47\xd4\x11\x75\x54\x1d\x55\xc7\xd4\x31\x75" "\x42\x9d\x50\x27\xd5\x49\x75\x4a\x9d\x52\x67\xd4\x19\x75\x4e\x9d\x53" "\xe7\xd5\x79\x75\x41\x5d\xc8\x9c\xf6\x05\x22\x10\x81\x0a\x54\x10\x13" "\xc4\x04\xb1\x41\x6c\x90\x23\xc8\x11\xe4\x0c\x72\x06\xb9\x82\x5c\x41" "\x24\x88\x04\xb9\x83\xdc\x41\x9e\xe0\xfa\x20\x6f\x90\x2f\xc8\x1f\x14" "\x08\xe2\x82\x82\x41\xa1\x40\x07\x26\xb0\x81\xb8\x58\xf4\x68\x70\x43" "\x50\x34\xb8\x31\x28\x16\x14\x0f\x4a\x04\x25\x03\x17\x94\x0a\xe2\x83" "\x9b\x82\xd2\xc1\xcd\x41\x99\xe0\x96\xa0\x6c\x70\x6b\x50\x2e\xb8\x2d" "\x28\x1f\x54\x08\x2a\x06\x95\x82\xdb\x83\xca\xc1\x1d\x41\x95\xe0\xce" "\xa0\x6a\x70\x57\x50\x2d\xa8\x1e\xd4\x08\x6a\x06\x77\x07\xb5\x82\x7b" "\x82\xda\xc1\xbd\x41\x9d\xe0\xbe\xa0\x6e\x70\x7f\x50\x2f\x78\x20\xa8" "\x1f\x3c\x18\x34\x08\x1e\x0a\x1a\x06\x0f\x07\x8d\x82\x47\x82\xc6\xc1" "\xa3\x41\x93\xa0\x69\xd0\x2c\x68\x1e\xb4\xf8\x53\xfb\xf7\xfe\x54\xbe" "\xc7\x5d\x4f\xdd\x4b\x27\xea\xde\xba\x8f\x7e\x51\xf7\xd5\xfd\x74\x7f" "\x3d\x40\x0f\xd4\x2f\xe9\x41\xfa\x65\x3d\x58\xbf\xa2\x93\xf4\x10\x3d" "\x54\xbf\xaa\x87\xe9\xd7\xf4\x70\xfd\xba\x1e\xa1\x47\xea\x51\xfa\x0d" "\x3d\x5a\xbf\xa9\xc7\xe8\xb1\x7a\x9c\x1e\xaf\x93\xf5\x04\x3d\x51\xbf" "\xa5\x27\xe9\xb7\xf5\x64\x3d\x45\x4f\xd5\xd3\x74\x8a\x9e\xae\x67\xe8" "\x77\xf4\x4c\x3d\x4b\xcf\xd6\xef\xea\x39\xfa\x3d\x3d\x57\xcf\xd3\xf3" "\xf5\x02\x9d\xaa\xdf\xd7\x0b\xf5\x22\x9d\xa6\x3f\xd0\x8b\xf5\x87\x3a" "\x5d\x2f\xd1\x4b\xf5\x32\xbd\x5c\xaf\xd0\x2b\xf5\x2a\xbd\x5a\xaf\xd1" "\x6b\xf5\x3a\xbd\x5e\x6f\xd0\x1b\xf5\x26\xbd\x59\x6f\xd1\x5b\xf5\x36" "\xbd\x5d\xef\xd0\x3b\xf5\x2e\xbd\x5b\x7f\xa4\xf7\xe8\x8f\xf5\x5e\xfd" "\x89\xde\xa7\x3f\xd5\xfb\xf5\x67\xfa\x80\xfe\x5c\x1f\xd4\x5f\xe8\x0c" "\xfd\xa5\x3e\xa4\xbf\xd2\x87\xf5\xd7\xfa\x88\xfe\x46\x1f\xd5\xdf\xea" "\x63\xfa\xb8\x3e\xa1\xbf\xd3\x27\xf5\xf7\xfa\x94\x3e\xad\xcf\xe8\xb3" "\xfa\x9c\xfe\x41\x9f\xd7\x3f\xea\x0b\xda\x67\x4e\xee\x33\x3f\xde\x8d" "\x32\xca\xc4\x98\x18\x13\x6b\x62\x4d\x0e\x93\xc3\xe4\x34\x39\x4d\x2e" "\x93\xcb\x44\x4c\xc4\xe4\x36\xb9\xdb\x5d\x2c\xbf\xc9\x6f\xf2\x9b\x38" "\x13\x67\x0a\x99\x42\x26\x13\x19\x32\x85\x4d\x61\x13\x35\x51\x53\xd4" "\x14\x35\xc5\x4c\x31\x53\xc2\x94\x30\xce\x38\x13\x6f\xe2\x4d\x69\x53" "\xda\x94\x31\x65\x4c\x59\x53\xd6\x94\x33\xe5\x4c\x79\x53\xde\x54\x34" "\x15\xcd\xed\xe6\x76\x73\x87\xb9\xc3\xdc\x69\xee\x34\x77\x99\xbb\x4c" "\x75\x53\xdd\xd4\x34\x35\x4d\x2d\x53\xcb\xd4\x36\xb5\x4d\x1d\x53\xc7" "\xd4\x35\x75\x4d\x3d\x53\xcf\xd4\x37\xf5\x4d\x03\xd3\xc0\x34\x34\x0d" "\x4d\x23\xd3\xc8\x34\x36\x8d\x4d\x13\xd3\xc4\x34\x33\xcd\x4c\x0b\xd3" "\xc2\xb4\x34\x2d\x4d\x2b\xd3\xca\xb4\x31\x6d\x4c\x5b\xd3\xd6\xb4\x37" "\xed\x4d\x82\x49\x30\x1d\x4c\x07\xd3\xd1\x74\x34\x9d\x4c\x27\xd3\xd9" "\x74\x36\x5d\x4c\x17\xd3\xd5\x74\x35\xdd\x4d\x77\xd3\xc3\xf4\x30\x3d" "\x4d\x4f\x93\x68\x12\x4d\x1f\xd3\xc7\xf4\x35\x7d\x4d\x7f\xd3\xdf\x0c" "\x34\x03\xcd\x20\x33\xc8\x0c\x36\x83\x4d\x92\x49\x32\x43\xcd\x50\x33" "\xcc\x0c\x33\xc3\xcd\x70\x33\xc2\x8c\x34\xa3\x32\x27\xaa\xe6\x4d\x33" "\xc6\x8c\x35\xe3\xcc\x78\x93\x6c\x92\xcd\x44\x33\xd1\x4c\x32\x93\xcc" "\x64\x33\xd9\x4c\x35\x53\x4d\x8a\x49\x31\x33\xcc\x0c\x33\xd3\xcc\x34" "\xb3\xcd\x6c\x33\xc7\xcc\x31\x73\xcd\x5c\x33\xdf\xcc\x37\xa9\x26\xd5" "\x2c\x34\x0b\x4d\x9a\x49\x33\x8b\xcd\x62\x93\x6e\xd2\xcd\x52\xb3\xd4" "\x2c\x37\xcb\xcd\x4a\xb3\xd2\xac\x36\xab\xcd\x5a\xb3\xd6\xac\x87\xf5" "\x66\xa3\xd9\x68\x36\x9b\xcd\x66\xab\xd9\x6a\xb6\x9b\xed\x66\xa7\xd9" "\x69\x76\x9b\xdd\x66\x8f\xd9\x63\xf6\x9a\xbd\x66\x9f\xd9\x67\xf6\x9b" "\xfd\xe6\x80\x39\x60\x0e\x9a\x83\x26\xc3\x64\x98\x43\xe6\x90\x39\x6c" "\x0e\x9b\x23\xe6\x88\x39\x6a\x8e\x9a\x63\xe6\x98\x39\x61\x4e\x98\x93" "\xe6\xa4\x39\x65\x4e\x99\x33\xe6\x8c\x39\x67\xf2\x5d\xfc\xbc\xf4\x26" "\xd6\x66\xb7\x39\xec\x55\x36\xa7\xbd\xda\xe6\xb2\xd7\xd8\x7f\x8e\xf3" "\xdb\x02\x36\xce\x16\xb4\x85\xac\xb6\x79\x6d\xbe\x5f\xc4\xc6\x5a\x5b" "\xcc\x16\xb7\x25\x6c\x49\xeb\x6c\x29\x1b\x6f\x6f\xfa\x55\x5c\xde\x56" "\xb0\x15\x6d\x25\x7b\xbb\xad\x6c\xef\xb0\x55\x7e\x15\xd7\xb2\xf7\xd8" "\xda\xf6\x5e\x5b\xc7\xde\x67\x6b\xda\xbb\x7f\x11\xd7\xb5\xf7\xdb\x7a" "\xf6\x11\x5b\x1f\x11\xc0\x36\xb5\x0d\x6d\x73\xdb\xc8\x3e\x62\x1b\xdb" "\x47\x6d\x13\xdb\xd4\x36\xb3\xcd\x6d\x5b\xdb\xce\xb6\xb7\x4f\xda\x04" "\xfb\x94\xed\x60\x9f\xfe\x55\xbc\xd0\x2e\xb2\xab\xed\x1a\xbb\xd6\xae" "\xb3\x7b\xec\xc7\xf6\x8c\x3d\x6b\x0f\xdb\xaf\xed\x39\xfb\x83\xed\x69" "\x7b\xd9\x81\xf6\x25\x3b\xc8\xbe\x6c\x07\xdb\x57\x6c\x92\x1d\xf2\xab" "\x78\x94\x7d\xc3\x8e\xb6\x6f\xda\x31\x76\xac\x1d\x67\xc7\xff\x2a\x9e" "\x6a\xa7\xd9\x14\x3b\xdd\xce\xb0\xef\xd8\x99\x76\xd6\xaf\xe2\x54\xfb" "\xbe\x9d\x63\xd3\xec\x5c\x3b\xcf\xce\xb7\x0b\x7e\x8a\x33\xc7\x94\x66" "\x3f\xb0\x8b\xed\x87\x36\xdd\x2e\xb1\x4b\xed\x32\xbb\xdc\xae\xb0\x2b" "\xed\xaa\xbf\x8f\x75\x99\xdd\x60\x37\xda\x4d\x76\xb7\xfd\xc8\x6e\xb5" "\xdb\xec\x76\xbb\xc3\xee\xb4\xbb\x7e\x8a\x33\x8f\x63\xaf\xfd\xc4\xee" "\xb3\x9f\xda\x43\xf6\x2b\x7b\xc0\x7e\x6e\x0f\xda\x23\x36\xc3\x7e\xf9" "\x53\x9c\x79\x7c\x47\xec\x37\xf6\xa8\xfd\xd6\x1e\xb3\xc7\xed\x09\xfb" "\x9d\x3d\x69\xbf\xb7\xa7\xec\xe9\x9f\x8e\x3f\xf3\xd8\xbf\xb3\x3f\xda" "\x0b\xd6\x5b\x20\x24\x20\x49\x8a\x02\x8a\xa1\x6c\x14\x4b\xd9\x29\x07" "\x5d\x45\x39\xe9\x6a\xca\x45\xd7\x50\x84\xae\xa5\xdc\x74\x1d\xe5\xa1" "\xeb\x29\x2f\xe5\xa3\xfc\x54\x80\xe2\xa8\x20\x15\x22\x4d\x86\x2c\x11" "\x85\x54\x98\x8a\x50\x94\x6e\xa0\x4b\xf3\xf4\x12\x54\x92\x1c\x95\xa2" "\x78\xba\x89\x4a\xd3\xcd\x54\x86\x6e\xa1\xb2\x74\x2b\x95\xa3\xdb\xa8" "\x3c\x55\xa0\x8a\x54\x89\x6e\xa7\xca\x74\x07\x55\xa1\x3b\xa9\x2a\xdd" "\x45\xd5\xa8\x3a\xd5\xa0\x9a\x74\x37\xd5\xa2\x7b\xa8\x36\xdd\x4b\x75" "\xe8\x3e\xaa\x4b\xf7\x53\x3d\x7a\x80\xea\xd3\x83\xd4\x80\x1e\xa2\x86" "\xf4\x30\x35\xa2\x47\xa8\x31\x3d\x4a\x4d\xa8\x29\x35\xa3\xe6\xd4\x82" "\x1e\xa3\x96\xf4\x38\xb5\xa2\xd6\xd4\x86\x9e\xa0\xb6\xd4\x8e\xda\xd3" "\x93\x94\x40\x4f\x51\x07\x7a\x9a\x3a\xd2\xdf\xa8\x13\x3d\x43\x9d\xe9" "\x59\xea\x42\xcf\x51\x57\xea\x46\xdd\xe9\x79\xea\x41\x2f\x50\x4f\xea" "\x45\x89\xd4\x9b\xfa\xd0\x8b\xd4\x97\xfa\x51\x7f\x1a\x40\x03\xe9\x25" "\x1a\x44\x2f\xd3\x60\x7a\x85\x92\x68\x08\x0d\xa5\x57\x69\x18\xbd\x46" "\xc3\xe9\x75\x1a\x41\x23\x69\x14\xbd\x41\xa3\xe9\x4d\x1a\x43\x63\x69" "\x1c\x8d\xa7\x64\x9a\x40\x13\xe9\x2d\x9a\x44\x6f\xd3\x64\x9a\x42\x53" "\x69\x1a\xa5\xd0\x74\x9a\x41\xef\xd0\x4c\x9a\x45\xb3\xe9\x5d\x9a\x43" "\xef\xd1\x5c\x9a\x47\xf3\x69\x01\xa5\xd2\xfb\xb4\x90\x16\x51\x1a\x7d" "\x40\x8b\xe9\x43\x4a\xa7\x25\xb4\x94\x96\xd1\x72\x5a\x41\x2b\x69\x15" "\xad\xa6\x35\xb4\x96\xd6\xd1\x7a\xda\x40\x1b\x69\x13\x6d\xa6\x2d\xb4" "\x95\xb6\xd1\x76\xda\x41\x3b\x69\x17\xed\xa6\x8f\x68\x0f\x7d\x4c\x7b" "\xe9\x13\xda\x47\x9f\xd2\x7e\xfa\x8c\x0e\xd0\xe7\x74\x90\xbe\xa0\x0c" "\xfa\x92\x0e\xd1\x57\x74\x98\xbe\xa6\x23\xf4\x8d\xef\x45\xdf\xd2\x31" "\x3a\x4e\x27\xe8\x3b\x3a\x49\xdf\xd3\x29\x3a\x4d\x67\xe8\x2c\x9d\xa3" "\x1f\xe8\x3c\xfd\x48\x17\xc8\x13\x84\x18\x8a\x50\x86\x2a\x0c\xc2\x98" "\x30\x5b\x18\x1b\x66\x0f\x73\x84\x57\x85\x39\xc3\xab\xc3\x5c\xe1\x35" "\x61\x24\xbc\x36\xcc\x1d\x5e\x17\xe6\x09\xaf\x0f\xf3\x86\xf9\xc2\xfc" "\x61\x81\x30\x2e\x2c\x18\x16\x0a\x75\x68\x42\x1b\x52\x18\x86\x85\xc3" "\x22\x61\x34\xbc\x21\x2c\x1a\xde\x18\x16\x0b\x8b\x87\x25\xc2\x92\xa1" "\x0b\x4b\x85\xf1\xe1\x4d\x61\xe9\xf0\xe6\xb0\x4c\x78\x4b\x58\x36\xbc" "\x35\x2c\x17\xde\x16\x96\x0f\x2b\x84\x8f\xdc\x57\x29\xbc\x3d\xac\x1c" "\xde\x11\x56\x09\xef\x0c\xab\x86\x77\x85\xd5\xc2\xea\x61\x8d\xb0\x66" "\x78\x77\x58\x2b\xbc\x27\xac\x1d\xde\x1b\xd6\x09\xef\x0b\xcb\x84\xf7" "\x87\xf5\xc2\x07\xc2\xfa\xe1\x83\x61\x83\xf0\xa1\xb0\x61\xf8\x70\xd8" "\x28\x7c\x24\x6c\x1c\x3e\x1a\x36\x09\x9b\x86\xcd\xc2\xe6\x61\x8b\xf0" "\xb1\xb0\x65\xf8\x78\xd8\x2a\x6c\x1d\xb6\x09\x9f\x08\xdb\x86\xed\xc2" "\xf6\xe1\x93\x61\x42\xf8\x54\xd8\x21\x7c\xfa\xa7\xf6\xfb\x17\xfd\x7e" "\x7b\x62\xd8\x3b\xec\x13\xbe\x18\xbe\x18\x7a\x7f\xaf\x9c\x1f\x5d\x10" "\x4d\x8d\xbe\x1f\x5d\x18\x5d\x14\x4d\x8b\x7e\x10\x5d\x1c\xfd\x30\x9a" "\x1e\x5d\x12\x5d\x1a\x5d\x16\x5d\x1e\x5d\x11\x5d\x19\x5d\x15\x5d\x1d" "\x5d\x13\x5d\x1b\x5d\x17\x5d\x1f\xdd\x10\xdd\x18\xdd\x14\xf5\xbe\x66" "\x36\x70\xe8\x84\x93\x4e\xb9\xc0\xc5\xb8\x6c\x2e\xd6\x65\x77\x39\xdc" "\x55\x2e\xa7\xbb\xda\xe5\x72\xd7\xb8\x88\xbb\xd6\xe5\x76\xd7\xb9\x3c" "\xee\x7a\x97\xd7\xe5\x73\xf9\x5d\x01\x17\xe7\x0a\xba\x42\x4e\x3b\xe3" "\xac\x23\x17\xba\xc2\xae\x88\x8b\xba\x1b\x5c\x51\x77\xa3\x2b\xe6\x8a" "\xbb\x12\xae\xa4\x73\xae\x94\x8b\x77\xcd\x5d\x0b\xd7\xc2\xb5\x74\x8f" "\xbb\x56\xae\xb5\x6b\xe3\x9e\x70\x4f\xb8\x76\xae\x9d\x7b\xd2\x3d\xe9" "\x9e\x72\x1d\xdc\xd3\xae\xa3\xfb\x9b\xeb\xe4\x9e\x71\x9d\xdd\xb3\xee" "\x59\xf7\x9c\xeb\xea\xba\xb9\xee\xee\x79\xd7\xc3\x4d\xc8\xf5\xf3\x6b" "\x32\xd1\xf5\x71\x7d\x5c\x5f\xd7\xd7\xf5\x77\xfd\xdd\x40\x37\xd0\x0d" "\x72\x83\xdc\x60\x37\xd8\x25\xb9\x24\x37\xd4\x0d\x75\xc3\xdc\x30\x37" "\xdc\x0d\x77\x23\xdc\x08\x37\xca\x8d\x72\xa3\xdd\x68\x37\xc6\x8d\x71" "\xe3\xdc\x38\x97\xec\x92\xdd\x44\x37\xd1\x4d\x72\x93\xdc\x64\x37\xd9" "\x4d\x75\x53\x5d\x8a\x4b\x71\x33\xdc\x0c\x37\xd3\xcd\x74\x95\x67\xfd" "\xbc\x97\xb9\x6e\xae\x9b\xef\xe6\xbb\x54\x97\xea\x16\xba\xcc\x39\x63" "\x9a\x5b\xec\x16\xbb\x74\x97\xee\x96\xba\xa5\x6e\xb9\x5b\xee\x56\xba" "\x95\x6e\xb5\x5b\xed\xd6\xba\xb5\x6e\xbd\x5b\xef\x36\xba\x8d\x6e\xb3" "\xdb\xec\xb6\xba\xad\x6e\xbb\xdb\xee\x76\xba\x9d\x6e\xb7\xdb\xed\xf6" "\xf8\x6b\x7e\xee\xd4\xed\x73\xfb\xdd\x7e\x77\xc0\x1d\x70\x07\xdd\x17" "\x2e\xc3\x7d\xe9\x0e\xb9\xaf\xdc\x61\xf7\xb5\x3b\xe2\xbe\x71\x47\xdd" "\xb7\xee\x98\x3b\xee\x4e\xb8\xef\xdc\x49\xf7\xbd\x3b\xe5\x4e\xbb\x33" "\xee\xac\x3b\xe7\x7e\x70\xe7\xdd\x8f\xee\x82\xf3\x2e\x39\x32\x21\x32" "\x31\xf2\x56\x64\x52\xe4\xed\xc8\xe4\xc8\x94\xc8\xd4\xc8\xb4\x48\x4a" "\x64\x7a\x64\x46\xe4\x9d\xc8\xcc\xc8\xac\xc8\xec\xc8\xbb\x91\x39\x91" "\xf7\x22\x73\x23\xf3\x22\xf3\x23\x0b\x22\xa9\x91\xf7\x23\x0b\x23\x8b" "\x22\x69\x91\x0f\x22\x8b\x23\x1f\x46\xd2\x23\x4b\x22\x4b\x23\xcb\x22" "\xcb\x23\x2b\x22\xde\x17\xdc\x1a\xfa\xc2\xbe\x88\x8f\xfa\x1b\x7c\x51" "\x7f\xa3\x2f\xe6\x8b\xfb\x12\xbe\xa4\x77\xbe\x94\x8f\xf7\x37\xf9\xd2" "\xfe\x66\x5f\xc6\xdf\xe2\xcb\xfa\x5b\x7d\x39\x7f\x9b\x2f\xef\x2b\xf8" "\x8a\xfe\x51\xdf\xc4\x37\xf5\xcd\x7c\x73\xdf\xc2\x3f\xe6\x5b\xfa\xc7" "\x7d\x2b\xdf\xda\xb7\xf1\x4f\xf8\xb6\xbe\x9d\x6f\xef\x9f\xf4\x09\xfe" "\x29\xdf\xc1\x3f\xed\x3b\xfa\xbf\xf9\x4e\xfe\x19\xdf\xd9\x3f\xeb\xbb" "\xf8\xe7\x7c\x57\xdf\xcd\x77\xf7\xcf\xfb\x1e\xfe\x05\xdf\xd3\xf7\xf2" "\x89\xbe\xb7\xef\xe3\x5f\xf4\x7d\x7d\x3f\xdf\xdf\x0f\xf0\x03\xfd\x4b" "\x7e\x90\x7f\xd9\x0f\xf6\xaf\xf8\x24\x3f\xc4\x0f\xf5\xaf\xfa\x61\xfe" "\x35\x3f\xdc\xbf\xee\x47\xf8\x91\x7e\x54\xcc\x1b\x7e\xf4\xa5\x4b\x64" "\x18\xef\x93\xfd\x04\x3f\xd1\xbf\xe5\x27\xf9\xb7\xfd\x64\x3f\xc5\x4f" "\xf5\xd3\x7c\x8a\x9f\xee\x67\xf8\x77\xfc\x4c\x3f\xcb\xcf\xf6\xef\xfa" "\x39\xfe\x3d\x3f\xd7\xcf\xf3\xf3\xfd\x02\x9f\xea\xdf\xf7\x0b\xfd\x22" "\x9f\xe6\x3f\xf0\x8b\xfd\x87\x3e\xdd\x2f\xb9\x74\x53\xd9\xaf\xf4\xab" "\xfc\x6a\xbf\xc6\xaf\xf5\xeb\xfc\x7a\xbf\xc1\x6f\xf4\x9b\xfc\x66\xbf" "\xc5\x6f\xf5\xdb\xfc\x76\xbf\xc3\xef\xf4\xbb\xfc\x6e\xff\x91\xdf\xe3" "\x3f\xf6\x7b\xfd\x27\x7e\x9f\xff\xd4\xef\xf7\x9f\xf9\x03\xfe\x73\x7f" "\xd0\x7f\xe1\x33\xfc\x97\xfe\x90\xff\xca\x1f\xf6\x5f\xfb\x23\xfe\x1b" "\x7f\xd4\x7f\xeb\x8f\xf9\xe3\xfe\x84\xff\xce\x9f\xf4\xdf\xfb\x53\xfe" "\xb4\x3f\xe3\xcf\xfa\x73\xfe\x07\x7f\xde\xff\xe8\x2f\xf0\x77\xd6\x18" "\x63\x8c\x31\xc6\xfe\x47\x26\x5c\x5e\x15\xbf\xd5\xde\xfb\x37\x1e\x13" "\xff\xb0\x71\x1f\x00\xb8\x7a\x5b\x81\x8c\x7f\x6c\xcf\x9c\x51\xae\xcf" "\xfb\xf3\x7a\x3f\x11\xd7\x36\x02\x00\x4f\xf5\xea\xf2\xd0\xa5\xa5\x5a" "\xb5\xc4\xc4\xc4\x8b\xdb\xa6\x4b\x08\x8a\xcc\x03\xb8\xf4\x9b\xa0\x4c" "\x31\x70\x39\x5e\x02\x6d\xa0\x1d\x24\x40\x6b\x28\xfd\x9b\xe3\xef\x27" "\xba\x9d\xa3\x7f\xd1\x7f\xf4\x56\x80\x1c\xff\x90\x13\x0b\x97\xe3\xcb" "\xfd\x7f\xf6\x3b\xfd\x3f\xf6\xc4\xa8\x85\xe5\xc2\x33\xb9\xff\x3f\xfd" "\xcf\x03\x28\x56\xe4\x72\x4e\x76\xf8\x7b\xfc\xf7\x6f\x57\xb4\x86\x32" "\xbf\xd3\x7f\xbe\x96\xff\x62\xfc\xd9\x3f\x4f\x06\x68\xf5\x0f\x39\x39" "\xe1\x72\x7c\x79\xfc\xf1\xf0\x38\x3c\x0d\x09\xbf\xd8\x92\x31\xc6\x18" "\x63\x8c\x31\xc6\x18\xfb\x59\x3f\x51\xb1\xd3\xa5\xeb\xcf\x4b\x7f\xf1" "\xf9\x5b\xd7\xe7\x71\xea\x72\x4e\xe6\x45\xed\xa5\xf8\x5f\x5d\x9f\x33" "\xc6\x18\x63\x8c\x31\xc6\x18\x63\xec\xca\x7b\xa6\x5b\xf7\x27\x1f\x4b" "\x48\x68\xdd\xe9\x8f\xaf\x54\xf9\x5f\x65\xf1\xca\x7f\xeb\x8a\xf7\x00" "\x97\x1e\x51\x00\xf0\x6f\x76\x08\xf0\x1f\x3f\x8a\x2d\xff\x91\x7d\x25" "\x5d\x7c\xe9\xfc\x73\xd3\xf2\xb3\x3e\x80\xff\x8e\x52\xfe\x19\x2b\x57" "\xf8\x8d\x89\x31\xc6\x18\x63\x8c\x31\xf6\xa7\xbb\x3c\xe9\xff\xe5\xe3" "\xea\x4a\x0d\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\x82\xfe\x13\xff\x4e\xec\x4a\x1f" "\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\xbf\x00\x00\x00\xff\xff\x03\xb7\x0c\x2d", 5400)); NONFAILING( syz_mount_image(/*fs=*/0x2000000000c0, /*dir=*/0x200000000040, /*flags=MS_RELATIME|MS_NODIRATIME|MS_DIRSYNC*/ 0x200880, /*opts=*/0x200000000000, /*chdir=*/3, /*size=*/0x1518, /*img=*/0x200000006800)); break; case 1: // openat arguments: [ // fd: fd_dir (resource) // file: ptr[in, buffer] { // buffer: {2e 00} (length 0x2) // } // flags: open_flags = 0x100 (4 bytes) // mode: open_mode = 0x52 (2 bytes) // ] // returns fd NONFAILING(memcpy((void*)0x200000000000, ".\000", 2)); res = syscall(__NR_openat, /*fd=*/0xffffff9c, /*file=*/0x200000000000ul, /*flags=O_NOCTTY*/ 0x100, /*mode=S_IWOTH|S_IWGRP|S_IXUSR*/ 0x52); if (res != -1) r[0] = res; break; case 2: // ioctl$FS_IOC_REMOVE_ENCRYPTION_KEY arguments: [ // fd: fd_dir (resource) // cmd: const = 0x8004587d (4 bytes) // arg: ptr[inout, fscrypt_remove_key_arg] { // fscrypt_remove_key_arg { // key_spec: union fscrypt_key_specifier { // desc: fscrypt_key_specifier__by_descriptor { // type: const = 0x1 (4 bytes) // reserved: const = 0x0 (4 bytes) // descriptor: union fscrypt_key_descriptor { // desc4: buffer: {85 ba a1 74 f0 cb 11 42} (length 0x8) // } // reserved2: buffer: {00 00 00 00 00 00 00 00 00 00 00 00 00 00 // 00 00 00 00 00 00 00 00 00 00} (length 0x18) // } // } // removal_status_flags: int32 = 0x0 (4 bytes) // reserved: buffer: {00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 // 00 00 00 00} (length 0x14) // } // } // ] NONFAILING(*(uint32_t*)0x200000000080 = 1); NONFAILING(*(uint32_t*)0x200000000084 = 0); NONFAILING(memcpy((void*)0x200000000088, "\205\272\241t\360\313\021B", 8)); NONFAILING(memset((void*)0x200000000090, 0, 24)); NONFAILING(memset((void*)0x2000000000ac, 0, 20)); syscall(__NR_ioctl, /*fd=*/r[0], /*cmd=*/0x8004587d, /*arg=*/0x200000000080ul); break; case 3: // syz_mount_image$vfat arguments: [ // fs: ptr[in, buffer] { // buffer: {76 66 61 74 00} (length 0x5) // } // dir: ptr[in, buffer] { // buffer: {2e 2f 62 75 73 00} (length 0x6) // } // flags: mount_flags = 0x204b82f (8 bytes) // opts: nil // chdir: int8 = 0x3 (1 bytes) // size: len = 0x0 (8 bytes) // img: ptr[in, buffer] { // buffer: (compressed buffer with length 0x0) // } // ] // returns fd_dir NONFAILING(memcpy((void*)0x2000000024c0, "vfat\000", 5)); NONFAILING(memcpy((void*)0x2000000001c0, "./bus\000", 6)); NONFAILING(syz_mount_image( /*fs=*/0x2000000024c0, /*dir=*/0x2000000001c0, /*flags=MS_LAZYTIME|MS_PRIVATE|MS_SILENT|MS_REMOUNT|MS_RDONLY|MS_NOSUID|0x380c*/ 0x204b82f, /*opts=*/0, /*chdir=*/3, /*size=*/0, /*img=*/0x200000000240)); 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); setup_sysctl(); const char* reason; (void)reason; install_segv_handler(); use_temporary_dir(); loop(); return 0; }