// https://syzkaller.appspot.com/bug?id=83cd9dc1cd80e0c3f3a3576d199188ae8e20702c // 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 #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) { errno = EMSGSIZE; return -1; } 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) { if (strstr(opts, "errors=panic") || strstr(opts, "errors=remount-ro") == 0) 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*)0x20000600, "hfsplus\000", 8); memcpy((void*)0x20000640, "./file0\000", 8); memcpy( (void*)0x20000680, "\x78\x9c\xec\xdd\xcb\x6f\x5c\x57\x1d\x07\xf0\xef\x1d\x8f\x9d\x38\x48\xa9" "\xdb\x26\x25\xa0\x4a\x58\x8d\x54\x50\x2d\x12\x3f\xe4\x82\xd9\x10\x10\x42" "\x5e\x54\x50\x95\x05\x6b\x2b\x99\x34\x56\x26\x6e\x65\x4f\x91\x5b\x21\x1a" "\xca\x6b\xcb\xa2\x7f\x40\x59\x78\xc7\x0a\x89\x7d\xa4\xb2\x06\xb1\xe9\xd6" "\xcb\x4a\x48\x6c\xba\xf2\xce\xd5\xbd\x73\x67\x3c\x89\x1f\x19\xe7\x35\xb6" "\xf2\xf9\x44\xd7\xe7\x9c\x39\xf7\x9c\xf3\xbb\xbf\x99\x7b\xe7\xa5\x68\x02" "\x3c\xb7\x96\x67\xd2\xbc\x97\x22\xcb\x33\x6f\x6d\x96\xed\xed\xad\x85\xf6" "\xf6\xd6\xc2\x99\xba\xbb\x9d\xa4\xac\x37\x92\x66\xb7\x48\xb1\x96\x14\x9f" "\x27\xd7\xd2\xdd\xf2\xad\xf2\xc6\x7a\xff\xe2\xb0\x75\x3e\x5d\x5d\x7a\xe7" "\x8b\xaf\xb6\xbf\xec\xb6\x9a\xf5\x96\xa2\x38\x7c\xc8\x31\xdc\xad\xb7\x4c" "\x27\x19\xab\xcb\x3d\x1f\xd7\xe5\xf8\x23\xcd\x77\x7d\xdf\x7c\xc7\x55\xf4" "\x33\x53\x26\xec\x72\x2f\x71\x30\x6a\xbb\xfb\xdc\x3d\xce\xf0\x27\x71\xf2" "\x02\x23\x56\x74\x9f\x37\xf7\x99\x4a\xce\x25\x39\x5b\xbf\x0e\x48\x7d\x75" "\x68\x3c\xdb\xe8\x1e\xae\xbc\x10\xfd\x72\xac\x7e\x55\x31\x84\x63\x5d\xe5" "\x00\x00\x00\xe0\x94\x7a\x61\x27\x3b\xd9\xcc\xf9\x51\xc7\x01\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\xa7\x49\xfd\xfb\xff\x45\xbd\x35\x7a\xf5\xe9\x14" "\xbd\xdf\xff\x9f\xa8\x6f\x4b\x5d\x3f\xd5\xee\x8d\x3a\x00\x00\x00\x00\x00" "\x00\x00\x00\x38\x4a\x31\xdc\x6e\xdf\xd9\xc9\x4e\x36\x73\xbe\xd7\xde\x2d" "\xaa\xef\xfc\x5f\xab\x1a\x17\xaa\xbf\xdf\xc8\x07\xd9\x48\x2b\xeb\xb9\x92" "\xcd\xac\xa4\x93\x4e\xd6\x33\x97\x64\x6a\x60\xa2\x89\xcd\x95\x4e\x67\x7d" "\x6e\x88\x91\xf3\x07\x8e\x9c\x7f\x02\xc7\x0c\x00\x00\x00\x00\x00\x00\x00" "\xcf\xaf\x4f\xb2\xbc\xf7\xfd\x3f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x8c\xd8\x1b\x67\x92\x14\xc9\x58\xb7\xa8\xb6\x0b\xbd\xfa\x54\x1a\xcd" "\x24\x67\x93\x4c\x94\x3b\xdf\x4d\xfe\xd3\xab\x9f\x66\xf7\x46\x1d\x00\x00" "\x00\x00\x3c\x03\x2f\xec\x64\x27\x9b\x39\xdf\x6b\xef\x16\xd5\x7b\xfe\x57" "\xaa\xf7\xfd\x67\xf3\x41\xd6\xd2\xc9\x6a\x3a\x69\xa7\x95\x1b\xd5\x67\x01" "\xdd\x77\xfd\x8d\xed\xad\x85\xf6\xf6\xd6\xc2\x9d\x72\xdb\x3f\xef\x4f\xfe" "\x7f\xac\x30\xaa\x19\xd3\xfd\xec\xe1\xe0\x95\x2f\x55\x7b\x4c\xe6\x66\x56" "\xab\x5b\xae\xe4\x7a\xde\x4b\x3b\x37\xd2\xa8\x46\x96\x2e\xf5\xe2\x39\x38" "\xae\xdf\x97\x31\x15\x3f\xae\x0d\x19\xd9\x8d\xba\x2c\x8f\xfc\xaf\x75\x79" "\x32\x4c\x25\x45\x23\xe3\xfd\x8c\xcc\xd6\xb1\x95\xd9\x78\xf1\xe8\x4c\x1c" "\x78\xef\xec\xee\xee\xee\x1e\xba\x52\x06\x57\x9a\x4b\xa3\xff\xc9\xcf\x85" "\xa7\x90\xf3\x73\x75\x59\x1e\xcf\x9f\x4f\x5a\xce\xfb\x99\x68\xa4\x95\xf9" "\x81\x47\xdf\x2b\x47\x67\x22\xf9\xee\x3f\xff\xfe\xeb\x5b\xed\xb5\xdb\xb7" "\x6e\x6e\xcc\x9c\x9c\x43\x7a\x44\x0f\x3e\x26\x16\x06\x32\xf1\xcd\xd3\x98" "\x89\x47\x8e\x63\xb6\xca\xc4\xc5\x7e\x7b\x39\x3f\xcf\xaf\x32\xf3\xf1\x74" "\xde\xce\x7a\x56\xf3\x9b\xac\xa4\x93\x56\xa6\xf3\xb3\xaa\xb6\x52\x2f\x55" "\xfe\x9d\x3a\x3a\x53\xd7\xee\x6b\xbd\xfd\xb0\x48\x26\xea\xfb\xa5\x7b\x15" "\x3d\x20\xa6\x1c\x1e\xd3\x6b\xd5\xd8\xf3\x59\xcd\x2f\xf2\x5e\x6e\xa4\x95" "\x37\xab\x7f\xf3\x99\xcb\x0f\xb2\x98\xc5\x2c\x0d\xdc\xc3\x17\x87\x38\xeb" "\x1b\xc7\x3b\xeb\x2f\x7f\xaf\xae\x4c\x26\xf9\x4b\x5d\x9e\x0c\x65\x5e\x5f" "\x1c\xc8\xeb\xe0\x35\x77\xaa\xea\x1b\xbc\x65\x2f\x4b\x2f\x3d\xf9\x6b\x63" "\xf3\xdb\x75\xa5\x5c\xe3\x0f\x75\x79\x32\x3c\x98\x89\xb9\x81\x4c\xbc\x7c" "\x74\x26\xfe\x56\x3d\xf1\x6c\xb4\xd7\x6e\xaf\xdf\x5a\x79\x7f\xc8\xf5\x5e" "\xaf\xcb\xf2\x3c\xfa\xd3\x89\x7a\x96\x28\x1f\x2f\x2f\x95\x77\x56\xd5\xba" "\xff\xd1\x51\xf6\xbd\x7c\x60\xdf\x5c\xd5\x77\xa1\xdf\xd7\xd8\xd7\x77\xb1" "\xdf\xf7\xb0\x33\x75\xa2\x7e\x0d\xb7\x7f\xa6\xf9\x07\xbe\xb3\xb9\xff\x1a" "\x5e\xf6\x5d\x1a\x18\x77\xd0\xeb\x2d\x00\x4e\xbc\x73\x6f\x9c\x9b\x98\xfc" "\xdf\xe4\xbf\x27\x3f\x9b\xfc\xe3\xe4\xad\xc9\xb7\xce\xfe\xf4\xcc\x0f\xcf" "\xbc\x3a\x91\xf1\x7f\x8d\xff\xa8\x39\x3b\xf6\x7a\xe3\xd5\xe2\x1f\xf9\x2c" "\xbf\xdb\x7b\xff\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3c\xba\x8d\x0f\x3f\xba\xbd\xd2" "\x6e\xb7\xd6\x47\x5c\x29\xea\x1f\xf2\x19\x76\x54\xf2\xcc\x43\x9d\xc8\x08" "\x16\x55\x51\x19\x4d\x65\xd4\x57\x26\xe0\x69\xbb\xda\xb9\xf3\xfe\xd5\x8d" "\x0f\x3f\xfa\xfe\xea\x9d\x95\x77\x5b\xef\xb6\xd6\xc6\x17\x17\x97\x66\x97" "\x16\xdf\x5c\xb8\x7a\x73\xb5\xdd\x9a\xed\xfe\x1d\x75\x94\xc0\xd3\xb0\xf7" "\xa4\x3f\xea\x48\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x61\x3d\x8b\xff" "\x4e\x30\xea\x63\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\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x4e\xb7\xe5\x99\x34\xef\xa5\xc8\xdc\xec" "\x95\xd9\xb2\xbd\xbd\xb5\xd0\x2e\xb7\x5e\x7d\x6f\xcf\x66\x92\x46\x92\xe2" "\xb7\x49\xf1\x79\x72\x2d\xdd\x2d\x53\x03\xd3\x15\x87\xad\xf3\xe9\xea\xd2" "\x3b\x5f\x7c\xb5\xfd\xe5\xde\x5c\xcd\xde\xfe\x8d\xa3\xc6\x0d\xe7\x6e\xbd" "\x65\x3a\xc9\x58\x5d\x3e\xa9\xf9\xae\x3f\xf6\x7c\x45\xff\x08\xcb\x84\x5d" "\xee\x25\x2e\xc9\x27\xff\x7d\xbc\x40\xe1\xb1\x7c\x1d\x00\x00\xff\xff\x53" "\x8d\x0d\xcd", 1551); syz_mount_image(0x20000600, 0x20000640, 0, 0x20000040, 5, 0x60f, 0x20000680); memcpy((void*)0x20000000, "./file1\000", 8); syscall(__NR_creat, 0x20000000ul, 0ul); return 0; }