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