// https://syzkaller.appspot.com/bug?id=d2402ded4261ace437310ce157e1131862495aac // 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 #ifndef __NR_memfd_create #define __NR_memfd_create 279 #endif #ifndef __NR_mmap #define __NR_mmap 222 #endif #ifndef __NR_pwrite64 #define __NR_pwrite64 68 #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; } static long syz_open_dev(volatile long a0, volatile long a1, volatile long a2) { if (a0 == 0xc || a0 == 0xb) { char buf[128]; sprintf(buf, "/dev/%s/%d:%d", a0 == 0xc ? "char" : "block", (uint8_t)a1, (uint8_t)a2); return open(buf, O_RDWR, 0); } else { char buf[1024]; char* hash; strncpy(buf, (char*)a0, sizeof(buf) - 1); buf[sizeof(buf) - 1] = 0; while ((hash = strchr(buf, '#'))) { *hash = '0' + (char)(a1 % 10); a1 /= 10; } return open(buf, a2, 0); } } //% 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*)0x20000180, "ext4\000", 5); memcpy((void*)0x200000c0, "./file0\000", 8); memcpy((void*)0x20000000, "dioread_nolock", 14); *(uint8_t*)0x2000000e = 0x2c; memcpy((void*)0x2000000f, "user_xattr", 10); *(uint8_t*)0x20000019 = 0x2c; memcpy((void*)0x2000001a, "debug_want_extra_isize", 22); *(uint8_t*)0x20000030 = 0x3d; sprintf((char*)0x20000031, "0x%016llx", (long long)0x5c); *(uint8_t*)0x20000043 = 0x2c; memcpy((void*)0x20000044, "debug", 5); *(uint8_t*)0x20000049 = 0x2c; memcpy((void*)0x2000004a, "mblk_io_submit", 14); *(uint8_t*)0x20000058 = 0x2c; memcpy((void*)0x20000059, "errors=continue", 15); *(uint8_t*)0x20000068 = 0x2c; memcpy((void*)0x20000069, "usrjquota=", 10); *(uint8_t*)0x20000073 = 0x2c; memcpy((void*)0x20000074, "stripe", 6); *(uint8_t*)0x2000007a = 0x3d; sprintf((char*)0x2000007b, "0x%016llx", (long long)7); *(uint8_t*)0x2000008d = 0x2c; memcpy((void*)0x2000008e, "nodiscard", 9); *(uint8_t*)0x20000097 = 0x2c; *(uint8_t*)0x20000098 = 0; memcpy( (void*)0x200008c0, "\x78\x9c\xec\xdb\xcf\x6f\x14\x55\x1c\x00\xf0\xef\xcc\xb6\xa0\xfc\x6a\x45" "\x44\x41\xd0\x2a\x1a\x1b\x7f\xb4\xb4\xa0\x72\xf0\xa2\xd1\xc4\x83\x26\x26" "\x7a\xc0\x63\x6d\x0b\x41\x16\x6a\x68\x4d\x84\x34\x5a\x8d\xc1\xa3\x21\xf1" "\x6e\x3c\x9a\xf8\x17\x78\xd2\x8b\x51\x4f\x26\x5e\xf5\x6e\x48\x88\x36\x26" "\xa0\xa7\x9a\xd9\x9d\x29\xbb\x4b\xb7\xf4\xc7\x2e\x8b\xcc\xe7\x93\x0c\xbc" "\xb7\xf3\x76\xdf\xfb\xee\x9b\xb7\xf3\xf6\xbd\x6e\x00\xa5\x35\x94\xfd\x93" "\x44\xec\x88\x88\xdf\x22\x62\xa0\x9e\x6d\x2e\x30\x54\xff\xef\xda\xe2\xfc" "\xe4\x3f\x8b\xf3\x93\x49\x2c\x2d\xbd\xf9\x67\x52\x2b\x77\x75\x71\x7e\xb2" "\x28\x5a\x3c\x6f\x7b\x9e\x19\x4e\x23\xd2\x4f\x93\xbc\x92\x66\xb3\xe7\x2f" "\x9c\x9e\xa8\x56\xa7\xcf\xe5\xf9\xd1\xb9\x33\xef\x8d\xce\x9e\xbf\xf0\xcc" "\xa9\x33\x13\x27\xa7\x4f\x4e\x9f\x1d\x3f\x76\xec\xe8\x91\xb1\xe7\x9f\x1b" "\x7f\xb6\x23\x71\x66\x71\x5d\xdd\xff\xe1\xcc\x81\x7d\xaf\xbe\x7d\xe9\xf5" "\xc9\xe3\x97\xde\xf9\xe9\x9b\xac\xbd\x7b\x0f\xd6\xcf\x37\xc6\xd1\x29\x43" "\x59\xe0\x7f\x2d\xd5\xb4\x9e\x7b\xbc\xd3\x95\xf5\xd8\xce\x86\x74\xd2\xd7" "\xc3\x86\xb0\x2e\x95\x88\xc8\xba\xab\xbf\x36\xfe\x07\xa2\x12\xd7\x3b\x6f" "\x20\x5e\xf9\xa4\xa7\x8d\x03\xba\x2a\xbb\x37\x6d\x6d\x7f\x7a\x61\x09\xb8" "\x83\x25\xd1\xeb\x16\x00\xbd\x51\xdc\xe8\xb3\xef\xbf\xc5\x71\x8b\xa6\x1e" "\xb7\x85\x2b\x2f\xd6\xbf\x00\x65\x71\x5f\xcb\x8f\xfa\x99\xbe\x48\xf3\x32" "\xfd\x5d\xac\x7f\x28\x22\x8e\x2f\xfc\xfb\x65\x76\x44\x97\xd6\x21\x00\x00" "\x1a\x7d\x97\xcd\x7f\x9e\x5e\x69\xfe\x97\xc6\xde\x86\x72\xbb\xf2\x3d\x94" "\xc1\x88\xb8\x27\x22\x76\x47\xc4\xbd\x11\xb1\x27\x22\xee\x8b\xa8\x95\xbd" "\x3f\x22\x1e\x58\x67\xfd\xad\x5b\x43\x37\xce\x7f\xd2\xcb\x1b\x0a\x6c\x8d" "\xb2\xf9\xdf\x0b\xf9\xde\x56\xf3\xfc\xaf\x98\xfd\xc5\x60\x25\xcf\xed\xac" "\xc5\xdf\x9f\x9c\x38\x55\x9d\x3e\x9c\xbf\x27\xc3\xd1\xbf\x35\xcb\x8f\xad" "\x52\xc7\xf7\x2f\xff\xfa\x79\xbb\x73\x8d\xf3\xbf\xec\xc8\xea\x2f\xe6\x82" "\x79\x3b\x2e\xf7\xb5\x2c\xd0\x4d\x4d\xcc\x4d\x74\x6a\x52\x7a\xe5\xe3\x88" "\xfd\x7d\x2b\xc5\x9f\x2c\xef\x04\x24\x11\xb1\x2f\x22\xf6\xaf\xef\xa5\x77" "\x15\x89\x53\x4f\x7e\x7d\xa0\x5d\xa1\x9b\xc7\xbf\x8a\x0e\xec\x33\x2d\x7d" "\x15\xf1\x44\xbd\xff\x17\xa2\x25\xfe\x42\xb2\xfa\xfe\xe4\xe8\x5d\x51\x9d" "\x3e\x3c\x5a\x5c\x15\x37\xfa\xf9\x97\x8b\x6f\xb4\xab\x7f\x53\xf1\x77\x40" "\xd6\xff\xdb\x9a\xaf\xff\x96\x12\x03\x7f\x27\x8d\xfb\xb5\xb3\xeb\xaf\xe3" "\xe2\xef\x9f\xb5\xfd\x4e\xb3\xd1\xeb\x7f\x4b\xf2\x56\x6d\xcf\x7a\x4b\xfe" "\xd8\x07\x13\x73\x73\xe7\xc6\x22\xb6\x24\xaf\xd5\xf2\x4d\x8f\x8f\x5f\x7f" "\x6e\x91\x2f\xca\x67\xf1\x0f\x1f\x5a\x79\xfc\xef\xce\x9f\x93\xc5\xff\x60" "\x44\x64\x17\xf1\xc1\x88\x78\x28\x22\x1e\xce\xdb\xfe\x48\x44\x3c\x1a\x11" "\x87\x56\x89\xff\xc7\x97\x1e\x7b\x77\xe3\xf1\x77\x57\x16\xff\xd4\x8a\x9f" "\x7f\xcb\xd7\xff\x60\x73\xff\xaf\x3f\x51\x39\xfd\xc3\xb7\xed\xea\x5f\x5b" "\xff\x1f\xad\xa5\x86\xf3\x47\x6a\x9f\x7f\x37\xb1\xd6\x06\x6e\xe6\xbd\x03" "\x00\x00\x80\xff\x8b\x34\x22\x76\x44\x92\x8e\x2c\xa7\xd3\x74\x64\xa4\xfe" "\x37\xfc\x7b\x62\x5b\x5a\x9d\x99\x9d\x7b\xea\xc4\xcc\xfb\x67\xa7\xea\xbf" "\x11\x18\x8c\xfe\xb4\x58\xe9\x1a\x68\x58\x0f\x1d\x4b\x16\xf2\x57\xac\xe7" "\xc7\xf3\xb5\xe2\xe2\xfc\x91\x7c\xdd\xf8\x8b\xca\xdd\xb5\xfc\xc8\xe4\x4c" "\x75\xaa\xc7\xb1\x43\xd9\x6d\x6f\x33\xfe\x33\x7f\x54\x7a\xdd\x3a\xa0\xeb" "\xfc\x5e\x0b\xca\xab\x75\xfc\xa7\x3d\x6a\x07\x70\xeb\xb9\xff\x43\x79\x19" "\xff\x50\x5e\xc6\x3f\x94\xd7\x4a\xe3\xff\xa3\x96\xbc\xbd\x00\xb8\x33\xb9" "\xff\x43\x79\x19\xff\x50\x5e\xc6\x3f\x94\x97\xf1\x0f\xa5\xb4\x99\xdf\xf5" "\x4b\x94\x39\x11\xe9\x6d\xd1\x0c\x89\x2e\x25\x7a\xfd\xc9\x04\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\xd0\x19\xff\x05\x00\x00\xff\xff\x25\x92" "\xee\x9c", 1082); syz_mount_image( /*fs=*/0x20000180, /*dir=*/0x200000c0, /*flags=MS_I_VERSION|MS_SYNCHRONOUS|MS_NODEV|MS_NOATIME|0x300*/ 0x800714, /*opts=*/0x20000000, /*chdir=*/0xfe, /*size=*/0x43a, /*img=*/0x200008c0); memcpy((void*)0x20000000, "/dev/loop#\000", 11); res = -1; res = syz_open_dev(/*dev=*/0x20000000, /*id=*/0, /*flags=O_NONBLOCK|O_RDWR*/ 0x802); if (res != -1) r[0] = res; memcpy( (void*)0x20000d00, "\xe4\x62\x18\xc6\xa4\x62\xe6\x0e\xba\xac\x94\x8c\x94\xfb\x58\xbb\xe8\x51" "\x71\x10\xb5\x5c\x81\x2c\x73\xb4\xfc\x9b\xbf\x10\xb5\x41\xd4\x2c\x14\x41" "\xb8\xa7\x1e\xaf\x42\x92\x13\xd7\xf5\xf9\x1e\x89\xdf\x7b\xf6\x5b\x81\x51" "\x75\x07\xa8\x92\xb8\xdb\x08\x99\x48\x51\x56\x5b\xb7\x15\x23\xbd\xfa\x12" "\xa3\x0f\x80\xf8\xfb\x09\xd7\x98\x62\x31\x0a\x99\x1a\xe0\x9e\x79\xc2\x1a" "\x09\x14\xee\xa3\xed\xfc\x13\xaa\xf6\xc0\x66\xe5\x4e\xc4\x97\x5c\x59\x23" "\xce\xc1\xe6\x65\xc2\xd5\x70\x57\x11\x3d\x79\x78\xfe\x96\x43\x1a\x36\x39" "\x79\x55\xf5\x83\xeb\xfc\x27\x08\x95\x50\xc5\x3d\x13\x3d\x8d\xe8\x2f\x26" "\xc3\x46\x67\x9b\x3a\xcc\x5e\x3a\xcb\x27\x10\xbb\xb5\xee\xfc\x6c\xaa\x12" "\x56\xdb\xd8\xb9\x6b\x35\xd4\xf3\x34\x21\xca\xe2\xbb\x04\x0f\x47\x00\x68" "\x28\x99\xcf\xd9\xfa\x25\x90\xe4\x3e\xd6\x1d\xd1\xaa\x02\x7f\x32\x84\xa9" "\x00\xfd\x40\x0b\x21\x29\x46\xdd\xa8\xdb\x00\xec\x15\xcb\xff\xa0\x34\x84" "\x3f\xf2\xe0\x43\xc0\x2d\x0d\x35\x2b\x50\x47\xa7\x08\x10\xb6\xa5\x11\x92" "\xe9\xc4\xb0\x11\x10\x79\x71\x6e\x88\x68\xbf\xae\x18\xf1\xcf\x9c\x9b\x4c" "\x1a\x2b\xdd\xab\x86\x9d\xe1\x38\x7c\x63\x9a\x2f\x52\xe0\xdf\x22\x35\x2c" "\xfd\xfe\xc0\x6b\x20\xff\x1c\xa2\x8d\x74\xfd\x64\xfd\x65\xdd\x0d\xf1\xad" "\xb3\xb0\xf9\xa4\xed\x90\x78\xf2\xda\x5b\x73\x44\x3c\xab\x94\xc9\x29\x7f" "\x80\x6e\xd6\xfc\x3e\xd1\xa0\xb1\x77\x4c\xc7\xc7\x00\xde\x85\x0a\x4b\xa3" "\x91\x6f\xa0\x51\x97\x75\xbd\xd8\x29\x51\x03\x95\x4a\xde\xb7\xde\x60\x48" "\xb6\x93\x20\x3b\x1a\x9a\xcf\x53\x83\xc5\x0c\x01\xa0\x4e\x12\xe4\x31\xa8" "\x91\x28\x12\xd3\xd4\x96\xee\x03\x31\x85\xa1\x73\x39\x2b\x75\xf5\x53\x64" "\xe9\x6c\x64\x39\xf3\x80\xc2\x40\x6d\x06\x19\x09\xb9\x88\xa1\xa4\xf6\xa4" "\x07\xc0\xcc\xb2\x8a\xd4\x28\xf1\x19\x50\xf5\x6a\xa5\xa1\x9e\x30\x34\x83" "\x88\x5c\xf7\xe6\x6a\x09\x2d\x49\x68\x2c\x8d\x5a\xb7\x64\x8c\x5d\x2c\x2f" "\xf7\x98\x6a\x88\x18\x3b\x50\x37\x98\x49\x1e\x96\x44\xf6\xd8\x34\x3b\x30" "\xcd\x01\xb0\x08\xb8\xf9\xb9\xbf\x8d\x19\x4a\x07\xf3\x93\xbc\xf2\x12\x3b" "\xaa\x2a\x94\x08\x85\x13\x9a\xc8\xa1\x8d\xd7\xe9\xfb\xfc\x82\x5b\x55\x86" "\x88\x73\xf8\xbe\xdc\x8b\xde\x88\xcb\xa1\xa6\xc2\xc3\x72\x25\x1b\xb2\x8e" "\x98\xf7\xb5\xd5\x51\x95\x5c\x20\x36\xc3\x14\xc3\xaf\x35\xe6\x5c\x48\x06" "\x6a\xa0\x2b\x4a\x4b\xcf\xbe\xa7\x1c\xc6\x22\xe2\xab\x63\xdf\x91\xb3\x89" "\x58\xe3\xa7\x12\x65\xb7\x1e\xab\xcd\x17\x2e\xf9\x24\x0f\x8d\x78\xbd\x9f" "\x04\x8c\x88\x96\x69\x51\x65\xb2\x6c\xe6\x52\x69\xee\x1e\x5d\xbc\xf8\xdb" "\x7f\x4b\xf7\x89\x32\x6d\xb4\x01\x23\xda\xf8\xd1\x1f\x8e\xed\xef\x13\x4c" "\xed\xe5\x01\x7f\x09\xb2\x97\x0f\xef\x80\x04\x95\x4f\xe7\xf7\x63\xa4\x5b" "\x40\x46\x56\x70\x3f\xb5\xc8\xae\x96\x27\x0e\x6b\x16\x7d\x12\x55\xab\x93" "\x10\xa4\x5c\x8d\xc4\xd1\xe3\x89\xd7\xc2\x2f\x45\xc6\x59\x1b\x58\xda\xb7" "\x87\x66\x3b\xde\x66\x82\xc2\xd3\xfb\xb8\x9c\xee\x57\x8f\x11\x62\x1b\x5a" "\x80\xfe\x3d\x4f\x11\x22\x0e\x41\xe9\x4b\xae\x14\x63\x99\x79\x26\x9a\x99" "\x3a\x0b\x1c\xea\x8d\x01\x7f\x85\xe9\xcc\xc2\x2a\x47\x97\x6e\xa6\x07\x79" "\x5a\x40\xda\xee\x58\xd0\x6d\x67\x00\xe7\x93\xf1\x6d\xed\x57\x2b\x5c\x9b" "\x0a\xab\x87\xdf\x3f\x29\x80\xb6\x8f\xfc\xda\xc4\x52\xc3\x5d\xe9\x16\xa7" "\xee\x3a\x44\x3f\x7a\x5a\x46\x98\x51\x27\xb0\xd1\xb4\x9b\x30\x62\x97\xbd" "\x28\xb3\xc0\x54\x9b\x08\x79\x92\x79\xda\xf5\x75\xb4\xfc\x9d\x9c\x2b\x91" "\x50\x86\x81\xcd\x18\x80\xb7\x0d\x9a\x6b\x68\x37\x2b\x3c\x5c\x7e\x0f\xe0" "\x81\xd9\xea\xa9\x76\x49\x1b\xf5\xd1\x3e\xda\xa1\x70\x23\xdf\xeb\x6f\x00" "\xbb\xfa\x67\x01\xbe\xa8\xfe\x7a\x82\x1e\x4c\x01\x9b\x6d\xec\x05\x53\x4e" "\xa6\xcb\xd4\x30\xdd\xd0\x3d\x71\x62\x1b\x57\x7e\x78\x3c\x2e\x9f\x30\x6d" "\x36\x69\x4a\x07\xb4\xb7\x37\x4a\x5f\x84\x9d\xbf\x27\x12\xfd\xfd\x39\x73" "\x8d\xf5\x85\x69\x48\x9c\xae\x5c\x92\x76\x31\x25\xad\x01\x94\x0f\x52\x18" "\x62\xc1\xfe\xce\xbb\x53\xd5\x3d\x1b\xa5\xbc\x88\xd5\xc2\x1c\x10\x22\xff" "\xe5\x23\x85\xeb\x00\xd0\xd2\x00\x7d\x77\x53\x01\x41\xb0\xb3\x9d\x56\x59" "\x29\x7b\x69\xff\xb3\x03\xa6\x67\x61\x48\xdd\x46\x5c\x2d\x5e\xf8\xe0\xa8" "\xd7\xd8\x32\xa9\x50\x40\xe5\x5c\x00\xc5\x1f\x49\x94\x64\xa7\x83\xd5\x94" "\xc1\x6a\xed\xbd\xd0\x28\xec\x2d\x50\x91\x6a\x1a\x75\x53\x53\x5a\x6a\x43" "\x3c\xf6\x7c\x8b\xc5\x7b\x62\x92\xfb\xe2\x5d\x53\x4b\x7c\x5e\xd1\x27\x4a" "\xab\x1e\xdc\x77\xb1\xa1\xe9\xf8\xb2\x22\x5b\x86\xa1\xe1\x84\x1e\x75\xe7" "\xbd\x3f\x99\x08\x8a\x3a\xaa\x20\xfb\xe4\xc9\x86\xab\x39\x2e\xab\x81\x9b" "\x6b\xc4\x07\x90\xe0\x4e\xae\x52\x6d\x06\xef\xa6\x0a\xed\x0e\x1e\x85\xb6" "\xd8\x7b\xc9\xe8\xcf\xa0\x63\x5d\x77\x90\x42\xd6\x9c\x35\x39\xdb\x44\x14" "\x77\xc8\xa0\x0f\xf2\x35\xb0\x6a\xdc\xd8\xe7\xe4\x79\x85\xcc\x04\x2b\x64" "\xff\x09\xc9\x5d\x87\x3f\xea\xba\xa4\x81\xd6\xd8\xa4\xd4\x75\x93\x2c\xc9" "\x90\x31\xd6\x71\x6d\x7a\xf2\xa0\x42\x63\x8c\x14\xaa\xf0\x76\x2e\x12\x80" "\x35\x8c\x8e\x6d\x2c\x5e\xcb\x63\xed\x1e\xa7\xa7\x8a\x07\x5f\x53\x5d\x48" "\xcc\xf7\x1b\xaa\xbc\xa7\x4b\xf4\xff\x8d\xed\x46\x00\x8a\x08\x54\x14\xfa" "\xc7\x71\xc3\x2f\xd8\x2c\xc8\xe0\x63\x62\xb6\xd8\x44\xc1\x14\x5d\x58\x86" "\x62\x87\xb1\x52\x09\xd8\x54\xee\xee\x2f\xbd\x75\x53\xd2\x4d\x39\x39\xe6" "\x0b\x0b\x5b\x4c\x55\x61\xd1\xd2\x91\x93\x56\x75\x94\xca\x2c\x5e\xac\x67" "\xaa\x78\xb7\xc7\x59\x37\x3f\xa0\x27\xdc\xbf\xa5\x21\x60\x8f\xea\xd5\xe7" "\x39\x9d\x43\x57\x91\xfc\x29\xe7\xa6\xfe\x83\xfb\x25\x7b\xbe\xd1\xe1\x17" "\x2b\x4d\xcd\x14\xb9\xac\xd0\x8c\xd5\x7d\xea\xd6\x9a\xe5\xba\x87\x5b\xc5" "\x53\xea\x1e\xa6\xd7\x78\x66\x09\x30\xfa\x5a\xce\x7c\xdb\x85\xde\x31\x96" "\x41\x84\x28\xa6\x8a\x48\x1c\xed\xd4\x24\x46\x96\x7e\x03\x91\xc7\x24\xbc" "\xad\x01\x20\x54\x90\xca\xbb\x28\xe5\x1d\xf8\x75\x7f\x4a\xe6\xe4\xdb\x66" "\xef\xf3\x1e\xd8\x63\x5c\xda\x3c\x8e\xba\x88\xd3\x2b\x4c\x81\x24\x15\x78" "\x05\xc5\xcb\x07\xc5\x7a\xd3\x44\xf8\x0d\x54\xf3\x7f\xd6\x1e\xbe\xc5\x47" "\x5e\x71\xfc\x50\x30\x7a\x2f\x3c\xda\x1a\x1c\x3c\x3e\xfe\x8c\x65\x28\x10" "\x9c\xa6\x5b\x0a\x0c\xcc\xe7\x22\x77\x90\x3d\x6e\xf5\xdd\x9b\x2c\xbd\x8f" "\xae\xc9\x8d\xcf\xf8\xf6\xa4\x58\x9a\x27\xe2\xfc\xff\x29\x80\x75\xb0\xd6" "\x9c\x78\x3e\x9e\x36\xf5\x4b\x2c\xca\x2b\xe0\x6e\x8e\xa9\x40\x67\x8b\xc7" "\xfd\x13\x75\x49\x90\x0f\x31\x74\x9a\xb4\xe5\xb6\xb0\x5c\xa4\x19\xf2\xf1" "\x2e\x96\xf7\xc4\xa3\x09\xd0\x81\x15\x83\x8d\x1e\x9d\xf3\xdf\x9e\xda\x01" "\xf1\x70\x30\x6a\x8f\xf8\x0c\x7d\x74\xce\xd0\xcb\x06\xe4\x6a\x1a\x34\x74" "\xfa\x5a\xc4\x3d\xef\xe9\xed\x06\x39\xd4\xb0\x7a\xf4\x21\x66\x1f\x2f\x4b" "\x3e\xaa\x24\x54\x42\xff\xdf\x67\xbe\x46\xf7\xc8\xfe\x68\x1e\xab\x66\xbf" "\xa1\xb4\x18\xa9\xc5\x21\x15\xfb\x5c\x84\x29\x2b\xd7\x13\x51\x03\xe4\x6d" "\x8b\x01\x2c\xb5\x32\xfc\xed\x34\xa5\xc4\x02\x10\xa3\x32\xa6\xaf\x85\xd6" "\x1f\x16\xf2\x42\x49\x48\xf0\x1e\xac\xc3\x71\xa9\xb9\x08\x00\x6c\xc1\x62" "\xf0\x10\xe9\xfd\x93\x8a\x6f\x05\x1e\x0e\x82\x4f\x60\x35\x6c\xfb\xd5\xac" "\x60\x3d\xf8\xeb\xd6\x7b\x2c\xae\xd9\x38\x0d\xb5\x05\x33\xf2\x08\xc4\x33" "\xc5\xfe\x70\xb8\xe8\x27\x8e\x66\x5c\x58\x63\x6e\xf5\x11\x32\x19\xdf\xa9" "\xf9\x6f\x68\x5a\x56\xc6\xd6\xdc\xb3\x5d\xe7\x5c\xb5\x87\x00\x46\x8f\x6c" "\xb3\xd7\x63\x0a\xac\x4a\xb0\x17\xb9\xf5\x41\xfd\x47\x16\xe9\xbe\xc6\x6b" "\xcc\x21\xec\x25\x59\xcf\xa6\x95\x2c\xdd\x34\xdf\x3c\x5a\xc5\x9f\x38\x73" "\xaa\x61\x41\x79\x50\x26\x82\xaf\x7b\x18\x30\xf6\x8f\xdf\x77\x57\x07\xc8" "\xa6\x76\x82\xa2\x94\x4b\x22\x34\xe4\xa6\x08\xc6\x7e\x76\xe8\x87\xcd\x12" "\x94\xe4\x92\x70\xfa\x84\xd9\x4e\xfa\x46\xaf\x27\x03\xc2\xab\x2b\x60\x0c" "\xfc\xa6\x65\xde\x8f\xd8\x12\x1a\x00\x6b\xd0\xd2\x16\x9d\xc3\x22\x8e\x26" "\xc1\x80\x69\xfa\xe8\xb2\x84\xef\x74\xf6\x5b\x4d\xce\x77\xec\xb8\x50\x3f" "\x4c\xf7\x2b\xa2\x0c\xda\x2d\x87\xc1\xf4\xc5\x17\xcd\x59\x50\xb0\xba\x28" "\x83\xbb\xad\x90\xe3\xd5\x1e\x19\xf4\x62\x35\x96\x6a\x34\x36\x32\x60\xa7" "\x65\xb5\x40\x1c\x95\x83\x2a\xc7\xc7\x19\x92\x52\x2c\xac\x89\x5b\xf9\x00" "\xe6\xc4\x76\x47\xf3\xb2\xe7\x6b\xa9\x80\x09\x82\xaa\xaa\x46\xfc\x5f\x92" "\x68\xeb\x49\x97\x0f\x6c\xf8\xb9\x05\x2e\xd7\x00\x26\xae\x9d\x2e\x49\x25" "\xa8\xa6\x38\x35\xbb\xe2\xc1\x70\x60\xe6\x36\x35\xfd\x61\xa0\x23\xda\xc9" "\x80\x2b\x3c\xf5\xf8\xcb\x86\x64\x02\x13\x45\x8d\xef\xa4\xf2\x1e\xb8\xbd" "\x61\xfb\x96\xcd\x94\xaf\xf1\xd5\xc9\x68\xa3\xd7\x19\x94\x5d\xd6\xdc\x91" "\x10\x4a\x95\x99\xf4\x5c\x80\x2b\x95\x97\xfc\x95\x5b\x30\xf0\x65\xee\x4c" "\x1b\xa0\xa8\x5b\xdb\x74\xf9\x85\x1c\x28\xb9\x41\x56\x3a\xa5\x08\x62\x8b" "\x1a\x0c\xb7\xa3\x6e\x95\x6d\xd0\xfc\xa0\x6e\x40\x5f\x8f\x67\x8c\x30\xa8" "\xd2\x36\x05\x80\x90\x9e\xde\xd3\x4a\xae\x9a\x0d\xb7\xa4\x6c\xd9\x80\xf4" "\x53\xb4\x34\x0b\x75\xd0\xde\xef\x62\x74\x7a\xb7\xd5\x5e\xf0\x90\x92\xa4" "\x21\x05\x64\x97\xcd\x47\xda\x8e\x01\x92\x8f\xb0\x42\x6c\x4b\x54\x3b\xf9" "\x18\xda\x52\x8c\xab\x49\x68\x77\x5b\xc5\x56\x00\xbd\x58\x60\x43\xc1\x7d" "\xc7\x82\xb3\xe6\xac\x10\x59\xbd\x37\xd1\xa0\xb3\xe5\xf3\xae\xc5\x1e\xf4" "\xb9\x8b\xa9\x98\x3e\x3b\xaf\x80\xc9\xfe\xb7\xcf\x63\x26\x07\x9b\x9f\xc6" "\x2b\x6c\x24\xda\x83\x10\xe7\x9b\x67\x94\xe1\xfb\x8e\x8d\xad\xf0\xea\x78" "\x44\xe6\x06\x1f\x98\x26\xc2\xe8\xd3\x4e\x8a\xd8\xcb\x48\x2c\xcf\xff\x89" "\xfc\x3f\xfa\x27\x32\x41\x60\x0d\xd5\x17\x64\x6c\xed\x79\xb4\x3f\x57\x63" "\x4f\x5e\x21\x05\x2a\x62\x61\x93\xf6\x12\x74\x44\x54\xc1\x37\x2a\x16\xd3" "\x1f\xc7\xfe\x26\xef\x3e\x06\x9b\xfe\x2d\x13\x87\xe9\x64\xa4\xe2\xe6\x3c" "\x66\xa9\xdc\x0e\xbf\x08\x77\x4d\xb7\xf2\x41\x8b\xca\x94\xe8\x03\x92\xf1" "\x61\x4c\x97\x2e\x59\x17\xe8\x55\x92\xec\x27\x6a\x43\x5c\xd2\x54\x1b\xc6" "\xe0\x1b\xfb\xf5\xd9\xb6\x11\xe1\xa7\xeb\x8d\xe1\x5b\x7e\x3f\xc6\xf3\x8d" "\x2f\xf0\xf1\x76\x65\x1b\x12\x63\xa7\xa0\xe9\xdc\x49\x68\xb0\xc7\xe9\xbe" "\x52\x06\x84\x85\x93\xec\xdd\x46\x26\xdf\x19\xd9\x1a\x4e\xe4\x1b\xaf\x19" "\x24\x30\x0c\x0c\xaa\x75\x08\xbc\xe6\xc8\xae\x28\xdf\x47\xd9\xc2\x84\x4a" "\x60\x38\x39\x4d\xe3\x99\x77\x0a\xa2\xa0\x2e\x3a\x06\x3a\x12\x83\xe6\x9c" "\x7a\xbd\xa9\x93\xf2\x83\x82\x3b\x29\xe0\xcf\x63\x8e\xfc\x76\x40\xfa\xf5" "\x8f\xe3\xb1\xab\x29\xbb\xad\x2a\x87\x41\x44\x04\xe3\x34\x98\x78\x63\xa9" "\x49\xf7\x42\xb3\xd2\x59\xc0\x41\xfe\x5a\xac\x29\x0a\xb4\x75\xc8\x04\x96" "\x73\xb1\xe1\x2c\xd8\xf4\xad\x9a\xad\xaa\xbe\xf5\xba\xa3\x7c\xf8\x87\x95" "\xa3\x6e\x67\xb9\xdc\x61\x6d\x66\x9e\xae\xa0\x24\x8d\xd7\xd0\xf7\xea\x39" "\xaa\x2c\x10\xbe\x33\xbf\x3f\xff\x9b\xb0\xbd\x8f\x3f\xe7\x27\x9a\x0a\x98" "\x14\x76\x7c\x43\xc1\x56\x9b\x95\x97\x98\xc6\x57\xb9\xda\xfa\x94\xde\xcc" "\xad\x40\x9a\xe6\xe1\x90\x79\x1c\xeb\x8f\xf6\xf7\x2d\xf9\x4c\x60\xac\x98" "\x94\xce\xa8\x0f\x29\xe5\x90\x6a\xb3\xbd\x4a\x17\x85\xaa\x77\x14\x2c\xf7" "\x70\x8b\xaa\x66\x7a\x6f\x2f\x80\xc5\x86\x83\xdb\x12\xcf\x10\x7c\x92\x8e" "\x37\xdd\x37\x41\x01\x32\x2a\xd7\x17\xb1\x04\x82\xb5\x0d\x0c\x98\x73\x38" "\x92\x7a\xf2\x32\x03\x37\x04\x54\xc0\x05\x81\x5f\x5d\x4b\xd7\xe0\x35\x44" "\x76\xda\x93\x1c\x6f\x28\x5c\xad\x81\x3a\x1d\x03\x70\x2a\x24\xaf\xe7\xd8" "\x78\x2f\x45\xb9\xc8\x08\xa1\x05\xa5\xf9\x22\xd5\x15\xc9\xc8\x87\xa2\xb4" "\x36\x7d\xcf\x7c\x60\xf3\x8f\x39\xd4\x1d\x12\x04\x2b\x48\x47\xbd\xdd\x80" "\x19\x53\x6d\x77\x5e\x17\xd3\x52\x12\xea\xc7\x59\x88\xa1\x99\x93\x7d\x07" "\xde\xd8\xc8\xda\x91\x4c\xb8\xe1\x60\x1a\x04\x07\x36\x97\xb9\x18\x40\x0d" "\x48\x42\x98\xab\x6b\xbc\x6b\xa8\xb8\xb0\xd2\x90\xff\xcd\x2f\x6f\x4b\x42" "\x10\xdf\x25\x75\x44\x70\xdd\x1b\x61\xf8\xef\xe8\xa4\xd6\xd0\x0c\x2f\x28" "\x41\xef\x0c\xff\x33\xbd\xb9\x9a\xba\xce\xaa\x5f\x2c\x68\xa6\x41\xbd\x7d" "\x07\x43\xf6\xe1\xfe\xb1\x71\x19\xb3\xee\xc4\xb9\xa4\x77\x1b\xe9\x80\x66" "\xd6\xb9\x18\xdd\x74\x34\x12\x24\x7c\xa2\x30\x36\x5f\xf1\xc4\xde\xb5\x7e" "\xa5\xc6\x68\x15\xd4\x7c\xe2\x6f\x1d\x26\x0d\xd6\x07\x3b\xde\x34\x19\xe4" "\x86\x6e\x80\x68\x1c\x32\xe8\xf5\x2d\xbd\x39\xb2\x47\x47\x56\x7f\xd1\xa9" "\x56\x8c\x05\x45\xa2\x0e\xd3\x68\xe9\xe3\xbf\x1c\xe9\xd3\x3a\x33\xd4\x3b" "\xdf\xf4\x21\x2d\xef\xac\x86\x56\xf4\x62\x01\x2e\x84\x24\x49\xb3\x34\xfc" "\xd7\x7a\xd4\x90\xa7\x05\xba\xed\x9b\xa8\x37\xa6\x42\xe8\x09\x39\x59\x96" "\xe9\xac\x92\x2e\xcc\xd4\xa8\x3a\xbc\x45\xb0\x13\x2c\x7e\x4f\x08\x59\x7d" "\xc7\xcf\x2e\x0a\x1c\x6c\x23\x0b\x64\x74\x5a\xc1\xbf\x02\xf0\x11\xbf\xa1" "\x3e\xb3\x96\xde\x69\x5c\x5d\xbc\x71\xcf\x00\xc7\xaa\x42\xf4\x1d\xbf\xac" "\xd9\xf0\xe4\xc0\xf3\x56\x53\xa8\x7f\x83\x1a\xfc\xa8\x1a\x60\x0c\x26\x2d" "\x7f\x5a\x4e\x04\xb7\xe2\xb4\xac\x9a\x9d\xfc\x0f\x33\x28\x38\x42\xa4\x64" "\x8d\x49\xca\x2f\x0a\x47\xd4\x4b\x03\x44\x6a\x3c\xfa\x32\xc9\x39\x1b\x13" "\x08\xc3\x4d\xb2\x7f\x53\xaf\x4a\xab\xef\x9f\x47\x94\x69\xa6\x4d\x69\xc2" "\x8f\xb1\x63\x6b\xd0\xdb\x62\xc2\xba\x30\xda\xb5\xc3\x3a\x43\xdd\x13\xcf" "\xfc\x6b\xa8\x8f\x85\x3b\xe6\xe2\xe6\x09\x92\x16\x97\x0e\xb0\xe7\x2b\xed" "\x43\x41\xa8\xd4\x14\xc4\x07\x7e\xe8\x88\xed\x80\x39\xa4\xe8\x40\x1d\x9c" "\xd2\x62\x18\x52\x71\x26\x0b\x8f\x1f\x5f\x67\xa4\xbc\xb0\x44\x6e\xf5\xbb" "\x96\x87\x4b\x25\x1d\x21\x8c\xaa\x0a\xb9\xec\x18\xf6\xe4\xde\x58\x05\x8a" "\x3e\x11\xa8\xf1\x3d\xc3\xd5\xe2\xf6\xfb\x02\xf4\x7b\xd3\x92\x66\x17\xfb" "\x89\x70\xd0\x76\x8c\xe7\x84\xa9\x86\x80\xea\xd2\x2e\xaf\x6f\x1f\x0b\x2b" "\x44\xad\x19\xc3\x09\xcb\x88\xd5\xff\x06\x4d\x47\x41\xcb\x75\xea\xf8\x32" "\x1f\xe9\x01\x9c\x6a\xdd\x45\x51\x7e\x1f\x4e\xe9\x3c\x21\x9e\xd6\xe4\xca" "\x78\x88\xfd\x8c\x56\xb1\xe6\x2e\x3c\x34\x88\xf7\x03\x91\x9e\xf6\x44\xf2" "\x43\xe9\x79\x55\x65\x9b\x60\x1f\x6a\x6a\x54\xe5\x08\x93\x41\x9c\x75\xf8" "\x54\xc3\x01\x99\xf5\x66\x20\x51\xa2\x2b\x89\xb5\xc8\x91\xd6\x3b\x37\xcf" "\x34\x83\xdb\x01\x95\x6b\x08\x28\x0d\xd8\x5c\x81\x76\x75\x3f\x78\xe1\x00" "\x4a\x46\x69\x33\x42\xec\x04\x20\x11\x9c\xd3\xa6\xf9\xa0\xba\xca\xaf\x2a" "\x2c\xab\x4d\xdd\xe0\x60\xb7\xaa\x9b\xf6\x08\x88\x6f\xb8\x9b\x01\xe1\x05" "\x65\x3c\x15\xa2\x9c\x2b\xc4\x58\x7c\xfc\x55\x38\x37\xb9\x8e\x8c\x14\xd5" "\x2a\xcc\xb0\x5c\x85\xac\x96\xbc\xd2\xa0\xfa\x27\x17\xdb\x59\x30\xba\x1c" "\xa3\x97\x95\xfb\xf1\x7a\x64\x14\x92\x37\xee\x34\xca\xfe\x60\x5e\x19\x2c" "\xb1\xfa\xb8\x34\x5a\x07\x3b\x15\xfc\xdb\x9b\x4e\x87\xa9\x94\xc8\xaf\x78" "\x2c\xaf\x55\x50\x55\xf6\x85\x49\x89\x33\xeb\xc7\x36\xf4\x5c\xed\xc6\xdd" "\x0a\x76\xa4\xf2\xff\x6d\xaa\xe2\x3b\xf0\xcb\x77\x61\xd9\xad\x94\xb1\x06" "\x9a\x2a\x20\x06\x13\x01\xad\xec\xd9\x49\x88\x3c\xfe\x90\x98\x97\xc4\x44" "\x9b\xed\x9b\x61\xd3\x26\x99\x10\x07\x67\x09\x18\xeb\xd4\xb6\xc1\x33\x92" "\x1d\xe0\x28\x4d\xa6\x3b\x4f\xb2\x24\x9b\xd1\x50\xc8\xa4\x75\x41\x66\x41" "\xe5\xb8\x32\x61\x6b\xbc\xa9\x3f\x85\x20\x62\x11\x70\x67\xeb\x24\xbf\x8e" "\xa2\xca\x48\x37\x4b\x7a\x84\xe9\xbf\xaa\xd3\x9e\x66\x2b\x5f\xdc\x24\xe8" "\xa2\x2f\xe5\xf0\x6c\x38\x3f\x37\x4e\x29\x8a\xfb\xc2\x72\x62\x5a\xbf\xa3" "\x10\xdf\x09\xf1\xc8\x8b\x15\xc2\xe9\x57\x31\x66\x56\x24\x51\xa4\x80\x5c" "\xe5\x05\x0b\xaf\xbb\xc4\xf5\x02\xef\xf4\x31\xd0\x3e\x11\x59\x8f\x7f\x24" "\x26\x0c\xe6\x9d\x7a\x4e\xa4\x8b\xa2\xab\xc7\x5b\xa3\xe1\x79\x54\x79\x8e" "\x58\x35\xad\xe5\xc0\x2f\x9e\x44\x46\x25\x65\xa3\x29\xd5\x93\x85\xbe\x46" "\x6f\xc8\x81\xc4\x6a\xad\x6c\xb9\xd4\xce\xfe\x77\x04\x87\x70\xe2\x0a\x63" "\x77\x8e\x67\xa7\xdc\xff\x38\xec\xac\x2e\x4d\xae\x4b\xf7\xf8\x18\xb1\xdf" "\xb2\xc9\x77\x5c\xe9\x57\x7b\xef\x71\xe2\x62\x66\x9d\x2b\x00\xea\x14\x64" "\xa4\x12\x3a\xe7\xdf\x30\x06\x19\x30\xc8\x27\x9d\x02\xe8\x32\xde\x83\xe1" "\x28\xad\xbf\xf0\x80\x36\x08\x96\x7b\x5b\xc9\x66\xdd\x0e\xb8\x09\xad\xc2" "\x59\xb8\x85\x83\xb2\x0e\x86\x4c\xa5\x95\x2c\xf7\xe5\x5b\x9e\x16\xe2\x0a" "\xbd\xcf\xd3\xba\x4d\x02\x06\x8f\xd7\xdd\x7f\xfc\x22\x9f\xa0\x37\xfa\xd3" "\xe3\xc0\x3c\x27\x99\x15\x65\x9d\x1f\x2d\x0a\x2a\x26\x10\x61\x71\x96\xb2" "\x05\x3c\x23\xdc\xb3\x35\x55\xe7\x90\x3b\xa5\x9c\x1c\xec\x81\x40\xde\x78" "\x0c\x44\x38\x29\x4a\x33\x0a\x7a\x2a\xf3\x09\xcb\xd5\x17\x4c\x7f\xee\x69" "\xa7\xad\xbe\xa1\x36\x33\x37\xad\x03\xb5\x21\x46\x5c\xa9\xe5\xc3\x0f\xcd" "\x38\x04\xf5\x8e\xfe\x58\xda\x04\xac\xb4\x98\xce\x21\xa9\xee\x54\xb0\xa7" "\x56\x66\x8b\x21\x3a\x94\xa6\xbe\x55\x93\xf8\x34\xe6\x74\xba\xb7\x67\xbe" "\x2a\xdf\x44\x90\x77\x3b\x83\x82\xe2\xe5\x28\x17\xa3\x1b\x1e\xa4\x7a\x6e" "\xba\x9a\xdf\xfa\x60\x36\x9a\x88\xc0\x74\x7f\x7d\xf4\x99\x26\x04\xd6\x29" "\xf0\xc6\x6f\x7c\xa1\xde\x45\xe0\x23\xac\x31\xb6\xce\x49\xbd\x6e\xba\xb3" "\xcf\x0e\x84\x88\x2b\x3a\x4d\xd6\xa0\xf3\xb6\x5b\x59\x79\x59\x98\xd4\xd8" "\x78\x68\x8a\x4e\xc0\x7f\xe5\x59\x10\x16\xf0\x53\xe7\xc7\xa2\xb2\xcd\x9c" "\x16\xd9\xbc\x21\x0e\x8f\x1f\x16\xe9\x94\xa6\x45\x9d\x51\x6a\xb3\x45\xb8" "\x8a\x1a\x9d\xfa\x4d\xb9\x17\x98\x11\x62\xc6\x35\x77\x6d\xfe\x72\x0a\xaa" "\x84\x12\xd6\xec\xf0\x74\xb8\x7d\x0c\xe6\xab\xbf\xc2\xde\xf2\x9e\x8f\xf9" "\x1e\x1e\x1f\xba\xaa\x6e\x09\xd4\xac\x9a\x58\x87\x56\xac\xab\x78\xf0\xf5" "\x2e\x7f\x1c\x6d\xf3\x28\xef\xd0\x09\xc2\x8a\xe6\x0b\x14\xa1\xca\x02\x60" "\xde\x41\x94\x40\x2c\xee\x53\x15\x0e\x03\x7b\x41\x42\x40\xc7\x3c\xf2\x94" "\x41\x8b\x64\xe5\x8d\xc1\x65\x48\xc3\xa3\x11\xee\x37\xa4\xb9\x70\x79\x20" "\xa6\x88\x79\xaf\x14\xc8\xba\x22\x08\xee\x6f\x37\x47\x3e\x27\x85\xf7\x8c" "\xfe\x5e\x7f\x5d\x9f\xc6\xdf\xc6\xfd\x50\x46\x13\xf5\x7e\x86\x54\x0b\x5a" "\x10\x5a\xe6\xdb\x87\xed\x32\xaa\xfc\x91\xe3\x14\x22\x9b\xfe\x2f\xac\x05" "\x32\xeb\xa8\xea\x8a\x17\x2f\xdd\x67\xe3\x5e\x06\xce\xca\x47\x89\x0b\x8a" "\xdc\xba\xa5\x08\xc4\x6a\xf6\x22\xa9\xfd\xe2\x7f\x18\x8f\x5c\xfe\x8b\xee" "\x90\xec\xeb\xda\x1e\xa0\xe3\xf7\x02\x97\x84\xa3\x09\x16\xbc\xda\xf8\x78" "\x32\xb0\xb5\xbe\x02\xb5\x59\x69\x4c\xa7\x66\x1f\x18\xdd\x68\x3f\x16\xd4" "\xe7\x78\x64\x1b\x13\x51\xa9\x63\x61\x5e\xad\x89\xa5\x49\x88\x94\xac\x62" "\xe2\x6b\xe1\x5c\xfe\x22\xc4\x38\x65\xb3\x9c\xa8\xda\x15\x0e\x1f\x15\xd4" "\x61\xb2\x71\x5f\xe8\x9c\x72\x52\x41\x88\x7a\x1b\xc6\x3d\xc4\xde\x14\xda" "\x72\x43\x97\x31\x40\x23\x9a\x3b\x6b\xb0", 4096); syscall(__NR_pwrite64, /*fd=*/r[0], /*buf=*/0x20000d00ul, /*count=*/0x1000ul, /*pos=*/0ul); } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x20000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/ 7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x21000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/-1, /*offset=*/0ul); const char* reason; (void)reason; for (procid = 0; procid < 5; procid++) { if (fork() == 0) { use_temporary_dir(); loop(); } } sleep(1000000); return 0; }