// https://syzkaller.appspot.com/bug?id=f6d1886790cb94f7ca63881afee9cba68dd46a05 // 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 #ifndef __NR_memfd_create #define __NR_memfd_create 319 #endif static unsigned long long procid; //% 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 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; } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x20000000ul, /*len=*/0x1000000ul, /*prot=*/7ul, /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x21000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul); memcpy((void*)0x20000080, "nilfs2\000", 7); memcpy((void*)0x20000040, "./file0\000", 8); memcpy( (void*)0x20000ac0, "\x78\x9c\xec\xdd\x4d\x8c\x5b\x47\x01\x00\xe0\x79\xde\xf5\xa6\xf9\x29\x71" "\xca\x86\x2e\x69\x68\x13\x0a\x6d\xf9\xe9\x6e\xb3\xbb\x84\x9f\x08\x92\xaa" "\x11\x12\x51\x53\x71\xab\x54\x71\x89\xd2\x6d\x89\xd8\x04\x44\x2a\x41\xab" "\x1e\x92\x9c\xb8\xd1\xaa\x0a\x57\x7e\xc4\xa9\x07\x2a\x40\x48\xf4\x82\xa2" "\x9e\xb8\x54\xa2\x91\x2a\xa4\x9e\x4a\x0f\x1c\x88\x82\x54\x89\x03\x14\x12" "\xa3\xf5\xce\x78\xed\x89\xad\x67\xef\x9f\xd7\xeb\xef\x93\x66\xc7\xf3\x66" "\xec\x99\xe7\x7d\x7e\x7e\x7e\xef\xcd\x4c\x00\x46\x56\xa5\xf1\x77\x7e\x7e" "\xaa\x08\xe1\xea\x9b\xaf\x9d\xfc\xc7\x43\x7f\xdf\xb9\xb4\xe4\x78\xb3\x44" "\xad\xf1\x77\xbc\x25\x55\x0d\x21\x14\x31\x3d\x9e\xbd\xde\xfb\x63\xcb\xf1" "\xad\x0f\x5f\x3e\xdb\x29\x2e\xc2\x6c\xe3\x6f\x4a\x87\xa7\x6e\x36\x9f\xbb" "\x3b\x84\x70\x29\x1c\x0a\xd7\x42\x2d\x1c\xb8\x7a\xfd\xd5\xb7\x67\x9f\x3c" "\x7d\xf9\xd4\x95\xc3\xef\xbc\x7e\xec\xc6\xc6\xac\x3d\x00\x00\x8c\x96\x6f" "\x5f\x3b\x36\xbf\xff\x6f\x7f\xb9\x6f\xdf\x47\x6f\xdc\x7f\x22\xec\x68\x2e" "\x4f\xc7\xe7\xb5\x98\xde\x13\x8f\xfb\x4f\xc4\x03\xff\x74\xfc\x5f\x09\xed" "\xe9\xa2\x25\xb4\x9a\xc8\xca\x8d\xc7\x50\xc9\xca\x8d\x75\x28\xd7\x5a\x4f" "\x35\x2b\x37\xde\xa5\xfe\x89\xec\x75\xab\x5d\xca\xed\x28\xa9\x7f\xac\x65" "\x59\xa7\xf5\x86\x61\x96\xb6\xe3\x5a\x28\x2a\xd3\x6d\xe9\x4a\x65\x7a\x7a" "\xf9\x37\x79\x68\xfc\xae\x9f\x28\xa6\x2f\x9c\x5b\x7c\xee\xe2\x80\x1a\x0a" "\xac\xbb\x7f\x3d\x10\x42\x38\x34\x44\xe1\xf8\x16\x68\xc3\x2a\x43\x7d\x0b" "\xb4\x61\x28\xc3\x89\x2d\xd0\x86\x6d\x1a\xea\x7b\x07\xbd\x07\x02\x58\x96" "\x5f\x2f\xbc\xc3\xa5\xfc\xcc\xc2\xda\x34\x5f\x6d\xbc\xb7\xfa\x6f\x3e\x5e" "\xe9\xfc\x7c\x58\x07\x9b\xbd\xfd\xab\x7f\xb8\xea\xff\xf5\x65\x7b\x1c\xd6" "\xcf\x76\xdd\x9a\xd2\x7a\xa5\xcf\xd1\x9e\x98\xce\xaf\x23\xe4\xf7\x2f\x75" "\xff\xfc\xe5\x57\x3a\xda\x97\xe6\xd7\x23\xaa\x3d\xb6\xb3\xdb\x75\x84\x61" "\xb9\xbe\xd0\xad\x9d\x63\x9b\xdc\x8e\xd5\xea\xd6\xfe\x7c\xbb\xd8\xae\xbe" "\x1e\xe3\xf4\x3e\x7c\x23\xcb\x6f\xfd\xfc\xe4\xff\xd3\x61\xf9\x1f\x03\x9d" "\xfd\x7b\xd8\xce\xff\x0b\xc2\xa8\x87\xb0\x7e\xaf\x55\x1f\xf0\xfe\x07\xd8" "\xba\xf2\xfb\xe6\xea\x51\xca\xcf\xef\xeb\xcb\xf3\x77\x94\xe4\xdf\x55\x92" "\xbf\xb3\x24\x7f\x57\x49\xfe\xee\x92\x7c\x18\x65\xbf\x7f\xe1\xa7\xe1\x95" "\x62\xe5\x77\x7e\xfe\x9b\xbe\xdf\xf3\xe1\xe9\x3c\xdb\xdd\x31\xfe\x58\x9f" "\xed\xc9\xcf\x47\xf6\x5b\x7f\x7e\xdf\x6f\xbf\xd6\x5a\x7f\x7e\x3f\x31\x6c" "\x65\x7f\x3c\xf3\xf4\xc2\x57\x9e\x7d\xe6\xfa\xf2\xfd\xff\x45\x73\xfb\xbf" "\x1d\xb7\xf7\xf4\x73\xa3\x16\x3f\x5b\xd7\x62\x81\x74\xbe\x30\x3f\xaf\xde" "\xbc\xf7\xbf\xd6\x5e\x4f\xa5\x4b\xb9\x7b\xb2\xf6\xdc\xdd\xa1\x7c\xe3\xf1" "\x64\x7b\xb9\x62\x72\xe5\x75\x42\xcb\x7e\xe6\x8e\x76\x4c\xb5\x3f\x6f\x6f" "\xb7\x72\x07\xdb\xcb\xd5\xb2\x72\x3b\x63\xb8\x2b\x6b\x6f\x7e\x7c\xb2\x2b" "\x7b\x5e\x3a\xfe\x48\xfb\xd5\xf4\x7e\x8d\x67\xeb\x5b\xcd\xd6\x63\x22\x6b" "\x47\xda\xaf\xec\x8b\x71\xde\x0e\x58\x8d\xb4\x3d\x76\xbb\xff\x3f\x6d\x9f" "\x53\xa1\x5a\x3c\x77\x6e\x71\xe1\xb1\x98\x4e\xdb\xe9\x9f\xc7\xaa\x3b\x96" "\x96\x1f\xd9\xe4\x76\x03\x6b\xd7\x6b\xff\x9f\xa9\xd0\xde\xff\x67\x4f\x73" "\x79\xb5\xd2\xba\x5f\xd8\xbb\xb2\xbc\x68\xdd\x2f\xd4\xb2\xe5\xb3\x5d\x96" "\xcf\xc5\x74\xfa\x9e\xfb\xee\xd8\xce\xc6\xf2\xe9\xb3\xdf\x5f\x7c\x76\xbd" "\x57\x1e\x46\xdc\xc5\x17\x5f\xfa\xde\x99\xc5\xc5\x85\x1f\x6e\xfc\x83\xf3" "\xbf\x09\x61\xb3\xea\xda\xd4\x07\xdf\xdc\x1a\xcd\xf0\xc0\x83\x75\x7c\x30" "\xe8\x3d\x13\xb0\xd1\x66\x5e\x38\xff\x83\x99\x8b\x2f\xbe\xf4\xe8\xb9\xf3" "\x67\x9e\x5f\x78\x7e\xe1\xc2\xdc\xd1\xa3\x73\xb3\xb3\x47\xbf\x3a\x37\x3f" "\xd3\x38\xae\x9f\x69\x3d\xba\x07\xb6\x93\x95\x2f\xfd\x41\xb7\x04\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\xe8\xd5\x8f\x4e\x9d\xbc\xfe\xee\x5b\x5f\x7e" "\x6f\xb9\xff\xff\x4a\xff\xbf\xd4\xff\x3f\xdd\xf9\x9b\xfa\xff\xff\x24\xeb" "\xff\x9f\xf7\x93\x4f\xfd\xe0\x53\x3f\xc0\x7d\x1d\xf2\x1b\x65\xb2\x01\x56" "\x27\xb2\x72\xd5\x18\x3e\x9e\xb5\x77\x32\xab\x67\x7f\xf6\xbc\x4f\xc4\xb8" "\x39\x8f\x5f\xec\xff\x9f\xaa\xcb\xc7\x75\x4d\xed\xb9\x37\x5b\x9e\x8f\xdf" "\x9b\xca\x65\xc3\x09\xdc\x31\x5e\xca\x44\x36\x06\x49\x3e\x5f\xe0\xa7\x63" "\x7c\x25\xc6\xbf\x0a\x30\x40\xc5\xce\xce\x8b\x63\x5c\x36\xbe\x75\xda\xd6" "\xd3\xf8\x14\xc6\xa5\x18\x4e\xe9\xff\x96\xb6\x86\x34\x8e\x49\xea\xff\xdd" "\x71\x5c\xa7\x96\x7f\xf6\xbe\x4d\x68\x23\xeb\x6f\x33\xba\x13\x0e\x7a\x1d" "\x81\xce\xfe\x69\xfc\x6f\x41\x58\x73\x68\x1c\x37\x6d\x81\x76\xf4\x1b\xea" "\xf5\x6e\xb3\x78\xf4\x3a\x83\x0d\xc0\xfa\x18\xf4\xfc\x9f\xe9\xbc\x67\x8a" "\x2f\xfc\xe9\x5b\x77\x2d\x85\x54\xec\xe6\xe3\xed\xfb\xcb\x7c\xfc\x52\xe8" "\xc7\x5f\xdf\x6d\x4f\x6f\xf5\xf9\x27\xd5\xbf\xbd\xe6\xff\x6c\xce\x7f\xd7" "\xf3\xfe\x2f\x9b\x31\xaf\xb6\xba\x7a\xff\xf3\xf3\x1b\xef\xb5\x54\x1b\x0e" "\xf4\x5a\x7f\xbe\xfe\x69\x1c\xe8\xc9\xfe\xea\xff\x28\xd6\x9f\xd6\xe6\xe1" "\xd0\x5b\xfd\xf5\x5f\x66\xf5\xe7\x17\x84\x7a\xf4\xdf\xac\xfe\x5d\x3d\xd6" "\x7f\xc7\xfa\x1f\x5c\x5d\xfd\xff\x8b\xf5\xa7\xb7\xed\x91\x07\x7b\xad\x7f" "\xb9\xc5\x45\xa5\xbd\x1d\xf9\x79\xe3\x74\xfd\x2f\x3f\x6f\x9c\xdc\xca\xd6" "\x3f\x8d\xed\xd9\xf7\xfa\xaf\x72\xa2\xc6\xdb\xb1\x7e\x18\x65\xc3\x32\xcf" "\x6c\xbf\xb2\xf9\x7f\x9b\x07\xed\xab\x9f\xff\x37\xba\x54\x7c\xd0\x9a\x5c" "\xeb\xfc\xbf\xdd\xe4\xf7\x61\x7c\x29\xa6\xd3\x8e\x30\xdd\xe7\x90\xcf\x77" "\xd2\xef\xf1\x4b\xba\xbf\x22\x7d\x0f\xec\xcf\x5e\xbf\x28\xf9\x7e\x33\xff" "\xef\x70\xfb\x5a\x8c\xcb\x3e\x0f\x69\xfe\xdf\xb4\x3d\xd6\xe2\x57\x7e\x4b" "\xba\xf1\x5e\xa6\x74\xb5\xc3\x7b\xbb\x5d\xf7\x35\x30\xac\xde\x77\xfd\x4f" "\x10\x36\x3d\x34\xe7\x89\x1b\x70\x3b\xea\xf5\xfa\xc6\x9e\xd0\x2a\x31\xd0" "\xca\x19\xf8\xfb\x3f\xe8\xdf\x09\x83\xae\x7f\xd0\xef\x7f\x99\x7c\xfe\xdf" "\xfc\x18\x3e\x9f\xff\x37\xcf\xcf\xe7\xff\xcd\xf3\xf3\xf9\x7f\xf3\xfc\x7c" "\x7e\xbd\x3c\x3f\x9f\xff\x37\x7f\x3f\xf3\xf9\x7f\xf3\xfc\x7b\xb3\xd7\xcd" "\xe7\x07\x9e\x2a\xc9\xff\x64\x49\xfe\x81\xce\xf9\xcd\x9f\xed\xf7\x95\x3c" "\xff\x60\x49\xfe\xa7\x4a\xf2\x0f\x97\xe4\xdf\x5f\x92\xff\x40\x49\xfe\x3d" "\x25\xf9\x0f\x96\xe4\x7f\xa6\x24\xff\xb3\x25\xf9\x0f\x95\xe4\x3f\x52\x92" "\xff\xb9\x92\xfc\xed\x2e\xf5\x47\x19\xd5\xf5\x87\x51\x96\xf7\xcf\xf3\xf9" "\x87\xd1\x91\xae\xff\x74\xfb\xfc\x4f\x96\xe4\x03\xc3\xeb\x67\x6f\x1c\x79" "\xe2\x99\xdf\x7d\xa7\xb6\xdc\xff\x7f\xa2\x79\x3e\x24\x5d\xc7\x3b\x11\xd3" "\xd5\xf8\xdb\xf9\xc7\x31\x9d\x5f\xf7\x0e\x2d\xe9\xa5\xbc\xb7\x62\xfa\x83" "\x2c\x7f\xab\x9f\xef\x80\x51\x92\x8f\x9f\x91\x7f\xbf\x3f\x5c\x92\x0f\x0c" "\xaf\x74\x9f\x97\xcf\x37\x8c\xa0\xa2\xf3\x88\x3d\xbd\x8e\x5b\xd5\xed\x38" "\x9f\xe1\xf2\xf9\x18\x7f\x21\xc6\x5f\x8c\xf1\xa3\x31\x9e\x8e\xf1\x4c\x8c" "\x8f\xc4\x78\x76\x93\xda\xc7\xc6\x78\xe2\xb7\x7f\x38\xf6\x4a\xb1\xf2\x7b" "\x7f\x6f\x96\xdf\xeb\xfd\xe4\x79\x7f\xa0\xb6\x71\xa2\x42\x08\x73\x3d\xb6" "\x27\x3f\x3f\xd0\xef\xfd\xec\xf9\x38\x7e\xfd\x5a\x6b\xfd\xab\xec\x0e\x06" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x30\x30\x95\xc6\xdf\xf9\xf9\xa9\x22\x84\xab\x6f\xbe" "\x76\xf2\xe9\xd3\xe7\x66\x96\x96\x1c\x6f\x96\xa8\x35\xfe\x8e\xb7\xa4\xaa" "\xcd\xe7\x85\xf0\x58\x8c\xc7\x62\xfc\x8b\xf8\xe0\xd6\x87\x2f\x9f\x6d\x8d" "\x6f\xc7\xb8\x08\xb3\xa1\x08\x45\x73\x79\x78\xea\x66\xb3\xa6\xdd\x21\x84" "\x4b\xe1\x50\xb8\x16\x6a\xe1\xc0\xd5\xeb\xaf\xbe\x3d\xfb\xe4\xe9\xcb\xa7" "\xae\x1c\x7e\xe7\xf5\x63\x37\x36\xee\x1d\x00\x00\x00\x80\xed\xef\xff\x01" "\x00\x00\xff\xff\xb7\x47\x0e\x92", 2654); syz_mount_image(/*fs=*/0x20000080, /*dir=*/0x20000040, /*flags=*/0x808, /*opts=*/0x200000c0, /*chdir=*/1, /*size=*/0xa5e, /*img=*/0x20000ac0); memcpy((void*)0x200000c0, "./file2\000", 8); syscall(__NR_truncate, /*file=*/0x200000c0ul, /*len=*/0ul); return 0; }