// 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, 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, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); memcpy((void*)0x20000ec0, "nilfs2\000", 7); memcpy((void*)0x200000c0, "./file1\000", 8); *(uint8_t*)0x20000140 = 0; sprintf((char*)0x20000141, "%023llo", (long long)-1); sprintf((char*)0x20000158, "%020llu", (long long)-1); *(uint16_t*)0x2000016c = 0; memcpy((void*)0x2000016e, "\xc1\xd4\xf3\xdd\x27\xd2\x2c\x61\x80\x66\xe3\xe8\xd2\xd0\xa0\x42\xdc" "\xef\x6a\x37\x89\x82\x65\x65\x13\xee\xaa\xc9\xb7\x88\xe5\xbb\x1e\x39" "\x86\x51\xc3\xaa\xb5\xc8\xe9\xfa\x2e\x05\xf1\x7b\x16\x90\x06\x8f\x9d" "\x46\x28\x03\x0e\xac\x4d\xda\xc4\x1e\x8d\x71\x52\x68\x61\x04\x2f\xdc" "\x9d\x13\x45\x70\x1d\x36\x63\x4b\x97\x21\xcc\xd9\x85\x46\x64\x05\x66" "\xfe\x00\x00\x00\x00\x00\x00\x75\x0c\xc2\x01\x73\xc1\x25\xa5\xa1\x5a" "\xbb\xc1\xaa\x6e\x1f\x27\xa1\xe6\x0c\x37\x19\x9d\x63\xce\x5f\xf7\xab" "\x69\xa1\x35\x2d\xb0\x50\xa4\xe6\xce\xa0", 129); sprintf((char*)0x200001ef, "0x%016llx", (long long)-1); *(uint32_t*)0x20000201 = -1; *(uint32_t*)0x20000205 = -1; sprintf((char*)0x20000209, "0x%016llx", (long long)-1); memcpy( (void*)0x20001e40, "\x78\x9c\xec\xdd\x4f\x68\x5c\xd7\xb9\x00\xf0\x73\x47\x7f\x6d\x29\xd6\x28" "\xc9\x7b\x71\x92\x17\xdb\x2f\x79\x79\x4e\xdc\x56\x76\x64\x2f\xd2\x9d\x03" "\xa6\x85\x10\x42\x36\xdd\x27\x38\x76\x62\xaa\xa4\x6e\x9d\x2e\x12\x62\xac" "\x74\xe5\x40\x17\x29\x21\x85\xa6\x74\x91\x92\xec\x0a\xee\xa2\xd0\x84\x42" "\x09\x85\x42\xff\x64\xd1\x6d\xbb\x28\xa1\xdd\xb4\x14\x17\x0c\x81\xd2\x80" "\xad\x22\xe9\x9c\xd1\xe8\x48\xd7\x33\xba\x9a\xb9\x23\x69\x7e\x3f\xf8\x74" "\xe6\xdc\x73\xe7\x7e\xdf\xd5\xc8\xf2\x3d\xa3\x99\x33\x01\x18\x5a\x8d\x95" "\xaf\xa7\x4e\x1d\x2c\x42\x78\xe7\xa3\xb7\xcf\x7c\xf5\xca\xad\x9f\x2f\x6f" "\x3b\xdc\xda\xe3\xc8\xca\xd7\x22\xf6\x9a\x21\x84\xb1\xb6\x7e\x91\x1d\xef" "\xd3\xb8\xe1\xe6\x8d\xd7\xcf\x2e\xb7\xb7\xb2\x36\x84\xf9\xe5\x7b\x8d\xa6" "\xf1\xf0\xf4\xf5\xd6\x7d\xa7\x42\x08\x8b\xe1\x48\xf8\x38\x34\xc3\xe1\x63" "\xcd\xcf\xae\x8e\x3c\x75\xfe\x83\x77\x3f\x39\x7a\xf9\xe2\x93\x2f\xf6\xe5" "\xe4\x01\x00\x60\xc8\x5c\xfb\xdd\xc2\x9f\x1e\xfd\xdb\x6f\xbf\x38\xfb\xf9" "\xb5\x43\xa7\xc3\x44\x6b\x7b\xba\x3e\x6f\xc6\xfe\x54\xbc\xee\x3f\x11\xaf" "\xef\xd3\x75\x7f\x23\xac\xef\x17\x6d\xd1\x6e\x3c\xdb\x6f\x24\x46\x23\xdb" "\x6f\x24\xdb\x6f\x34\xcb\x33\x5a\x92\x6f\x2c\x3b\xce\x58\xc9\x7e\xe3\x1d" "\xf2\x8d\xb4\x6d\xdb\xec\x3c\x01\x00\x00\x60\x37\x4a\xf3\xda\x66\x28\x1a" "\x73\xeb\xfa\x8d\xc6\xdc\xdc\xea\xbc\x7f\xd9\xa7\x33\xe3\xc5\xdc\xcb\x17" "\x16\xce\x5f\x1a\x50\xa1\x00\x00\x00\x40\x65\x9f\x5d\x59\x79\xd1\xad\x18" "\x4c\x2c\xae\x3c\x08\x5d\xef\x3f\x39\xe8\x7a\x85\x10\x42\x08\x21\x84\x10" "\x42\xec\xd2\x58\x9a\x19\xf4\x33\x10\x00\x00\x00\xc0\xb0\x49\xeb\x0e\xb4" "\xd6\x07\xcb\x2d\xe6\x2b\x0b\x6c\x4f\xeb\x68\xcd\xee\xf2\x5f\x7f\xa2\xb1" "\xf9\xfd\xa1\x07\x3a\xfd\xfc\xf5\xfb\xe7\xad\xee\x7f\x7f\xf2\x6f\x2d\xff" "\xfb\x6f\xf8\x8d\x03\x00\x40\x75\x7b\xf5\x6a\x32\x9d\x57\xba\x8e\x9e\x7a" "\x73\xdf\x4a\x3f\x5f\x47\x70\x24\xbb\xdf\x56\xaf\xff\x1b\xd9\x71\x46\xb7" "\x58\x67\xd9\xba\x82\xbb\x65\xbd\xc1\xb2\x3a\xf3\xef\xeb\x4e\x55\x56\xff" "\x56\x1f\xc7\x41\x29\xab\x3f\x5f\x0f\x73\xa7\x2a\xab\x3f\x5f\xa7\x73\xa7" "\x2a\xab\x7f\xa2\xe6\x3a\xaa\x2a\xab\x7f\x72\x97\xfc\x0e\x2a\xab\x71\x5f" "\xcd\x75\x54\x55\x56\xff\xfe\x9a\xeb\xa8\xaa\xac\xfe\xa9\x9a\xeb\xa8\xaa" "\xac\xfe\xe9\x9a\xeb\xa8\xaa\xac\xfe\x3b\x6a\xae\xa3\xaa\xb2\xfa\x0f\xd4" "\x5c\x47\x55\x65\xf5\xef\x96\x97\xd5\x96\xd5\xdf\xac\xb9\x8e\xaa\xca\xea" "\x9f\xad\xb9\x8e\xaa\xca\xea\xbf\xb3\xe6\x3a\xaa\x2a\xab\xff\xae\x9a\xeb" "\xa8\xaa\xac\xfe\xbb\x6b\xae\x63\x50\x1e\x88\x6d\xfa\x3e\x1c\xca\xc6\x5b" "\xf3\xe7\x4d\xe6\x74\xbb\x65\x8e\x07\x00\x00\x00\xc3\xee\xdf\xd6\xff\x13" "\x3d\x8c\xc3\x3b\xa0\x06\x21\xc4\xb6\x63\x64\x07\xd4\x20\x84\x10\x42\x08" "\x21\x7a\x1c\x57\x06\xfd\x04\x04\x00\x00\x00\x30\x70\xe9\x7d\x01\xe9\x5d" "\xef\x4b\x51\x1a\x1f\xe9\x30\x3e\xda\x61\x7c\xec\xb6\xe3\x23\xad\xf7\x01" "\x97\xdd\x7f\xa2\xc3\xf8\x46\xff\xea\xb8\x07\x00\x00\x00\xec\x35\xbf\xb8" "\x7a\xfe\xde\xb7\x8a\xb5\xf7\xf9\x6f\x77\x3d\xbc\xc9\xd8\xa6\xf5\x97\xb6" "\xba\x8e\x51\xbe\x1e\xe1\x56\xf3\x6f\x77\xdd\xb3\xed\xe6\xdf\x2d\xeb\x96" "\x01\x00\x00\x30\x5c\x8a\xaf\x7c\x7c\xeb\xd8\x99\xf7\x5e\x99\xfd\xfc\xda" "\xa1\xd3\x6d\xb3\xdf\x5b\x71\xbe\x9b\xd6\x01\x1d\x8d\xcf\x0d\x7c\x18\xfb" "\xe9\x75\x01\xd3\x59\xbf\x48\x73\xe8\xd3\xeb\xf3\x34\x4a\xf6\xcb\x9f\x1f" "\xb8\xa3\xec\x78\xcf\x6c\xf3\x44\x01\x00\x00\x60\x88\xa5\xf9\x7b\x33\x14" "\x8d\xb9\xb6\x79\x77\x33\x34\x1a\x73\x73\x6b\xf3\xf1\x83\x61\xac\x38\x7f" "\x61\xe1\xdc\x89\xd8\x4f\x9f\xcf\xf2\x9b\x99\xc9\x10\xc2\xc2\xb9\xc7\x6a" "\xae\x1b\x00\x00\x00\xe8\xde\xda\x7c\xbf\xd8\x17\x36\x99\xff\xa7\xcf\xf1" "\x3d\x18\xc6\x8b\xb9\x97\x2f\x2c\x9c\xbf\xb4\xda\x9f\x6e\x6d\x1f\x6b\xb4" "\x3f\x2f\x30\xb3\xb6\x7d\xe5\xf9\x82\xc7\x5a\xc7\x5b\xbf\x7d\xbe\x64\xfb" "\xc9\xd8\x4f\x9f\xdf\xf9\xe2\xcc\xbe\x95\xed\x73\x67\xbf\xb1\xf0\x7c\x8f" "\xcf\x1d\x00\x00\x00\x86\xc5\xa5\x57\x5f\xfb\xfa\x73\x0b\x0b\xe7\xbe\xd5" "\xb7\x1b\x45\x28\x42\x9f\x53\xb8\xd1\xd7\x1b\x57\xb6\x74\xaf\x23\xf1\x27" "\x6b\x87\x14\xef\x46\xc5\x1b\x03\xfe\xc5\x04\x00\x00\xf4\xdc\x07\x7f\x7d" "\xfb\xf7\xdf\x3e\x39\xfd\xcb\xd5\xf7\xff\xaf\xad\x7f\x97\xde\xff\x9f\x66" "\x73\xcd\xb8\xb6\xdf\x1f\xe2\x0e\xe9\x75\x02\xe9\x7d\x00\x1b\xde\xaf\xff" "\xec\xfa\x3c\x33\x65\xfb\x5d\x5c\xbf\x5f\x33\xdb\x6f\x24\xc6\x44\x56\xf7" "\x64\xdb\x71\xda\x17\xdd\x4b\xf7\x9b\x2d\xcb\xd7\x5c\x7f\x9c\xf1\x92\x7c" "\x53\x59\xbe\xe9\xf6\x7c\x9b\xac\x53\x30\x9a\xed\x9f\xf2\x1d\xc8\xb6\xe7" "\xeb\x13\xa6\xfd\x66\xb2\xed\xf9\x3a\x8c\xa3\x59\x8e\x22\xcb\xff\x60\xb6" "\xff\xf7\x03\x00\x00\x00\xac\x39\xfe\xca\x4b\x17\x8f\x5f\x7a\xf5\xb5\x2f" "\x5d\x78\xe9\xb9\x17\xce\xbd\x70\xee\xe5\x93\x27\xe6\xbf\x3c\xff\xf8\xfc" "\xfc\xa9\xf9\xe3\x2b\xaf\xeb\x3f\xde\xfe\xea\x7e\x00\x00\x00\x60\x37\x5a" "\x7b\xd1\xef\xa0\x2b\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x80\xe1\x55\xc7\xc7\x89\x0d\xfa\x1c\x01\x00\x00\x60\xd8\xfd\xf3" "\x4a\x08\x61\x51\x08\x21\x84\xb8\x7d\xac\x7c\x12\xcc\x0e\xa8\x43\x88\x1e" "\xc4\xea\xc7\xff\x0e\xbe\x0e\x31\xb4\x11\x3f\x81\xba\x87\xc7\x2c\x06\x7e" "\x4e\x42\x0c\x43\xfc\xb9\xe7\xff\x76\xeb\x8e\xa5\xa5\xfc\x93\xe6\x01\x00" "\x00\x00\xfa\xeb\xe6\x8d\xd7\xcf\xb6\xb7\x1b\x2c\x16\x3d\xcd\xd7\x3a\x5a" "\x73\xb5\xb9\x15\xf3\xa6\xf6\xd7\x0f\xff\xe8\xe1\xe5\x48\xbb\x5d\x7f\x62" "\xfd\xf3\x25\xfb\x7b\x5a\x0d\xc3\xae\xee\x9f\xff\xdb\xe7\x1f\x1d\x70\xfe" "\x4d\x0c\x79\xfe\xf7\xdf\xe8\x6d\xfe\xc9\x74\xa3\xeb\xdf\x7f\x8d\xf5\x07" "\x38\x5d\x2d\xef\xff\x7f\xef\xef\x8f\xb4\xe7\xbf\x6f\xb4\xcb\xfc\xf9\xf9" "\x3f\x53\x2d\xff\xd1\x2c\xff\xd1\xd0\x5d\xfe\xa5\xf7\xb2\xfc\xcf\x56\xcb" "\xff\x48\x96\x7f\x7f\x97\xf9\x37\x9c\xff\xc5\x8d\xc7\xfe\xc1\x83\x9d\xf3" "\x3f\x1a\xf3\x1f\x4c\xf5\x3c\xd4\x6d\xfe\xf5\x8f\xff\x44\x6c\xd3\x79\xec" "\xeb\x9c\x7a\xc5\xb1\xec\xfc\x9f\x0f\xdd\xe6\xcf\xce\xbf\xd9\x65\xc2\xcc" "\x17\x62\x7e\x00\x18\x46\x8d\x41\x17\xd0\x0f\xe3\x6b\x37\xd3\x75\xf4\x54" "\xec\xa7\xf3\x4d\x33\x9b\xfc\xd5\x0f\x5b\xbd\xfe\x6f\x64\xc7\xd9\x64\xc6" "\x54\x49\x3a\x6e\xba\x0e\xba\x27\xf6\xd3\xf5\xd2\x74\x96\x37\xd9\x6a\xfd" "\x53\xd9\xf1\xee\xa8\x58\x67\x6e\xb7\xbc\xaa\xa4\xac\xfe\x5e\x3d\x8e\xfd" "\x56\x56\xff\x58\xcd\x75\x54\x55\x56\xff\x78\xcd\x75\x54\x55\x56\xff\x44" "\xcd\x75\x54\x55\x56\xff\x64\xcd\x75\x54\x55\x56\x7f\xb7\xf3\xd0\x41\x2b" "\xab\x7f\xb7\x3c\xaf\x5c\x56\xff\x54\xcd\x75\x54\x55\x56\xff\x74\xcd\x75" "\x54\x55\x56\xff\x56\xff\x1f\x1f\x94\xb2\xfa\x0f\xd4\x5c\x47\x55\x65\xf5" "\xcf\xdc\xe6\x3e\x3b\xe9\xff\xb6\xb2\xfa\x2b\x3e\xad\x56\xbb\xb2\xfa\x67" "\x6b\xae\xa3\xaa\xb2\xfa\xef\xac\xb9\x8e\xaa\xca\xea\xbf\xab\xe6\x3a\xaa" "\x2a\xab\xff\xee\x9a\xeb\x18\x94\xfb\x63\x5b\x36\x1f\x4e\xf3\xcf\x99\x38" "\x96\xfa\xcd\xac\x3f\xb1\xc9\xf7\xb2\xad\xbf\x14\xf5\xed\x3c\x00\x00\x00" "\x80\x72\xff\xb0\xfe\x9f\x10\x42\x6c\x2f\x1a\x35\xe7\x4b\x7f\xe0\x1e\xf4" "\x79\x0b\xb1\x83\x62\xd1\xbf\x89\x81\xc5\x37\xff\xb8\x85\xfd\x8b\xc1\xd7" "\xdb\x83\x28\x56\x6f\x0c\xbc\x0e\x21\xfa\x1b\x4b\x4b\x83\xaf\x41\xf4\x3c" "\xfc\x49\x7e\xb8\xf5\xf7\xdd\xcc\x00\xec\x54\x7e\xff\x0f\x37\x8f\xff\x70" "\xf3\xf8\x0f\x37\x8f\x3f\xb7\x93\x5e\xc3\x5f\x64\xfd\x64\xa4\xc3\xf8\x68" "\x87\xf1\xb1\x0e\xe3\xe3\xd9\x78\xfe\xf3\x3a\xd1\x61\xfc\xae\xec\xb8\xf9" "\x1b\x11\xee\xee\x30\xfe\x5f\x1d\xc6\x0f\x74\x18\xbf\xa7\xc3\xf8\xc1\x0e" "\xe3\xf7\x76\x18\xbf\xaf\xc3\xf8\xfd\x1d\xc6\x01\x00\x00\x18\x0e\xff\x1d" "\x5b\xf3\x43\x00\x00\x00\xd8\xbb\x2e\xff\xe4\xc3\xef\xfe\xec\xe8\xb3\x37" "\x66\x3f\xbf\x76\xe8\x74\x18\xdf\xb0\xee\xfc\x89\xd8\x9f\x88\x7f\x5b\xbf" "\x1a\xfb\xf9\xba\xf7\xc9\x58\xfc\x9b\xff\x77\x62\xff\xc7\xb1\xfd\x55\x6c" "\xff\x92\xed\xef\xf5\x27\x00\x00\x00\xd0\x7f\xe9\x73\x62\xfc\xfd\x1f\x00" "\x00\x00\xf6\xae\xf4\x39\xa5\xe6\xff\x00\x00\x00\xb0\x77\xcd\xc6\xd6\xfc" "\x1f\x00\x00\x00\xf6\xae\x3b\x63\x6b\xfe\x0f\x00\x00\x00\x7b\x58\x31\xb9" "\xf9\xe6\xd8\xa6\xe7\x05\x1e\x8c\x6d\xb7\xeb\xfa\x01\x00\x3b\xdf\xff\xc4" "\xf6\x81\xd8\x1e\x8a\xed\xe1\xd8\xfe\x6f\x6c\xd3\x75\xc0\x43\xb1\xfd\xbf" "\x9a\xea\x03\x00\x7a\xe7\x87\x5f\x7b\xf3\xf1\xb7\x8a\xb5\xf5\xfe\x4f\x66" "\xe3\x37\xe3\xf6\xd4\x6e\xb0\xb8\xfa\x4c\x41\xd1\x58\xbf\x92\xff\xbe\xd8" "\xee\x8f\xed\xc3\x5d\xd6\x93\x7f\x1e\x40\xb7\xf9\x93\x03\x5d\xe6\xe9\x57" "\xfe\x99\x6d\xe6\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf6\x8e\xc6\xca\xd7\x53\xa7\x0e\x16" "\x21\xbc\xf3\xd1\xdb\x67\x66\x2e\x9f\x79\x61\x79\xdb\xe1\xd6\x1e\x47\x56" "\xbe\x16\xb1\xd7\x0c\x21\x8c\xb5\xee\x97\x46\xd7\xfa\x3f\x8d\x3b\xde\xbc" "\xf1\xfa\xd9\xe5\xf6\x56\x6c\x97\x62\x5b\x84\xf9\x50\x84\xa2\x35\x1e\x9e" "\xbe\xde\xca\x34\x15\x42\x58\x0c\x47\xc2\xc7\xa1\x19\x0e\x1f\x6b\x7e\x76" "\x75\xe4\xa9\xf3\x1f\xbc\xfb\xc9\xd1\xcb\x17\x9f\x7c\xb1\x8f\xdf\x02\x00" "\x00\x00\xd8\xf3\xfe\x13\x00\x00\xff\xff\x5c\xfc\x34\x78", 3920); syz_mount_image(0x20000ec0, 0x200000c0, 0x2008054, 0x20000140, 1, 0xf50, 0x20001e40); memcpy((void*)0x20000040, "./file1\000", 8); syscall(__NR_creat, 0x20000040ul, 0ul); return 0; }