// https://syzkaller.appspot.com/bug?id=ba84cc80a9491d65416bc7877e1650c87530fe8a // 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 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, destlen); } static int setup_loop_device(unsigned char* data, unsigned long size, const char* loopname, int* loopfd_p) { int err = 0, loopfd = -1; int memfd = syscall(__NR_memfd_create, "syzkaller", 0); if (memfd == -1) { err = errno; goto error; } if (puff_zlib_to_file(data, size, memfd)) { err = errno; goto error_close_memfd; } loopfd = open(loopname, O_RDWR); if (loopfd == -1) { err = errno; goto error_close_memfd; } if (ioctl(loopfd, LOOP_SET_FD, memfd)) { if (errno != EBUSY) { err = errno; goto error_close_loop; } ioctl(loopfd, LOOP_CLR_FD, 0); usleep(1000); if (ioctl(loopfd, LOOP_SET_FD, memfd)) { err = errno; goto error_close_loop; } } close(memfd); *loopfd_p = loopfd; return 0; error_close_loop: close(loopfd); error_close_memfd: close(memfd); error: errno = err; return -1; } static long syz_mount_image(volatile long fsarg, volatile long dir, volatile long flags, volatile long optsarg, volatile long change_dir, volatile unsigned long size, volatile long image) { unsigned char* data = (unsigned char*)image; int res = -1, err = 0, loopfd = -1, need_loop_device = !!size; char* mount_opts = (char*)optsarg; char* target = (char*)dir; char* fs = (char*)fsarg; char* source = NULL; char loopname[64]; if (need_loop_device) { memset(loopname, 0, sizeof(loopname)); snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); if (setup_loop_device(data, size, loopname, &loopfd) == -1) return -1; source = loopname; } mkdir(target, 0777); char opts[256]; memset(opts, 0, sizeof(opts)); if (strlen(mount_opts) > (sizeof(opts) - 32)) { } strncpy(opts, mount_opts, sizeof(opts) - 32); if (strcmp(fs, "iso9660") == 0) { flags |= MS_RDONLY; } else if (strncmp(fs, "ext", 3) == 0) { bool has_remount_ro = false; char* remount_ro_start = strstr(opts, "errors=remount-ro"); if (remount_ro_start != NULL) { char after = *(remount_ro_start + strlen("errors=remount-ro")); char before = remount_ro_start == opts ? '\0' : *(remount_ro_start - 1); has_remount_ro = ((before == '\0' || before == ',') && (after == '\0' || after == ',')); } if (strstr(opts, "errors=panic") || !has_remount_ro) strcat(opts, ",errors=continue"); } else if (strcmp(fs, "xfs") == 0) { strcat(opts, ",nouuid"); } res = mount(source, target, fs, flags, opts); if (res == -1) { err = errno; goto error_clear_loop; } res = open(target, O_RDONLY | O_DIRECTORY); if (res == -1) { err = errno; goto error_clear_loop; } if (change_dir) { res = chdir(target); if (res == -1) { err = errno; } } error_clear_loop: if (need_loop_device) { ioctl(loopfd, LOOP_CLR_FD, 0); close(loopfd); } errno = err; return res; } #define FS_IOC_SETFLAGS _IOW('f', 2, long) static void remove_dir(const char* dir) { int iter = 0; DIR* dp = 0; retry: while (umount2(dir, MNT_DETACH | UMOUNT_NOFOLLOW) == 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, MNT_DETACH | UMOUNT_NOFOLLOW) == 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, MNT_DETACH | UMOUNT_NOFOLLOW)) 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, MNT_DETACH | UMOUNT_NOFOLLOW)) 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")) { } } struct thread_t { int created, call; event_t ready, done; }; static struct thread_t threads[16]; static void execute_call(int call); static int running; static void* thr(void* arg) { struct thread_t* th = (struct thread_t*)arg; for (;;) { event_wait(&th->ready); event_reset(&th->ready); execute_call(th->call); __atomic_fetch_sub(&running, 1, __ATOMIC_RELAXED); event_set(&th->done); } return 0; } static void execute_one(void) { int i, call, thread; for (call = 0; call < 5; call++) { for (thread = 0; thread < (int)(sizeof(threads) / sizeof(threads[0])); thread++) { struct thread_t* th = &threads[thread]; if (!th->created) { th->created = 1; event_init(&th->ready); event_init(&th->done); event_set(&th->done); thread_start(thr, th); } if (!event_isset(&th->done)) continue; event_reset(&th->done); th->call = call; __atomic_fetch_add(&running, 1, __ATOMIC_RELAXED); event_set(&th->ready); if (call == 3 || call == 4) break; event_timedwait(&th->done, 50 + (call == 0 ? 4000 : 0) + (call == 4 ? 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 (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5000) continue; kill_and_wait(pid, &status); break; } remove_dir(cwdbuf); } } void execute_call(int call) { switch (call) { case 0: memcpy((void*)0x20000140, "ext4\000", 5); memcpy((void*)0x20000000, "./file0\000", 8); memcpy((void*)0x20000040, "usrquota", 8); *(uint8_t*)0x20000048 = 0x2c; memcpy((void*)0x20000049, "i_version", 9); *(uint8_t*)0x20000052 = 0x2c; *(uint8_t*)0x20000053 = 0; memcpy( (void*)0x20000380, "\x78\x9c\xec\xdd\xcf\x6b\x1c\x65\x1f\x00\xf0\xef\x6c\x93\xa6\x4d\xfb" "\xbe\xc9\x0b\x2f\xbc\x7d\xf5\x12\x10\x35\x50\xba\x31\x69\x6c\x15\x3c" "\x54\x3c\x88\x60\xa1\xa0\xe0\xcd\x1a\x36\xdb\x50\xb3\xc9\x86\xec\xa6" "\x34\x31\x90\x16\x11\xbc\x28\x2a\x3d\x08\x7a\xa9\x57\x7f\xd4\x9b\x57" "\x7f\x5c\xf5\xe8\x7f\xe0\x41\x5a\xaa\xa6\xd5\x8a\x82\x44\x66\x7f\xa4" "\xdb\x66\xd3\x6c\xd2\x24\x5b\x9b\xcf\x07\x66\xf3\x3c\x33\xcf\xce\x33" "\xdf\x79\x66\x9e\x79\x36\x33\xec\x06\xb0\x63\xf5\xa5\x2f\x99\x88\xff" "\x47\xc4\x3b\x49\x44\x4f\x6d\x7e\x12\x11\x9d\x95\x54\x47\xc4\xb1\x6a" "\xb9\x1b\x8b\xf3\xb9\x74\x4a\x62\x69\xe9\x85\x9f\x93\x4a\x99\xeb\x8b" "\xf3\xb9\x68\x78\x4f\x6a\x5f\x2d\x73\x20\x22\xbe\x7e\x23\xe2\x60\x66" "\x65\xbd\xa5\xd9\xb9\xf1\x91\x42\x21\x3f\x9d\x66\x7e\x9d\x3a\x7c\xe1" "\xc0\xc2\x40\x5f\x69\x76\xee\xd0\xe9\x89\x91\xb1\xfc\x58\x7e\xf2\xc8" "\xe0\xf0\xf0\xd0\xd1\xc7\x8f\x1e\x69\x39\x94\x5d\x6b\x15\xf8\xed\xbb" "\xb9\xfd\x57\xde\x7d\xf6\xd1\xcf\x8e\xfd\xf1\xfa\xff\x2e\xbd\xf5\x4d" "\x12\xc7\x62\x7f\x6d\x59\x63\x1c\xeb\x76\xbe\xf9\xec\xbe\xe8\xab\xed" "\x93\xce\x74\x17\xde\xe2\x99\x0d\x57\x76\xcf\xd9\xdd\xee\x0d\x60\xe3" "\x32\xb5\x13\xa7\x23\xd2\x3e\xa0\x27\x76\x55\x52\x00\xc0\xfd\x6c\x21" "\x22\x96\x00\x80\x1d\x26\x71\xfd\x07\x80\x1d\xa6\xfe\x7f\x80\xeb\x8b" "\xf3\xb9\xfa\xd4\xde\xff\x48\x6c\xaf\xab\x4f\x47\xc4\x9e\x6a\xfc\xf5" "\xfb\x9b\xd5\x25\x1d\xd5\x7b\x76\xdf\x1f\x7a\x6d\x21\x22\xba\xaf\x27" "\xb7\xdc\x19\x49\x22\xa2\x77\x13\xea\xef\x8b\x88\x0f\xbf\x78\xf9\x93" "\x74\x8a\xbb\xbd\x0f\x09\xb0\x0e\xe7\xce\x47\xc4\x2b\xbd\x7d\x2b\xfb" "\xff\x64\xc5\x33\x0b\xeb\xf5\x58\x0b\x65\xfa\x6e\xcb\xeb\xff\x60\xfb" "\x7c\x99\x8e\x7f\x9e\x68\x36\xfe\xcb\xd4\xce\xff\x3d\x95\xd7\xdb\xc7" "\x3f\x5d\x4d\xce\xdd\x8d\x58\xfb\xfc\xcf\x5c\xde\x84\x6a\x56\x95\x8e" "\xff\x9e\x6a\x78\xb6\xed\x46\x43\xfc\x35\xbd\xbb\x6a\xb9\x7f\x55\xc6" "\x7c\x9d\xc9\xa9\xd3\x85\x7c\xda\xb7\xfd\x3b\x22\xfa\xa3\xb3\x2b\xcd" "\x0f\xde\xa1\x8e\xfe\x6b\x7f\x5d\x6b\xc8\x7e\xf4\xd2\xc3\xc3\xcb\x99" "\xc6\xf1\xdf\x2f\xef\xbd\xfa\x71\x5a\x7f\xfa\xf7\x66\xf1\xcc\xe5\x8e" "\xae\x5b\xd7\x37\x3a\x52\x1e\xd9\x84\xd0\x2b\xae\x9e\x8f\x78\xa0\xa3" "\x59\xfc\xc9\x72\xfb\x27\xab\x8c\x7f\x4f\xb4\x58\xc7\x73\x4f\xbe\xf9" "\xc1\x6a\xcb\xd2\xf8\xd3\x78\xeb\xd3\xca\xf8\xb7\xd6\xd2\xc5\x88\x47" "\x9a\xb6\x7f\xb2\x5c\x26\x4d\x0d\x94\x27\xa6\x06\x9a\x3e\x9f\x38\x50" "\x39\x1c\xaa\xaf\xb1\xb7\x59\x1d\x9f\xff\xf0\x7e\xf7\x8a\x99\x7f\x56" "\x3f\x7c\x35\xb6\x7f\x3a\xa5\xf5\xd7\x3f\x0b\x6c\x87\xb4\xfd\xbb\xef" "\x1c\x7f\x6f\xd2\xf8\xbc\x66\x69\xfd\x75\x7c\x7b\xb1\xe7\xab\xd5\x96" "\xad\x1d\x7f\xf3\xe3\x7f\x77\xf2\x62\x25\x5d\x7f\xf8\xf0\xec\x48\xb9" "\x3c\x3d\x18\xb1\x3b\x79\x7e\xe5\xfc\xa1\x9b\xef\xad\xe7\xeb\xe5\xd3" "\xf8\xfb\x1f\x6a\x7e\xfe\xdf\xe9\xf8\xef\x4c\x87\x4d\x2d\xc6\xdf\x71" "\xe5\xa7\x4f\x37\x1e\xff\xd6\x4a\xe3\x1f\x5d\x57\xfb\xaf\x3f\x71\xe9" "\xc6\xf8\xaa\xcf\xe6\xb6\xd6\xfe\xd5\xfe\xb2\xbf\x36\xa7\x95\xfe\xaf" "\xd5\x0d\xbc\x9b\x7d\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\xad\xca\x44\xc4\xfe\x48\x32\xd9\xe5" "\x74\x26\x93\xcd\x56\x7f\xc3\xfb\xbf\xd1\x9d\x29\x14\x4b\xe5\x83\xa7" "\x8a\x33\x93\xa3\x51\xf9\xad\xec\xde\xe8\xcc\xd4\xbf\xff\xb4\xa7\xe1" "\xfb\x50\x07\x6b\xdf\x87\x5f\xcf\x0f\xdd\x96\x3f\x1c\x11\xff\x89\x88" "\x0b\x5d\x7b\x2b\xf9\x6c\xae\x58\x18\x6d\x77\xf0\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x50\xb3\x6f\x95\xdf\xff\x4f\xfd" "\xd8\xd5\xee\xad\x03\x00\xb6\xcc\x9e\x76\x6f\x00\x00\xb0\xed\x5c\xff" "\x01\x60\xe7\x71\xfd\x07\x80\x9d\xc7\xf5\x1f\x00\x76\x9c\x73\xed\xde" "\x00\x00\x60\xfb\xf9\xfc\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\xc0\x16\x3b\x71\xfc\x78\x3a\x2d\xfd\xbe\x38" "\x9f\x4b\xf3\xa3\x67\x66\x67\xc6\x8b\x67\x0e\x8d\xe6\x4b\xe3\xd9\x89" "\x99\x5c\x36\x57\x9c\x9e\xca\x8e\x15\x8b\x63\x85\x7c\x36\x57\x9c\x58" "\x6b\x7d\x85\x62\x71\x6a\x38\x26\x67\xce\x0e\x94\xf3\xa5\xf2\x40\x69" "\x76\xee\xe4\x44\x71\x66\xb2\x7c\x32\x62\x64\x2c\x7f\x32\xdf\xb9\x2d" "\x51\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc0\xfa" "\x94\x66\xe7\xc6\x47\x0a\x85\xfc\xf4\xfd\x9b\x58\xea\xb9\xeb\xf5\x0c" "\x0d\x6f\xe8\xed\x99\x07\x23\xb6\x24\xae\x4c\x6c\xfa\x8e\x7a\xbb\x76" "\x40\x6c\x7c\x3d\xf5\x43\xea\x5e\x69\xf7\x4d\x4f\x74\xc4\x56\xad\x79" "\x61\xcb\xd6\xbc\xf1\x44\xfb\xfa\x24\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x7f\x92" "\xbf\x03\x00\x00\xff\xff\x87\xdc\x28\xa9", 1965); syz_mount_image(0x20000140, 0x20000000, 0x800, 0x20000040, 1, 0x7ad, 0x20000380); break; case 1: memcpy((void*)0x20000300, "./bus\000", 6); syscall(__NR_mkdir, 0x20000300ul, 0ul); break; case 2: memcpy((void*)0x20001040, "./bus\000", 6); syscall(__NR_chdir, 0x20001040ul); break; case 3: memcpy((void*)0x20000300, "./bus\000", 6); syscall(__NR_mkdir, 0x20000300ul, 0ul); break; case 4: memcpy((void*)0x20000080, "nilfs2\000", 7); memcpy((void*)0x20000040, "./file0\000", 8); memcpy((void*)0x200000c0, "nodiscard", 9); *(uint8_t*)0x200000c9 = 0x2c; memcpy((void*)0x200000ca, "barrier", 7); *(uint8_t*)0x200000d1 = 0x2c; memcpy((void*)0x200000d2, "nobarrier", 9); *(uint8_t*)0x200000db = 0x2c; memcpy((void*)0x200000dc, "nodiscard", 9); *(uint8_t*)0x200000e5 = 0x2c; memcpy((void*)0x200000e6, "norecovery", 10); *(uint8_t*)0x200000f0 = 0x2c; *(uint8_t*)0x200000f1 = 0; memcpy( (void*)0x20000100, "\x78\x9c\xec\xdd\x4f\x6c\x1c\xd5\x19\x00\xf0\x37\xeb\x3f\x9b\xc4\x26" "\x5e\x03\x2d\x01\x4a\x92\x42\x69\x20\x6d\x9d\xd4\xc9\x81\xde\x82\x14" "\xb5\x12\x42\x88\x4b\xef\xa0\x10\x43\x54\x43\xa3\x86\x1e\x40\x44\x31" "\x3d\xa5\x52\x0f\x54\x88\x0b\x55\x0f\x54\x70\xab\x94\x1e\x2a\x15\x5a" "\xa9\x42\x95\x2a\xf5\x0f\x87\x9e\x7b\x42\xed\xa5\x55\x95\x4a\x91\xb8" "\x34\x52\xe2\xca\xf6\x7b\xeb\xf5\x8b\x87\x5d\x8f\xed\xd9\x5d\xef\xef" "\x27\x7d\x7e\xfb\xe6\xcd\xce\xf7\x8d\x37\x72\x66\x66\x67\xdf\x06\x60" "\x64\x35\x56\x7f\x9e\x3e\x7d\xa8\x08\xe1\x9d\x8f\xde\x3e\xfb\x9d\x2b" "\xb7\x7f\xb3\xb2\xec\x48\x7b\x8d\xa3\xab\x3f\x8b\xd8\x6b\x85\x10\x26" "\x3a\xfa\x45\xb6\xbd\x4f\xe3\x82\x5b\x37\xde\x38\xb7\xd2\xde\xce\xda" "\x22\xcc\xaf\xfe\x4c\xe3\xe1\x99\xeb\xed\xe7\x4e\x85\x10\x96\xc2\xd1" "\xf0\x71\x68\x85\x23\xc7\x5b\x9f\x5d\x1d\x7b\x7a\xe1\x83\x77\x3f\x39" "\x76\xf9\xe2\x53\x2f\xed\xd2\xee\x03\x00\xc0\x48\xb9\xf6\x97\xc5\xbf" "\x3f\xfe\xaf\x3f\x7f\x7d\xf6\xe6\xb5\xc3\x67\x42\xb3\xbd\x3c\x1d\x9f" "\xb7\x62\x7f\x2a\x1e\xf7\x9f\x8c\xc7\xf7\xe9\xb8\xbf\x11\x36\xf6\x8b" "\x8e\xe8\x34\x99\xad\x37\x16\xa3\x91\xad\x37\x96\xad\x37\x9e\xe5\x19" "\x2f\xc9\x37\x91\x6d\x67\xa2\x64\xbd\xc9\x2e\xf9\xc6\x3a\x96\x6d\xb6" "\x9f\x00\x00\x00\x30\x8c\xd2\x79\x6d\x2b\x14\x8d\xb9\x0d\xfd\x46\x63" "\x6e\x6e\xed\xbc\x7f\xc5\xa7\x33\x93\xc5\xdc\x2b\x17\x16\x17\x2e\xf5" "\xa9\x50\x00\x00\x00\xa0\xb2\xcf\xae\xac\xde\x74\x2b\xc4\x70\x47\x73" "\x00\x6a\xd8\xdb\xb1\xbf\xfd\x47\xa3\xff\xb5\x7c\x4e\x34\x77\x3b\x47" "\xa3\xdf\xbf\x83\xdf\x0e\xfc\x6b\x20\x84\x10\x42\x08\x21\x06\x35\x96" "\x67\xfa\x77\xed\x01\x00\x00\x00\x18\x4d\x69\xde\x81\xf6\xfc\x60\xb9" "\xa5\x7c\x66\x81\xed\x69\x6f\xad\xd5\x5b\xfe\xeb\x4f\x36\x36\x7f\x3e" "\xec\x80\xba\xff\xfd\xcb\x3f\x5c\xf9\xdf\x7f\xd3\x5f\x1c\x00\x00\xaa" "\xdb\xab\x47\x93\x69\xbf\xd2\x71\x74\x9a\xc7\x20\x9f\x47\x70\x2c\x7b" "\xde\x56\x8f\xff\x1b\xd9\x76\xc6\xb7\x58\x67\xd9\xbc\x82\xc3\x32\xdf" "\x60\x59\x9d\xf9\xef\x75\x50\x95\xd5\xbf\xd5\xd7\xb1\x5f\xca\xea\xcf" "\xe7\xc3\x1c\x54\x65\xf5\xe7\xf3\x74\x0e\xaa\xb2\xfa\x9b\x35\xd7\x51" "\x55\x59\xfd\xfb\x6a\xae\xa3\xaa\xb2\xfa\xf7\xd7\x5c\x47\x55\x65\xf5" "\x1f\xa8\xb9\x8e\xaa\xca\xea\x9f\xaa\xb9\x8e\xaa\xca\xea\x9f\xae\xb9" "\x8e\xaa\xca\xea\xbf\xab\xe6\x3a\xaa\x2a\xab\xff\x60\xcd\x75\x54\x55" "\x56\xff\xb0\xdc\x56\x5b\x56\x7f\xab\xe6\x3a\xaa\x2a\xab\x7f\xb6\xe6" "\x3a\xaa\x2a\xab\xff\xee\x9a\xeb\xa8\xaa\xac\xfe\x7b\x6a\xae\xa3\xaa" "\xb2\xfa\xef\xad\xb9\x8e\x7e\x79\x28\xb6\xe9\xf7\x70\x38\x1b\xef\x3c" "\x7f\xce\xcf\xe9\x86\xe5\x1c\x0f\x00\x00\x00\x46\xdd\xff\xcc\xff\x27" "\x84\xd8\xdd\x58\x7b\x3b\xb6\xea\xf3\xf7\xf7\xb6\x5e\xfb\x3d\x8b\xfe" "\xef\xaf\x10\x42\x88\x1a\xa2\x18\x80\x1a\x84\x10\x62\xd8\xe2\xca\xa6" "\x57\x05\x86\xe5\xee\x49\x00\x00\x00\x60\x27\xa4\xcf\x05\xa4\x4f\xbd" "\x2f\x47\x69\x7c\xac\xcb\xf8\x78\x97\xf1\x89\x2e\xe3\x93\x5d\xc6\x9b" "\x5d\xc6\x01\x00\x00\x80\x10\x7e\x77\x75\xe1\xfe\xb7\x8a\xf5\xcf\xf9" "\x6f\x77\x3e\xbc\x34\x6f\x54\xba\x83\x60\xab\xf3\x18\xe5\xf3\x11\x6e" "\x35\xff\x76\xe7\x3d\xdb\x6e\xfe\x61\x99\xb7\x0c\x00\x00\x80\xd1\x52" "\x7c\xfb\xe3\xdb\xc7\xcf\xbe\xf7\xea\xec\xcd\x6b\x87\xcf\x74\x9c\xfd" "\xde\x8e\xe7\xbb\xe9\x33\xb5\xe3\xf1\xda\xc0\x87\xb1\x9f\xee\x0b\x98" "\xce\xfa\x45\x3a\x87\x3e\xb3\x31\x4f\xa3\x64\xbd\xfc\xfa\xc0\x5d\x65" "\xdb\x7b\x76\x9b\x3b\x0a\x00\x00\x00\x23\x2c\x9d\xbf\xb7\x42\xd1\x98" "\xeb\x38\xef\x6e\x85\x46\x63\x6e\x6e\xfd\x7c\xfc\x50\x98\x28\x16\x2e" "\x2c\x9e\x3f\x19\xfb\xe9\xfb\x59\xfe\x34\x33\xd1\x5c\x59\xfe\xcd\x9a" "\xeb\x06\x00\x00\x00\x7a\xb7\x7e\xbe\xbf\xf9\xf9\x7f\xfa\x1e\xdf\x43" "\x61\xb2\x98\x7b\xe5\xc2\xe2\xc2\xa5\xb5\xfe\x74\x7b\xf9\x44\xa3\xf3" "\xba\xc0\xcc\xfa\xf2\xa2\xf3\xba\x40\x2b\x5b\x3e\x5f\xb2\xfc\x54\xec" "\xa7\xef\xef\x7c\x69\x66\xff\xea\xf2\xb9\x73\xdf\x5f\x7c\x61\xa7\x77" "\x1e\x00\x00\x00\x46\xc4\xa5\xd7\x5e\xff\xde\xf3\x8b\x8b\xe7\x7f\xe0" "\x81\x07\x1e\xf4\xe5\x41\xb1\x14\xc2\x00\x94\x91\x3d\xe8\xf7\x5f\x26" "\x00\x00\x60\xa7\x7d\xf0\xcf\xb7\xff\xfa\xc3\x53\xd3\xbf\x5f\xfb\xfc" "\xff\xfa\xfc\x77\xe9\xf3\xff\x47\x63\xbf\x15\xe7\xf6\xfb\x5b\x5c\x21" "\xdd\x27\x90\x3e\x07\x70\xc7\xe7\xf5\x9f\xdb\x98\x67\xa6\x6c\xbd\x8b" "\x1b\xd7\x6b\x65\xeb\x8d\xc5\x68\x66\x75\xef\xeb\xd8\x4e\xe8\x98\x6f" "\x30\x3d\x6f\xb6\x2c\x5f\x6b\xe3\x76\x26\x4b\xf2\x4d\x65\xf9\xa6\xb3" "\x7c\xf9\x3c\x05\xe3\xd9\xfa\x29\xdf\xc1\x6c\x79\x3e\x3f\x61\x5a\x6f" "\x26\x5b\x9e\xcf\xc3\x38\x9e\xe5\x28\xb2\xfc\x0f\x07\x00\x00\x00\x28" "\x77\xe2\xd5\x97\x2f\x9e\xb8\xf4\xda\xeb\xdf\xb8\xf0\xf2\xf3\x2f\x9e" "\x7f\xf1\xfc\x2b\xa7\x4e\xce\x7f\x6b\xfe\x89\xf9\xf9\xd3\xf3\x27\x56" "\xef\xeb\x3f\xd1\x79\x77\x3f\x00\x00\x00\x30\x8c\xd6\x6f\xfa\xed\x65" "\xed\x85\xdd\x2f\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x46\x50\x1d\x5f\x27\xd6\xef\x7d\x04\x00\x00\x80\x51\xf7" "\xdf\x2b\x21\x84\x25\x21\x84\x10\x42\x88\x91\x8d\xa2\xfd\x1d\xbb\xfd" "\xaf\x45\x08\x21\x76\x36\xc6\x07\xa0\x06\x31\x30\xb1\xbc\x9c\x7f\xd3" "\x3c\x00\x00\x00\xc0\xee\xba\x75\xe3\x8d\x73\x9d\xed\x1d\x96\x8a\x1d" "\xcd\xd7\xde\x5a\x6b\xad\xb9\x1d\xf3\xa6\xf6\x8f\x8f\xfe\xfc\xd1\x95" "\x48\xab\x5d\x7f\x72\xe3\xf5\x92\x03\x3b\x5a\x0d\xa3\xae\xee\x7f\xff" "\xf2\x0f\x57\xfe\xf7\xdf\xdc\xd9\xfc\xfb\xd2\x83\x9e\xff\xfe\x35\x36" "\x6e\xe0\x4c\xb5\xbc\x5f\xfd\xe9\xbf\x1f\xeb\xcc\xff\xc0\x78\x8f\xf9" "\xf3\xfd\x7f\xb6\x5a\xfe\x63\x59\xfe\x63\xa1\xb7\xfc\xcb\xef\x65\xf9" "\x9f\xab\x96\xff\xb1\x2c\xff\x81\x1e\xf3\xdf\xb1\xff\x17\xab\xe5\x7f" "\x3c\xe6\x3f\x94\xea\x79\xa4\xd7\xfc\x1b\x5f\xff\x66\x6c\xd3\x7e\xec" "\xef\x31\xff\xf1\x6c\xff\x5f\x08\xbd\xe6\xcf\xf6\xbf\xd5\x63\xc2\xcc" "\xd7\x62\x7e\x00\x18\x45\x8d\x7e\x17\xb0\x4b\xd2\x51\x42\x3a\x8e\x9e" "\x8a\xfd\xb4\xbf\xe9\x3e\xbf\xfc\xee\x87\xad\x1e\xff\x37\xb2\xed\x8c" "\x6f\xbb\xf2\x8d\xdb\x4d\xc7\x41\xf7\xc5\x7e\x3a\x5e\x9a\xce\xf2\x26" "\x5b\xad\x7f\x2a\xdb\xde\x5d\x15\xeb\xcc\x0d\xcb\x5d\x25\x65\xf5\xef" "\xd4\xeb\xb8\xdb\xca\xea\x9f\xa8\xb9\x8e\xaa\xca\xea\x9f\xac\xb9\x8e" "\xaa\xca\xea\x6f\xd6\x5c\x47\x55\x65\xf5\xef\xab\xb9\x8e\xaa\xca\xea" "\xef\xf5\x3c\xb4\xdf\xca\xea\x1f\x96\xeb\xca\x65\xf5\x4f\xd5\x5c\x47" "\x55\x65\xf5\x4f\xd7\x5c\x47\x55\x65\xf5\x6f\xf5\xff\xf1\x7e\x29\xab" "\xff\x60\xcd\x75\x54\x55\x56\xff\x4c\xcd\x75\x54\x55\x56\x7f\xc5\xcb" "\x6a\xb5\x2b\xab\x7f\xb6\xe6\x3a\xaa\x2a\xab\xff\xee\x9a\xeb\xa8\xaa" "\xac\xfe\x7b\x6a\xae\xa3\xaa\xb2\xfa\xef\xad\xb9\x8e\x7e\x79\x30\xb6" "\x65\xe7\xc3\xe9\xfc\x73\x26\x8e\xa5\x7e\x2b\xeb\x37\x37\xf9\x5d\xee" "\xd5\x6b\x0b\x00\x00\x00\x30\x6c\xfe\x63\xfe\x3f\x21\x84\x10\x42\x08" "\x31\xb2\xf1\xee\x00\xd4\x30\xb4\x51\x0c\x40\x0d\x42\x88\x2d\xc4\xf2" "\x72\xbf\xaf\x40\xd0\x4f\xbb\xfb\x69\x66\x00\x06\xd5\xea\xdf\xff\x61" "\xf9\xb0\x0a\x3b\xce\xff\xff\xa3\xcd\xeb\x3f\xda\xbc\xfe\x7c\x9e\x74" "\x0f\x7f\x91\xf5\x93\xb1\x2e\xe3\xe3\x5d\xc6\x27\xba\x8c\x4f\x66\xe3" "\xf9\xbf\xd7\x66\x97\xf1\x7b\xb2\xed\x2e\x47\x69\xfc\xde\x2e\xe3\x5f" "\xe8\x32\x7e\xb0\xcb\xf8\x7d\x5d\xc6\x0f\x75\x19\xbf\xbf\xcb\xf8\x03" "\x5d\xc6\x1f\xec\x32\x0e\x00\x00\xc0\x68\xf8\x62\x6c\x9d\x1f\x02\x00" "\x00\xc0\xde\x75\xf9\x97\x1f\xfe\xe4\xd7\xc7\x9e\xbb\x31\x7b\xf3\xda" "\xe1\x33\x61\xf2\x8e\x79\xe7\x4f\xc6\x7e\x33\xbe\xb7\x7e\x35\xf6\xf3" "\x79\xef\x93\x89\xf8\x9e\xff\x8f\x62\xff\x17\xb1\xfd\x43\x6c\xff\x91" "\xad\xef\xfe\x13\x00\x00\x00\xd8\x7d\xe9\x7b\x62\xbc\xff\x0f\x00\x00" "\x00\x7b\x57\xfa\x9e\x52\xe7\xff\x00\x00\x00\xb0\x77\xcd\xc6\xd6\xf9" "\x3f\x00\x00\x00\xec\x5d\x77\xc7\xd6\xf9\x3f\x00\x00\x00\xec\x61\xc5" "\xbe\xcd\x17\xc7\x36\x5d\x17\x78\x38\xb6\xbd\xce\xeb\x07\x00\x0c\xbe" "\x2f\xc5\xf6\xa1\xd8\x1e\x8e\xed\x91\xd8\x7e\x39\xb6\xe9\x38\xe0\x91" "\xd8\x7e\xa5\xa6\xfa\x00\x80\x9d\xf3\xb3\xef\xfe\xf8\x89\xb7\x8a\xf5" "\xf9\xfe\x4f\x65\xe3\xb7\xe2\xf2\xd4\xde\x61\x69\xed\x4a\x41\xd1\xd8" "\x38\x93\xff\xfe\xd8\x1e\x88\xed\xa3\x3d\xd6\x93\x7f\x1f\x40\xaf\xf9" "\x93\x83\x3d\xe6\xd9\xad\xfc\x33\xdb\xcc\x0f\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\xec\x1d\x8d\xd5\x9f\xa7\x4f\x1f\x2a\x42\x78\xe7\xa3\xb7\xcf\xce\x5c" "\x3e\xfb\xe2\xca\xb2\x23\xed\x35\x8e\xae\xfe\x2c\x62\xaf\x15\x42\x98" "\x68\x3f\x2f\x8d\xae\xf7\x7f\x15\x57\xbc\x75\xe3\x8d\x73\x2b\xed\xed" "\xd8\x2e\xc7\xb6\x08\xf3\xa1\x08\x45\x7b\x3c\x3c\x73\xbd\x9d\x69\x2a" "\x84\xb0\x14\x8e\x86\x8f\x43\x2b\x1c\x39\xde\xfa\xec\xea\xd8\xd3\x0b" "\x1f\xbc\xfb\xc9\xb1\xcb\x17\x9f\x7a\x69\x17\x7f\x05\x00\x00\x00\xb0" "\xe7\xfd\x3f\x00\x00\xff\xff\xcf\xbe\x24\xd1", 3853); syz_mount_image(0x20000080, 0x20000040, 0x4001, 0x200000c0, 1, 0xf0d, 0x20000100); break; } } int main(void) { syscall(__NR_mmap, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); use_temporary_dir(); loop(); return 0; }