// https://syzkaller.appspot.com/bug?id=5870f4bbc7294f2b4405a408e35e7e96100fb284 // 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; } uint64_t r[1] = {0xffffffffffffffff}; 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); intptr_t res = 0; memcpy((void*)0x20000580, "udf\000", 4); memcpy((void*)0x200005c0, "./file0\000", 8); memcpy((void*)0x20000080, "longad", 6); *(uint8_t*)0x20000086 = 0x2c; memcpy((void*)0x20000087, "gid=ignore", 10); *(uint8_t*)0x20000091 = 0x2c; memcpy((void*)0x20000092, "noadinicb", 9); *(uint8_t*)0x2000009b = 0x2c; memcpy((void*)0x2000009c, "iocharset", 9); *(uint8_t*)0x200000a5 = 0x3d; memcpy((void*)0x200000a6, "macceltic", 9); *(uint8_t*)0x200000af = 0x2c; memcpy((void*)0x200000b0, "longad", 6); *(uint8_t*)0x200000b6 = 0x2c; memcpy((void*)0x200000b7, "gid=ignore", 10); *(uint8_t*)0x200000c1 = 0x2c; memcpy((void*)0x200000c2, "longad", 6); *(uint8_t*)0x200000c8 = 0x2c; *(uint8_t*)0x200000c9 = 0; memcpy( (void*)0x20000bc0, "\x78\x9c\xec\xdd\xcd\x6f\x1c\x67\x19\x00\xf0\xe7\x1d\x7b\x37\x6b\x93\xa6" "\xdb\xa4\x24\x4d\x1b\xd0\x4a\x70\x88\x8a\x12\xf9\x23\x69\x1a\x5c\x3e\x42" "\x5c\x4b\x88\x40\xa3\x26\xe6\xc0\x09\x37\x76\x52\xab\x8e\x1d\xd9\x29\x6a" "\xaa\xaa\xea\xff\xc1\x81\x53\x2f\x20\xa1\x1e\x38\xa0\x4a\x48\xc0\x81\x2b" "\x17\x2e\x88\x0b\x07\xe8\xd9\x48\x48\xbd\x35\x68\xc6\xb3\x3b\xeb\xad\x83" "\x17\xd6\x1b\xdb\xcd\xef\x27\x59\x3b\x1f\xcf\xbc\xf3\x71\xb0\xf4\xbc\x9f" "\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\x44\x7c\xef\xd5" "\x2b\x13\x93\x69\xbf\x9f\x02\x00\x00\x00\x18\xa6\x1f\xdd\x78\x7d\x62\x4a" "\xfe\x0f\x00\x00\x00\x5f\x68\x37\xb5\xff\x03\x00\x00\x00\x00\x00\x00\xc0" "\x61\x97\x22\x8b\x7b\x91\xe2\x9b\x17\x37\xd3\xd1\x62\x7f\x4b\xe3\xda\xf2" "\xea\xdb\xef\xcc\xcf\xce\xed\x7c\xd9\x58\x2a\xae\x1c\x29\xe2\xf3\xbf\xc6" "\xe4\xd4\xf4\x85\x8b\x2f\x5d\x7a\xb9\xfd\xfb\xdf\xaf\xdf\x6b\xa7\xe3\xb5" "\x1b\x37\xaf\xb4\xae\xae\xdd\xbd\xb7\xbe\xb4\xb1\xb1\xb4\xd8\x9a\x5f\x5d" "\xbe\xb5\xb6\xb8\xd4\x77\x09\x83\x5e\xdf\xeb\xc5\xe2\x03\xb4\xee\xbe\xf5" "\xf6\xe2\xed\xdb\x1b\xad\xa9\xf3\xd3\xdb\x4e\xbf\xd3\xfc\xe4\xc8\x97\x4e" "\x36\x67\x2e\x8f\x1d\x7f\xa3\x1d\x3b\x3f\x3b\x37\x77\xa3\x2b\x66\xb4\xf6" "\x7f\xdf\xfd\x73\xf4\xf0\x00\x00\x00\x78\xb2\xd5\x23\x8b\x0b\x91\xe2\xe6" "\x0b\xbf\x4e\x4f\x45\x44\x16\x83\xe7\xc2\xbb\xd4\x1d\x0c\xdb\x58\x34\xf3" "\xfc\xbb\x78\x89\xf9\xd9\xb9\xe2\x45\x56\x96\x17\x56\xef\xe7\x27\xaf\xb7" "\x13\xe1\xe6\xf6\x9c\xb8\xde\xce\x91\x1f\x43\x2e\x3e\x90\x66\xc4\xf1\xfc" "\x59\xeb\x32\x7a\x00\x00\x00\xfa\x57\x8b\x2c\xbe\x1a\x29\x4e\x7f\xb6\x99" "\x8e\x45\xc4\x48\x3b\x0f\xfe\x46\x31\x31\xe0\xee\x05\x34\x1f\xc3\x43\xee" "\x60\x34\x22\x4e\x44\xc4\xd9\x38\x04\x39\x3b\x00\x00\x00\xec\xb3\x23\x91" "\xc5\xeb\x91\xe2\x77\x2b\xcd\x78\xba\xcc\xab\x8b\xfc\xff\xbb\x11\x33\xfb" "\xfd\x70\x00\x00\x00\xc0\x9e\x18\x8d\x2c\x2e\x45\x8a\x7f\xcf\x6c\xa6\x66" "\xd1\x1f\x20\x22\x5e\x9c\x9f\x9d\x6b\x5d\xfb\x71\xeb\xfb\xab\xb7\xd7\xe2" "\x4c\x27\xf6\x7a\x2a\x5b\xd4\x0f\xfb\xf8\x80\xc7\x49\xdf\x04\x00\x00\x00" "\x0e\x80\x46\x64\xf1\x54\xd1\xe2\xbf\x99\x9e\xd9\xef\x87\x01\x00\x00\x00" "\x86\x62\x2c\xb2\xf8\x79\xa4\xf8\xcb\xf4\xcf\x8a\x79\xe5\xa2\x98\x97\xfe" "\xe9\x99\xcb\xd7\x16\x8e\x75\xcf\x30\x77\x6a\x97\x72\xf2\xd8\xf3\x11\xf1" "\x42\x9f\x63\xf2\x6b\xe5\x5c\x83\xd7\xd3\xf5\x94\xb2\xbd\x7f\x2f\x00\x00" "\x00\xa0\xd2\x48\x59\xfc\x23\x52\x7c\xfa\xd7\x46\xb1\x7f\xb6\x3d\x06\xe0" "\xef\x0f\x1f\x3e\xdc\xef\x87\x03\x00\x00\x00\xf6\x46\xca\xe2\xb9\x48\xf1" "\xcf\x6f\x6d\xa6\xd4\xb3\x2e\xfd\x48\xd7\xfa\xfe\x1d\x87\x7d\xec\xff\x70" "\x9f\x7f\xac\x71\x75\xed\xde\x83\xf5\xe5\x3b\x6f\xde\xdf\xf1\xfc\x78\xe3" "\xca\x1b\x1b\xf7\xd7\x17\x6e\xed\x7c\x7a\x6b\xed\xc2\x6d\xdd\x21\x76\x5b" "\xc7\x10\x00\x00\x00\xfa\x50\x4b\x59\xcc\x44\x8a\x1f\x5c\xfc\xa8\x93\x77" "\x96\x6b\x00\x8c\x6e\xed\x55\x89\xe6\x87\xaf\x54\xb9\x69\x23\xf5\x9c\x2d" "\xea\x0d\x8e\x15\xf5\x06\x9d\x31\x04\x57\xc7\xcf\x75\x6f\xef\x98\xb2\xfe" "\x0f\xf3\xe3\x35\xcb\xfb\x8e\x0c\xfe\xda\x00\x00\x00\xf0\x44\x49\x29\x8b" "\x7a\xa4\xf8\xfa\x1f\x9f\x2b\xd7\xfe\x1f\x8f\xcf\xb5\x41\x97\x71\x7f\x8e" "\x14\xaf\xac\x9d\x29\xe3\xb2\x7a\x1e\x57\x56\x12\x14\xb9\x79\x44\xe3\xf6" "\xf2\xca\xd2\x44\x1e\x3b\x1b\x29\x7e\xb3\xd2\x8e\x8d\x22\xf6\x48\x19\x7b" "\xa2\x8a\x9d\xcc\x63\xff\x90\x97\xbb\xb0\x3d\xb6\x51\xc6\x3e\x5b\xc5\x4e" "\xe5\xb1\x9f\x45\x8a\x37\xd7\x77\x8e\xfd\x72\x15\x3b\x9d\xc7\xae\x47\x8a" "\x5f\xfd\xa2\xd5\x8e\x1d\xcf\x63\x8f\x96\xb1\x27\xab\xd8\xf3\xb7\xd6\x56" "\x16\x87\xf6\x81\x01\x00\x00\xe0\x00\xa8\xa5\x2c\x4e\x44\x8a\xdf\x9e\x6b" "\xa5\x76\x2e\xbf\xbd\xfd\xbf\x6a\x6d\xff\xf0\xbd\xaa\xbd\xff\x83\xde\x82" "\x1e\xd1\xe6\xdf\x5f\xfb\xff\x27\x8f\x6c\xff\x6f\x76\x1d\xfb\xa0\xac\x87" "\x38\x52\xd6\x57\x8c\xee\x52\x5f\xf1\x5a\xa4\x38\xfd\xcc\x99\xf6\xfb\x14" "\x75\x05\xed\x6e\x05\x5b\x6b\x1d\x54\xf5\x15\xff\x8a\x14\xeb\x3f\xd9\x1e" "\x5b\x2f\x63\x8f\x57\xb1\x93\x7d\x7f\x58\x00\x00\x00\x38\x40\xf2\xfc\xff" "\x72\xa4\xb8\x53\xff\xb8\xd3\xe5\xbe\xcc\x81\xcb\xdd\x9d\xf3\xff\xe7\x47" "\x7b\x0a\x1a\x28\xff\x7f\x74\xff\xff\xee\x35\x09\xf3\x7b\x6e\x3c\x78\xf7" "\xad\x85\x95\x95\xa5\x75\x1b\x36\x6c\xd8\xe8\x6c\x0c\xfe\xbf\x10\x00\x00" "\xbe\xe8\xf2\xfc\x7f\x31\x52\x7c\xfc\xfb\xbf\x75\xda\xbb\xcb\xfc\xbf\xec" "\x2a\x5f\xe5\xff\x9f\xbe\x5f\xe5\xff\x33\xbd\x05\x0d\x29\xff\x3f\xde\x75" "\x6c\xa6\x9c\x6f\xa0\x36\x1a\xd1\xb8\x7f\xf7\x5e\xed\x54\x44\x63\xe3\xc1" "\xbb\xe7\x96\xef\x2e\xdc\x59\xba\xb3\xb4\x3a\x79\x61\x62\x72\x7a\xea\xe5" "\x89\x97\x2e\xd7\xea\xed\xc6\xfd\x6a\x6b\xe0\x6f\x05\x00\x00\x00\x87\x55" "\x9e\xff\xbf\x1a\x29\x7e\xf8\xed\x5f\x76\xc6\xe7\xf7\xd3\xfe\x3f\xde\x5b" "\xd0\x90\xf2\xff\x13\x5d\xc7\xf2\x7b\x56\x8d\x7e\x03\xbf\x3a\x00\x00\x00" "\x3c\x31\xf2\xfc\xbf\x16\x29\xde\xff\xd3\x47\x9d\x79\xf4\xb6\xe7\xff\x5d" "\xf3\xff\xbf\x57\x8d\xb3\x3f\xfb\xb5\xad\xdf\x4e\xed\xc0\x90\xf2\xff\x67" "\xbb\x8e\x35\xcb\xfb\x8e\xed\xcd\xab\x03\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\xc0\x81\x51\x4b\x59\x5c\x8a\x14\x23\xcf\x8f\xa6" "\x72\xc2\xff\xbe\xe6\xff\x5b\xec\x2d\x68\x48\xe3\xff\x4f\x76\x1d\x5b\x8c" "\xc7\xb3\xfe\xdf\xc0\x1f\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x0e\xa9\x2c\xb2\x58\x8e\x14\x5f\x39\xb5\x99" "\xbe\x93\x1f\xf8\x69\xc4\xd1\xee\x5f\x00\x00\x00\xe0\xd0\xfb\x4f\x00\x00" "\x00\xff\xff\xba\x4b\x1c\xad", 1393); syz_mount_image(0x20000580, 0x200005c0, 0, 0x20000080, 1, 0x571, 0x20000bc0); memcpy((void*)0x20000280, ".\000", 2); res = syscall(__NR_open, 0x20000280ul, 0ul, 0ul); if (res != -1) r[0] = res; memcpy((void*)0x20000300, "\023\023w\305\3745\324\024T\325\324\035)\255\032`)" "Y\201F\346\276\026nA\255\r\275@T\003<\2373\273\332\202$" "\242\363\327r\347cnH\263<\277p\203r\350\361\271\223>" "\305\022wC\276\"\006 \236\360-\371\313\362\366\350\200\3238/\000", 78); syscall(__NR_mkdirat, r[0], 0x20000300ul, 0ul); return 0; }