// https://syzkaller.appspot.com/bug?id=8e0acbfb5bd9bba1f7b845d711bdca16f3b79ceb // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include <dirent.h> #include <endian.h> #include <errno.h> #include <fcntl.h> #include <setjmp.h> #include <signal.h> #include <stdarg.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/mount.h> #include <sys/prctl.h> #include <sys/stat.h> #include <sys/syscall.h> #include <sys/types.h> #include <sys/wait.h> #include <time.h> #include <unistd.h> #include <linux/loop.h> #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 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"); } 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 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_one(void) { intptr_t res = 0; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } memcpy((void*)0x200000000040, "hfsplus\000", 8); memcpy((void*)0x200000000180, "./" "file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\000", 251); memcpy( (void*)0x200000000b40, "\x78\x9c\xec\xdd\x4d\x6c\x1c\x67\x19\x07\xf0\xff\xac\xd7\x1f\x1b\xaa\xd4" "\x4d\x93\x36\x45\x95\x6a\x35\x12\x20\x2c\x12\x7f\xc8\x05\x73\x21\x20\x84" "\x7c\xa8\x50\x55\x0e\x9c\xad\xc4\x69\xac\x6c\xd2\x62\xbb\xc8\xad\x10\x35" "\xdf\xd7\x1e\x7a\xe2\x54\x0e\xbe\x71\x42\xe2\x1e\xa9\x5c\xb8\xc0\xad\x57" "\x1f\x91\x90\xb8\xf4\x82\x39\x2d\xda\xf1\xcc\x7a\xe3\xaf\xd8\x4e\x1c\x3b" "\xe9\xef\x17\xcd\xbe\xef\xec\x3b\xf3\xce\x33\xcf\x3b\xb3\xb3\xbb\xce\x6a" "\x02\x7c\x69\xcd\x8d\xa7\x79\x3f\x45\xe6\xc6\xdf\x5c\xed\xce\x6f\xac\x4f" "\xb7\x37\xd6\xa7\xef\xd6\xf5\x24\xc3\x49\xd6\x92\x66\x92\x46\x92\xe2\xbf" "\x9d\x4e\xe7\xb3\xe4\x7a\x52\xf4\xba\xa9\x6b\x03\xfb\x6d\xe7\x93\xc5\xd9" "\xb7\x3f\xff\x62\xa3\xec\x65\xab\xaf\x66\xbd\x5e\x23\xfd\x3d\x1d\xcb\x5a" "\x35\x65\xac\x8a\x61\xec\x31\xf6\x77\xe3\x91\xfb\x2b\x7a\x7b\x78\x3d\xc9" "\x95\xaa\x84\x53\x37\x98\xa4\xf3\x80\x9f\xfd\xfd\xb9\x5e\x4b\x9f\xd6\x5e" "\x6b\x8f\x3c\x91\x18\x81\x93\x55\xec\x73\xed\x1e\x4d\xce\x55\x27\x7a\xf7" "\x7d\xc0\xd6\x55\x71\xeb\x9a\xfd\x54\x5b\x3b\xed\x00\x00\x00\x00\xe0\x09" "\x78\x7e\x33\x9b\x59\x2d\xce\x9f\x76\x1c\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\xf0\xb4\x58\xdb\xbe\xff\x7f\x51\x4d\x8d\xba\x3e\x96\xa2\xbe\xff\xff" "\x50\xf5\x5c\xaa\xfa\xd9\xf2\xda\xd1\x16\xbf\x7f\x52\x71\x00\x00\x00\x00" "\x00\x00\x00\xc0\x13\xf4\xda\x66\x36\xb3\x9a\xf3\xf5\x7c\xa7\x28\xff\xe6" "\xff\x7a\x39\x73\xb1\x7c\xfc\x4a\xde\xcf\x72\x16\xb2\x94\xab\x59\xcd\x7c" "\x56\xb2\x92\xa5\x4c\x26\x19\xed\xeb\x68\x68\x75\x7e\x65\x65\x69\xf2\x10" "\x6b\x4e\xed\xb9\xe6\xd4\x3e\x01\xd6\xff\xc3\x60\xb8\x2a\x5b\x8f\x6f\xdf" "\x01\x00\x00\x00\x00\x00\x00\xe0\x19\xf2\xeb\xcc\x6d\xff\xfd\x1f\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\xce\x82\x22\x19\xd8\x2a\xca\xe9\x62" "\x5d\x1f\x4d\xa3\x99\x64\x24\xc9\x50\x77\xb9\xb5\xe4\x9f\x75\xfd\x2c\x19" "\x39\xe2\xf2\xf7\x4f\x28\x0e\x00\x00\x00\x38\x4b\x9e\xdf\xcc\x66\x56\x73" "\xbe\x9e\xef\x14\xe5\x67\xfe\x97\xca\xcf\xfd\x23\x79\x3f\xf7\xb2\x92\xc5" "\xac\xa4\x9d\x85\xdc\x2c\xbf\x0b\xd8\xfa\xd4\xdf\xd8\x58\x9f\x6e\x6f\xac" "\x4f\xdf\xed\x4e\xbb\xfb\xfd\xfe\x7f\x8e\x14\x46\xd9\x63\xb6\xbe\x7b\xd8" "\x7b\xcb\x97\xcb\x25\x5a\xb9\x95\xc5\xf2\x99\xab\xb9\x91\x77\xd3\xce\xcd" "\x34\xca\x35\xbb\x2e\x57\xf1\xd4\xbd\xee\x88\xeb\x57\xdd\x98\x8a\xef\x55" "\x0e\x19\xd9\xcd\xaa\xec\xee\xf9\xc7\x55\xb9\xcb\x47\x47\xda\xd9\xfd\x1c" "\xf1\xcb\x94\xd1\x32\x23\x83\xbd\x8c\x4c\x54\xb1\x75\xb3\xf1\x42\x3d\x32" "\x7b\x8f\xd0\x11\x47\x67\xe7\x96\x26\xd3\xe8\x05\x7b\x71\xc7\x96\x76\xec" "\xc4\xb1\x72\x7e\xae\x2a\xbb\xfb\xf3\xfb\xfd\x72\x7e\xe2\x5e\xd9\x63\x3c" "\x76\x66\x62\xaa\xef\xe8\x7b\xe9\xe0\x9c\x27\x5f\xff\xeb\x9f\x7f\x7a\xbb" "\x7d\xef\xce\xed\x5b\xcb\xe3\xa7\xb3\x4b\xc7\x37\x50\x95\x9d\xf2\xb1\xb5" "\x3b\x13\xd3\x7d\x99\x78\xf9\x59\xce\xc4\x2e\x13\x65\x26\x2e\xf5\xe6\xe7" "\xf2\xa3\xfc\x24\xe3\x19\xcb\x5b\x59\xca\x62\x7e\x9e\xf9\xac\x64\x21\x63" "\xf9\x61\x59\x9b\xaf\x8e\xe7\xa2\xef\x94\xdf\x27\x53\xd7\x1f\x98\x7b\xeb" "\x61\x91\x0c\x55\x47\xe8\xd6\x60\x1d\x2d\xa6\xd7\xcb\x75\xcf\x67\x31\x3f" "\xce\xbb\xb9\x99\x85\xbc\x51\xfe\x9b\xca\x64\xbe\x9d\x99\xcc\x64\xb6\x6f" "\x84\x2f\x1d\x3c\xc2\xe5\x59\xdf\xd8\x7d\xd6\x1f\xf4\x0a\x77\xe5\x1b\x55" "\xa5\x95\xe4\x0f\x55\x79\xfa\xea\x51\x7a\xa1\x2f\xaf\xfd\xaf\xb9\xa3\x65" "\x5b\xff\x33\xdb\x59\xba\x70\x88\x2c\x1d\xf1\xb5\xb1\xf9\xd5\xaa\xd2\xdd" "\xc6\x6f\xaa\xf2\x6c\xd8\x99\x89\xc9\xbe\x4c\xbc\x78\x70\x26\xfe\x54\xbe" "\xac\x2c\xb7\xef\xdd\x59\xba\x3d\xff\xde\x21\xb6\x35\x90\x5c\xf8\xb8\xaa" "\x77\x47\xe8\x77\xc7\xbb\x4a\x34\x8f\xbe\xca\x61\x74\x8f\x97\x0b\xbd\xee" "\x1f\x3c\x3a\xba\x6d\x2f\xee\xd9\x36\x59\xb6\x5d\xec\xb5\x35\x76\xb5\x5d" "\xea\xb5\x6d\x9d\xa9\x6b\xfb\x9e\xa9\x43\xd5\x7b\xb8\xdd\x3d\x4d\x95\x6d" "\x2f\xef\xd9\x36\x5d\xb6\x5d\xee\x6b\xdb\xeb\xfd\x16\x00\x67\xde\xb9\x6f" "\x9e\x1b\x6a\xfd\xbb\xf5\x8f\xd6\xa7\xad\xdf\xb6\x6e\xb7\xde\x1c\xf9\xc1" "\xf0\x77\x86\x5f\x1d\xca\xe0\xdf\x06\xbf\xdb\x9c\x18\xf8\x5a\xe3\xd5\xe2" "\x2f\xf9\x34\xbf\xdc\xfe\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\x1c\xdf\xf2\x07\x1f" "\xde\x99\x6f\xb7\x17\x96\x76\x54\x3a\x9d\xce\x47\xfb\x34\x3d\xcd\x95\xfa" "\x76\x66\x3b\x9a\x06\x1f\x92\x8d\xbd\x2a\xf5\x2d\x8e\x1e\xb6\xf0\x2b\xcf" "\x3d\x7c\x99\xc7\x58\xa9\xef\x87\x74\x46\x12\x5e\x57\xfe\xd7\xe9\x74\xaa" "\x67\x8a\xb3\x10\xcf\xc1\x95\x4e\xe5\xac\xc4\x73\x42\x95\xe1\x1c\x78\x20" "\x01\xcf\xb6\x6b\x2b\x77\xdf\xbb\xb6\xfc\xc1\x87\xdf\x5a\xbc\x3b\xff\xce" "\xc2\x3b\x0b\xf7\x66\x67\x66\x66\x27\x66\x67\xde\x98\xbe\x76\x6b\xb1\xfd" "\xc7\x89\xee\xe3\xc2\xc4\x69\x47\x09\x9c\x84\xed\x8b\xfe\x69\x47\x02\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x1c\xd6\x01\xbf\x10\x18\xa9\x16\x79\xe4" "\x5f\x1a\x9c\xf2\x2e\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x4f\xb9\xb9\xf1\x34\xef\xa7\xc8\xe4" "\xc4\xd5\x89\xee\xfc\xc6\xfa\x74\xbb\x3b\xd5\xf5\xed\x25\x9b\x49\x1a\x49" "\x8a\x5f\x24\xc5\x67\xc9\xf5\x6c\x4d\x19\xed\xeb\xae\xd8\x6f\x3b\x9f\x2c" "\xce\xbe\xfd\xf9\x17\x1b\xff\xda\xee\xab\x59\x2f\xdf\x38\x68\xbd\xc3\x59" "\xab\xa6\x8c\x25\x19\xa8\xca\xc7\xd5\xdf\x8d\x47\xee\xaf\xe8\xed\x61\x37" "\x61\x57\xea\xc4\xc1\x69\xfb\x7f\x00\x00\x00\xff\xff\x5b\x9e\xfe\xcb", 1637); syz_mount_image(/*fs=*/0x200000000040, /*dir=*/0x200000000180, /*flags=MS_I_VERSION|MS_POSIXACL*/ 0x810000, /*opts=*/0x200000000440, /*chdir=*/1, /*size=*/0x665, /*img=*/0x200000000b40); memcpy((void*)0x200000000280, "./" "file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\000", 251); res = syscall(__NR_creat, /*file=*/0x200000000280ul, /*mode=*/0ul); if (res != -1) r[0] = res; *(uint32_t*)0x200000000000 = 7; *(uint8_t*)0x200000000004 = 0x7f; *(uint16_t*)0x200000000005 = 0; syscall(__NR_write, /*fd=*/r[0], /*data=*/0x200000000000ul, /*size=*/7ul); memcpy((void*)0x200000000000, "hfsplus\000", 8); memcpy((void*)0x200000002380, "./file0\000", 8); *(uint16_t*)0x200000000ac0 = 0; sprintf((char*)0x200000000ac2, "%023llo", (long long)-1); sprintf((char*)0x200000000ad9, "%020llu", (long long)-1); sprintf((char*)0x200000000aed, "0x%016llx", (long long)-1); memcpy((void*)0x200000000aff, "\x2c\x75\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\x30\x2c\x75\x6d\x61" "\x73\x6b\x3d\x30\x30\x30\x30\x01\x00\x30\x30\x30\x30\x30\x30\x30\x30" "\x30\x30\x30\x30\x30\x30\x33\x37\x37\x2c\x67\x69\x64\x3d", 65); *(uint32_t*)0x200000000b40 = -1; memcpy((void*)0x200000000b44, "\x2c\x6e\x6f\x64\x65\x63\x6f\x6d\x70\x6f\x73\x40\x4b\xb5\x1d\x72\x72" "\x69\x65\x72\x2c\x6e\x6f\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x74" "\x79\x70\x65\x3d\xb0\x29\xe1\xc0\x2c\x75\x69\x64\x3d", 47); sprintf((char*)0x200000000b73, "%020llu", (long long)0); memcpy((void*)0x200000000b87, ",,uid=\000\000\000\000\000\000\000\000\000", 15); sprintf((char*)0x200000000b96, "0x%016llx", (long long)0); memcpy((void*)0x200000000ba8, "\x2c\xf5\x69\x64\x8f\xae\xa4\x3d\x86\x26\x57\x5c\xce\xe3\x58\xfc\x40" "\x31\xf7\x4e\xf6\xc1\x89\xd2\x59\xef\x56\x8e\x52\xfc\x17\x68\x86\x01" "\xc5\x55\x6c\x00\x28\x5b\x9f\x0c\x68\xa8\xb6\xfc\xfb\xaf\x3e\xa4\x0c" "\x94\x30\x17\x5e\x51\x76\xdb\x90\xb8\xa7\x24\x2f\x13\x73\x8f\x90\x89" "\xc7\x4b\xea\x7b\x05\x67\xa3\xc9\x50\x2c\x33\x1a\x94\xf5\x00\x1e\x9c" "\x8f\xc6\x52\x35\xf1\x55\x3e\xc6\x3a\x56\x95\x08\x21\x17\x9f\xbe\xbc" "\x2b\x5c\x08\x00\x00\x00\x00\x00\x00\x00\x46\xd5\xc6\x64\xb7\x77\xa9" "\x7b\xc3\x26\xd2\x21\xeb\xb3\xb3\x4a\x88", 129); memcpy((void*)0x200000000c29, "\x8b\x6f\x85\xb4\xcf\xd8\x5a\x68\x12\x39\xb1\x30\x6c\x01\x47\x8c\xeb" "\x1f\x44\xd6\x7a\x62\xb1\xfe\xc1\x39\x5d", 27); memcpy( (void*)0x200000000c44, "\x01\x00\xae\x84\xd0\x69\xf4\xcc\x2d\x00\xb2\xe0\x52\x66\x34\xc6\x74\xb0" "\x8f\x68\x87\x2d\x61\xfa\x20\x50\x51\xea\x35\x59\x1f\xce\x5d\x64\x26\xb1" "\x32\xff\xaf\x45\xbb\x5b\xd5\xf0\x7b\x40\x7d\x97\x6b\xb3\xa6\x6f\x95\xb9" "\x05\xce\x74\xbb\xe7\x73\xc8\x4f\x9a\xa1\xc5\x45\x36\x05\xf9\xca\x5a\x8a" "\x94\x1d\x4b\x3a\xfe\x99\x8b\xbb\x1e\x4a\xa6\x8e\x32\x78\x73\x73\x3a\xf2" "\xfe\xb7\x38\x34\x39\x0c\x7b\x7a\x22\xe5\x4c\x77\x81\x0f\xab\xc8\x9b\x1c" "\x42\x79\xfa\x4d\xda\x15\x71\x85\xac\xf0\x6f\x67\x82\x83\x17\x92\x0e\xac" "\x36\x67\xc8\xdf\x50\xda\x7a\xf7\x5b\x78\x2c\x68\x16\x6d\x2a\x0c\xfc\x90" "\xea\xda\x7c\x75\x2e\xe7\x54\x4f\x8a\x91\x75\xaa\x73\x87\xda\x2b\x65\x95" "\x8e\xcf\x64\x91\xe4\x0f\x9d\x7e\x09\x14\xd9\xa7\x69\x5f\x0d", 177); memcpy( (void*)0x200000000200, "\x78\x9c\xec\xdd\x4b\x68\x1c\xe7\x1d\x00\xf0\xff\xac\x56\xab\x5d\x15\x1c" "\x39\xf1\x23\x2d\x81\x88\x18\xd2\x52\x51\x5b\xb2\x50\x5a\xf5\x52\xb7\x94" "\xa2\x43\x28\x21\x3d\xf4\xbc\xd8\x72\x2c\xbc\x96\x83\xa4\x14\xd9\x94\x46" "\xe9\xe3\xd2\x53\x0f\x39\xf5\x94\x1e\x74\x0b\x3d\x94\xf4\x6e\x68\xcf\x0d" "\x81\x92\xab\x8e\x81\x42\x2e\x39\xe9\xa6\x32\xb3\x33\xbb\x23\x69\x5f\x52" "\xf4\xaa\xfb\xfb\x99\x99\xf9\x66\xbe\xe7\xfc\x67\x67\x66\x47\x8b\x99\x00" "\xfe\x6f\x2d\xcd\x44\xf5\x59\x24\xb1\x34\xf3\xe6\x66\xba\xbe\xb3\x3d\xdf" "\x1a\xdb\x9e\x9f\xc8\xb3\x5b\x11\x51\x8b\x88\x4a\x44\xb5\xbd\x88\x64\x35" "\xb2\xdc\x3b\xf9\x14\xdf\x4c\x37\xe6\xe5\x93\x7e\xfd\x7c\xb8\xb2\xf8\xf6" "\xe7\x5f\xed\x7c\xd1\x5e\xab\xe6\x53\x56\x3e\x19\x54\xaf\x87\xda\xe1\x4d" "\x5b\xf9\x14\xd3\x11\x31\x96\x2f\x0f\x1b\xef\xd3\xe2\x27\x07\xbb\xdf\xd7" "\xde\xdd\xbe\xed\x8d\xaa\xbb\x87\x69\xc0\x6e\xe4\x63\x8c\xf8\xf3\xd7\x6a" "\x15\xbe\xb6\xbd\x43\xb6\x3a\x79\x1f\xff\x3b\x9b\x0f\xaa\x7e\x94\xf3\x16" "\xb8\xa0\x92\xe2\x9e\x74\xc0\x54\xc4\x64\x44\xd4\x23\xda\x77\xfd\xfc\xea" "\x50\x39\xdb\xd1\x9d\xbc\xad\xf3\x1e\x00\x00\x00\x00\x1c\x55\xe3\xe8\x55" "\x5e\xd8\x8d\xdd\xd8\x8c\x4b\xa7\x31\x1c\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x78\x5e\xe5\xef\xff\x4f\xf2\xa9\x52\xa4\xa7\x23\x29\xde\xff\x5f\xcb" "\xb7\x45\x9e\xbe\x80\x86\xbf\x08\xf1\xb3\x89\xf6\xf2\xd9\xe9\x0f\x06\x00" "\x00\x00\x00\x00\x00\x00\x4e\xdd\xab\xbb\xb1\x1b\x9b\x71\xa9\x58\xdf\x4b" "\xb2\xdf\xfc\x5f\x2b\xfd\xc6\xff\x8d\x78\x2f\xd6\x63\x39\xd6\xe2\x66\x6c" "\x46\x33\x36\x62\x23\xd6\x62\x2e\x22\xa6\x4a\x0d\xd5\x36\x9b\x1b\x1b\x6b" "\x73\x59\xcd\x88\x2b\x03\x6a\xde\x8e\x4f\x7b\xd4\xbc\xdd\x7f\x8c\x77\x4e" "\x78\x9f\x01\x00\x00\x00\x00\x00\x00\xe0\x82\xab\x0f\xc9\x7f\x38\x7e\x78" "\xdb\x6f\x63\xa9\xfb\xfb\x3f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x5c\x04\x49\xc4\x58\x7b\x91\x4d\x57\x8a\xf4\x54\x54\xaa\x11\x51\x2f\xca" "\x6d\x45\x7c\x1a\x11\xb5\xf3\x1d\xed\x91\x24\xa5\xf4\x1f\x2b\x79\xe2\xd9" "\x39\x0d\x06\x00\x00\x00\x8e\xab\xbe\x7f\x35\xa9\x8f\x50\xe7\x85\xf7\x63" "\x37\x36\xe3\x52\xb1\xbe\x97\x64\xcf\xfc\xd7\xb2\xe7\xe5\x7a\xbc\x17\xab" "\xb1\x11\x2b\xb1\x11\xad\x58\x8e\x7b\xf9\x33\x74\xfa\xd4\x5f\xd9\xd9\x9e" "\x6f\xed\x6c\xcf\x3f\x4a\xa7\xc3\xed\xfe\xf8\xcb\x23\x0d\x3d\x6b\x31\xda" "\x7f\x7b\xe8\xdd\xf3\xcb\x59\x89\x46\xdc\x8f\x95\x6c\xcb\xcd\xb8\x1b\x49" "\xec\x65\x8a\x87\xf9\x97\x77\xb6\xe7\xd3\xe5\xa3\xde\xe3\xfa\x20\x1d\x53" "\xf2\xa3\xdc\x80\xd1\x8c\x95\xd2\xf7\xd2\xd9\xf5\x4f\xb2\xf4\x9f\xf6\xff" "\x15\xa1\x7a\xa4\x5d\x3c\xa6\x4a\xdf\x9c\xa9\x2c\x77\xbc\x13\x91\xd9\x7c" "\x6c\x69\x8d\xcb\x45\x04\x7a\x47\x62\xe8\xd1\xa9\x0e\xec\x69\x2e\x2a\x9d" "\xbf\xfc\x5c\x19\xdc\x53\xef\x98\x7f\x30\xb8\xf7\xc9\x03\xa5\x92\x21\xa3" "\x3d\x3b\x07\x23\x71\x3b\x2a\x9d\x23\x74\x6d\x70\x24\x22\xbe\xfd\xf7\x8f" "\x7f\xf9\xa0\xb5\xfa\xf0\xc1\xfd\xf5\x99\x8b\xb3\x4b\x3d\xbd\x3f\xb4\xc4" "\xc1\x48\xcc\x97\x22\x71\xfd\x39\x8a\xc4\x70\xb3\x59\x24\xae\x76\xd6\x97" "\xe2\x67\xf1\x8b\x98\x89\x2f\x27\xde\x8a\xb5\x58\x89\x5f\x45\x33\x36\x62" "\x79\xba\xc8\x6f\xe6\x9f\xe7\x74\x3e\x35\x38\x52\x9f\x4d\x96\xd7\xde\x1a" "\x36\x92\xf4\x9c\x9c\xee\x5c\xbf\x7a\x8d\x69\x3a\x8a\x31\x15\x37\x87\x9f" "\x66\xa3\x6b\xc6\x6b\xd9\x31\xbd\x14\x2b\x91\xc4\xe3\x88\x58\x8e\x37\xb2" "\x7f\xb7\x63\xae\x73\x35\xe8\x1e\xe1\xab\x23\x9c\xf5\x95\x11\xae\xb4\x25" "\x37\xbe\x93\x2d\x3a\x61\x8a\x46\xff\xb2\x7f\x1d\xad\xc9\x93\x92\xc6\xf5" "\x72\x29\xae\xe5\x6b\xee\x54\x96\x57\xde\xd2\x8d\xd2\x8b\x3d\xa3\x54\xdc" "\xeb\x46\xbf\x1f\x95\x54\xbf\x95\x27\xd2\x16\x7e\x37\xf0\xfe\x70\xd6\x0e" "\x46\x62\xae\x14\x89\x97\xfa\x7d\x5e\xda\x21\xfd\xcb\x5e\x3a\x5f\x6f\xad" "\x3e\x5c\x7b\xd0\x7c\x77\xc4\xfe\x5e\xcf\x97\xe9\x79\xf4\x87\xe3\xdc\x25" "\x4e\xed\xfe\x9d\x1e\xe1\x17\xa3\x9e\xef\xdc\xe5\x6c\x9e\x64\xe7\xd4\x6c" "\x96\xf7\x52\xa7\xf3\xfd\xf1\xaa\xe5\xbf\xb8\xb4\x55\x0e\xe5\x5d\xed\xd4" "\x6b\x9f\xa9\x3f\x8f\xc7\x71\x6f\xdf\x99\xfa\xfd\x58\x88\x85\x58\xcc\x4a" "\x5f\xcb\x4a\x8f\x1f\xba\x63\xa5\x79\xd7\x3b\x2d\xed\xbf\x86\xa7\x79\xe9" "\x37\xad\x6a\xe7\x87\x9d\xf2\xf7\xad\xc7\xd1\x6a\x7f\x1f\x02\xe0\x62\x9b" "\xfc\xee\x64\xad\xf1\x9f\xc6\xbf\x1a\x1f\x35\x7e\xdf\x78\xd0\x78\xb3\xfe" "\x93\x89\x1f\x4c\xbc\x52\x8b\xf1\x7f\x8e\xff\xb0\x3a\x3b\xf6\x7a\xe5\x95" "\xe4\x6f\xf1\x51\xfc\xa6\xfb\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\x1c\xdf\xfa\x93" "\xa7\x0f\x9b\xad\xd6\xf2\x5a\xef\x44\xa5\x77\x56\x32\xb8\x56\xb3\xb5\x57" "\xbc\x48\x6c\x40\x99\x7d\x89\x24\x7f\x55\xce\x08\x85\x93\xf5\x27\x4f\xf7" "\x86\x36\x38\x38\x31\x91\x0f\xef\x98\xd5\x4f\x32\x51\xbc\x90\x6b\x78\xe1" "\xe9\x53\x1c\x46\xb2\x75\xf0\x78\xd5\x87\x1f\x8b\xe2\x2d\x4f\x23\x74\x91" "\x1c\x0a\x78\x5a\xf9\xd8\x63\x2e\x7a\xee\x6e\x19\xbf\x00\x87\xf2\x60\x62" "\xfa\xe4\x1a\x2c\x3e\xb0\xa5\xac\xa3\x7f\x7a\x1b\xbd\x8e\xd7\x58\x44\xf4" "\x2a\x3c\xe4\xc2\x31\x76\x12\x57\x1f\xe0\x3c\xdd\xda\x78\xf4\xee\xad\xf5" "\x27\x4f\xbf\xb7\xf2\xa8\xf9\xce\xf2\x3b\xcb\xab\xe3\x0b\x0b\x8b\xb3\x8b" "\x0b\x6f\xcc\xdf\xba\xbf\xd2\x5a\x9e\x6d\xcf\x4b\x15\xce\xe4\xe5\xb7\xc0" "\x59\x28\x7f\x9d\xe8\xa8\x45\xc4\xab\xc3\xeb\x0e\x78\x51\x2b\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x70\x8a\xce\xe2\xff\x42\x9c\xf7\x3e\x02\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\xff\xdb\x96\x66\xa2\xfa\x2c\x92\x98\x9b\xbd\x39\x9b\xae\xef\x6c\xcf" "\xb7\xd2\xa9\x48\x77\x4b\x56\x23\xa2\x12\x11\xc9\xaf\x23\x92\x7f\x44\xdc" "\x89\xf6\x14\x53\xa5\xe6\x92\x7e\xfd\x7c\xb8\xb2\xf8\xf6\xe7\x5f\xed\x7c" "\xd1\x6d\xab\x5a\x94\xaf\x44\x6c\xf5\xad\x37\x9a\xad\x7c\x8a\xe9\x88\x18" "\xcb\x97\x27\xd5\xde\xdd\xe1\xed\xd5\xba\xc9\x89\x1e\xd9\x49\x27\x32\x69" "\xc0\x6e\x14\x81\x83\xf3\xf6\xdf\x00\x00\x00\xff\xff\x17\xfd\xeb\x8f", 1763); syz_mount_image(/*fs=*/0x200000000000, /*dir=*/0x200000002380, /*flags=MS_I_VERSION|MS_NOEXEC|MS_NODEV*/ 0x80000c, /*opts=*/0x200000000ac0, /*chdir=*/2, /*size=*/0x6e3, /*img=*/0x200000000200); } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/ 7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; use_temporary_dir(); loop(); return 0; }