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