// https://syzkaller.appspot.com/bug?id=f9740648d100e6ae99b75feec427a943682cfee3 // 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) 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) { 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*)0x20000040, "udf\000", 4); memcpy((void*)0x200000c0, "\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); memcpy((void*)0x200001c0, "umask", 5); *(uint8_t*)0x200001c5 = 0x3d; sprintf((char*)0x200001c6, "%023llo", (long long)4); *(uint8_t*)0x200001dd = 0x2c; memcpy((void*)0x200001de, "noadinicb", 9); *(uint8_t*)0x200001e7 = 0x2c; memcpy((void*)0x200001e8, "unhide", 6); *(uint8_t*)0x200001ee = 0x2c; memcpy((void*)0x200001ef, "uid=forget", 10); *(uint8_t*)0x200001f9 = 0x2c; memcpy((void*)0x200001fa, "longad", 6); *(uint8_t*)0x20000200 = 0x2c; memcpy((void*)0x20000201, "gid=forget", 10); *(uint8_t*)0x2000020b = 0x2c; *(uint8_t*)0x2000020c = 0; memcpy( (void*)0x20000b00, "\x78\x9c\xec\xdb\x5d\x6c\x5b\xe7\x79\x07\xf0\xe7\xe5\x91\x6d\xda\xed\x5a" "\xc5\x4d\xdd\xa4\xcd\x52\x16\x0d\x02\x4f\x69\x03\xf9\x23\xb6\x12\x6f\x80" "\x3d\xab\x42\x9b\xa9\x89\x51\x59\xd9\x7c\x33\x98\xb2\x64\x87\x88\x44\xa9" "\x92\x5c\x38\xdd\xd0\x79\xd8\x80\x22\x40\x07\x18\x05\xd6\x8b\x75\x18\x72" "\xb3\x8b\x01\xbb\xf0\x2e\x86\x01\xbb\x0a\x76\x31\x0c\x18\x36\x18\xbb\x18" "\x8a\x15\xed\xb4\x74\xcd\xd2\x3b\x15\xfb\xc8\xd5\xa6\xe1\x1c\xbe\x94\x28" "\x59\x8e\x95\x38\xb6\x64\xe7\xf7\x33\xec\x3f\x79\xf8\x1c\xf2\xfd\xa0\xc9" "\x43\xbe\x3c\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" "\xfc\xea\x97\x4e\x0d\x1e\x4a\xdb\xdd\x0a\x00\xe0\x5e\x7a\x61\xec\x6b\x83" "\x47\xbc\xff\x03\xc0\x87\xca\x59\x9f\xff\x01\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x60\xa7\x4b\x51\xc4\xf7\xff\x60\x34\x5e\xfe\xd1\x72\x3a\x5f" "\x5d\xef\xa8\x8f\xb6\xda\x97\xaf\x8c\x0f\x8f\x6c\xbe\xdb\xde\x14\x29\x6a" "\x51\x54\xf5\xe5\xdf\xfa\xa1\xc3\x47\x8e\x3e\x73\xec\xf8\x50\x37\xdf\x7d" "\xff\x0f\xda\xa3\xf1\xe2\xd8\xd9\x53\x8d\xd3\xb3\x33\x73\xf3\x53\x0b\x0b" "\x53\x93\x8d\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4e\x93\xdd\xb9\xaf\x5e\x57\x46\x5f\x6a\x7c\xa5\x7d\x71\xb6" "\xa7\xb6\xfb\xba\x72\xdf\xbf\x3f\xdc\x3b\x0f\xbf\xb5\xc3\x5f\x9b\xea\x51" "\xc4\x44\xf5\x8a\xbf\x9c\xde\xff\xc1\x0e\x00\x00\x00\x00\x00\x3b\x4f\x11" "\x7f\x1d\x29\xae\xcf\x1c\x4c\x73\xd1\xbb\xa6\xd8\x6a\x5f\x6a\x9c\x6d\x4e" "\x4c\x77\xbe\x15\xee\x7e\xf7\xdf\xc8\x7b\xad\xac\xac\xac\xf4\xa7\x4e\x36" "\x72\x0e\xe6\x3c\x99\xf3\x4c\xce\xf3\x39\xe7\x72\x5e\xcd\x79\x2d\xe7\xeb" "\x39\xaf\xe7\x7c\x23\xe7\x8d\x9c\x4b\x39\x97\x73\x46\x2d\x3f\x7e\xce\x46" "\xce\xc1\x9c\x27\x73\x9e\xc9\x79\x3e\xe7\x5c\xce\xab\x39\xaf\xe5\x7c\x3d" "\xe7\xf5\x9c\x6f\xe4\xbc\x91\x73\x29\xe7\x72\xce\xb0\xee\x05\x00\x00\x00" "\x00\x00\x00\xc0\x0e\xb3\x37\x8a\xf8\x61\xa4\xf8\xfc\x5f\x7e\xa3\x3a\xaf" "\x38\xaa\xf3\xd2\x3f\x7e\x62\xe8\xe0\x97\x9f\xe8\x3d\x67\xfc\x53\xb7\xb9" "\x9f\xb2\xf6\xe9\x88\xb8\x1e\x5b\x3b\x27\x77\x57\x3e\x75\x38\xd5\xca\x3f" "\x1f\x7c\xbf\xd8\x9a\x7a\x14\xf1\xad\x7c\xfe\xdf\xef\x6e\x77\x63\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x80\x6d\x55\x8b\x22\x3e\x15\x29\xbe\xf7\xda\x72" "\x8a\x14\x11\x8d\x88\xf3\xd1\xc9\xa5\x62\xbb\x5b\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\xbc\x1f\xf5\x54\xc4\xe9\x48\xf1\xb3\x2f\xd5\xab\xeb\x37" "\x22\xe2\xd3\x11\xf1\x7f\x2b\xe5\x9f\x88\x58\x5a\xd9\x60\xbb\x5b\x0c\x00" "\x00\x00\x00\x00\x00\x00\xdc\x24\x15\x31\x18\x29\x1e\x7a\x74\x39\xf5\x47" "\xc4\x95\xfe\xb7\xf6\x7c\xe4\x40\xff\x89\xe3\xcf\x9f\xdb\x5f\x44\x11\xa9" "\x2c\xe9\xad\x7f\x71\xec\xec\xa9\xc6\xe9\xd9\x99\xb9\xf9\xa9\x85\x85\xa9" "\xc9\xc6\x78\xbb\x75\x61\x76\x72\x6a\xab\x0f\x57\x1f\x6d\xb5\x2f\x5f\x19" "\x1f\x1e\xb9\x2b\x9d\xb9\xad\xbd\x77\xb9\xfd\x7b\xeb\xa7\x67\xe7\x5e\x9d" "\x6f\x5d\x7a\x79\x71\xd3\xdb\xf7\xd5\x4f\x4d\x2c\x2c\xce\x37\x2f\x6c\x7e" "\x73\xec\x8d\x5a\xc4\x60\xef\x96\x81\xaa\xc1\xe3\xc3\x23\x55\xa3\xa7\x5b" "\xcd\x76\xb5\x6b\xaa\xdd\xa2\x81\xb5\x88\xc6\x56\x3b\x03\x00\x00\x00\x00" "\x00\x00\xc0\x03\x63\x5f\x2a\xe2\x99\x48\xf1\x72\xeb\x68\xea\xae\x1b\xf7" "\x75\xd6\xfc\x7f\xa1\x73\xad\x58\xad\xfd\xd3\xdf\x5e\xfb\x2d\xc0\xf4\x86" "\xec\xea\xfd\xfd\xc0\x56\x2e\xa7\xad\x36\x74\xa0\x5a\x78\x6f\x8c\x0f\x8f" "\x8c\x8c\xf5\x6c\xee\xdb\x75\x73\x69\xd9\xa6\x94\x8a\xf8\x8b\x48\xf1\x99" "\xdf\x78\xa4\x5a\x0f\x4f\xb1\x6f\xd3\xb5\xf1\xb2\x6e\x77\xa4\x38\xf6\x8d" "\xa3\xb9\xae\xff\x33\x65\xdd\xc9\x75\x55\xf5\x81\xf1\xe1\x91\xc6\x0b\xb3" "\xed\x2f\x9e\x9a\x9e\x9e\xbd\xd0\x5c\x6c\x4e\x4c\x4f\x35\xc6\xe6\x9a\x17" "\xb6\xfc\xc3\x01\x00\x00\x00\x00\x00\x00\x00\xb8\x8b\xf6\xa5\x22\xfe\x24" "\x52\xfc\xe6\xe0\x8d\xd4\x3d\xef\x3c\xaf\xff\xf7\x75\xae\xf5\xac\xff\xff" "\x72\xb5\x84\x5e\xa9\xa7\xf5\xb9\xaa\x5a\xdb\xff\x58\xb5\xb6\xdf\xb9\xfc" "\xf1\x13\x43\x8d\x91\xcf\xde\x6a\xfb\xdd\x58\xff\x2f\xdb\x94\x52\x11\xff" "\x12\x29\x1e\xfa\xad\x47\xaa\xf3\xe9\xbb\xeb\xff\x83\x1b\x6a\xcb\xba\xff" "\x8c\x14\xff\xfc\xf7\x8f\xe5\xba\xda\xee\xb2\xee\x50\xb7\x3b\x9d\x7b\xbc" "\xd8\x9a\x9e\x1a\x4c\x79\xac\x3e\xf7\x54\xb7\x36\xaa\xda\xe3\xb9\xf6\x13" "\x6b\xb5\x87\xca\xda\xcf\x45\x8a\x3f\x7b\x72\x7d\xed\x50\xae\x7d\x78\xad" "\xf6\x70\x59\xfb\xfb\x91\xe2\x7f\x9f\xd9\xbc\xf6\x93\x6b\xb5\x47\xca\xda" "\xdf\x8b\x14\xbf\xf6\x66\xa3\x5b\xbb\xaf\xac\x1d\xcd\xb5\x07\xd6\x6a\x9f" "\xbe\x30\x3b\x3d\x79\xbb\x61\x2d\xe7\xff\x6f\x22\xc5\x99\x9f\x7d\x39\x75" "\xfb\x7c\xcb\xf9\xef\xf9\xfd\xc7\xd5\x0d\xb9\xea\xa6\x39\x7f\xf7\xcb\x1f" "\xd4\xfc\xf7\xf7\x6c\xbb\x9a\xe7\xf5\x87\x79\xfe\x0f\xdd\x66\xfe\xff\x36" "\x52\xfc\xe1\x8f\x1f\xcb\x75\x9d\xb1\x3f\x9c\x6f\x7f\xa8\xfa\x77\x6d\xfe" "\x7f\x3d\x52\xfc\xc7\x2f\xae\xaf\x3d\x96\x6b\xf7\xaf\xd5\x1e\xda\x6a\xb7" "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xec\x84\xf3\xff\x01\x00\x00\x00\x00\xe0\xc3\x6e\x5f\x2a\xe2\xcf\x23\xc5" "\x7f\x0d\x7e\x21\x75\xcf\x21\xdb\xca\xef\x3f\x27\x37\xe4\xaa\x6d\xfa\xfd" "\xdf\x81\x9e\x6d\x93\xf7\xe8\xbc\x96\x2d\x0f\x32\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\xc0\x0e\x94\xa2\x88\xc7\x23\xc5\xcb\x3f\x5a\x4e\x4b\x45" "\x79\xbd\xa3\x3e\xda\x6a\x5f\xbe\x32\x3e\x3c\xb2\xf9\x6e\x7b\x53\xa4\xa8" "\x45\x51\xd5\x97\x7f\xeb\x87\x0e\x1f\x39\xfa\xcc\xb1\xe3\x43\xdd\x7c\xf7" "\xfd\x3f\x68\x8f\xc6\x8b\x63\x67\x4f\x35\x4e\xcf\xce\xcc\xcd\x4f\x2d\x2c" "\x4c\x4d\x36\xc6\xdb\xad\x0b\xb3\x93\x53\x5b\xbe\x87\x3b\xdd\x7f\xa3\x81" "\x6a\x00\x1a\x33\xaf\x5c\x9e\xbc\x78\x71\xa1\x71\xf8\xe9\x23\xeb\x6e\xbe" "\xd2\xff\xd6\x9e\x8f\x1c\xe8\x3f\x71\xfc\xf9\x73\xfb\xbb\xb5\xe3\xc3\x23" "\x23\x63\x3d\x35\x7d\xbb\xde\xf7\xa3\xdf\x24\xdd\x62\xfb\xee\x28\xe2\x62" "\xa4\xa8\x7f\xfb\xed\xf4\x6f\x45\x44\x2d\xee\x7c\x2c\x6e\xf3\xdc\xb9\xdb" "\xf6\x56\x9d\x18\xa8\x3a\x31\x3e\x3c\x52\x75\x64\xba\xd5\x6c\x2f\x96\x37" "\xa6\x5a\xae\xaa\x45\xf4\xf7\xec\x74\xb2\x3b\x46\xf7\x60\x2e\xee\x48\x23" "\xe2\x6a\xd9\xfc\xb2\xc1\x03\x65\xf7\xc6\xe6\x9a\xf3\xcd\x89\xe9\xa9\xc6" "\x99\xe6\xfc\x62\x6b\xb1\x35\xdb\x4e\xb5\x4e\x6b\xcb\xfe\xf4\x47\x2d\x86" "\x52\xc4\x5c\x44\x2c\x17\x37\xdf\xdd\xae\x28\x62\x22\x52\x7c\xe7\x9d\xe5" "\xf4\x66\x11\x51\x74\xc7\xe1\xa9\x17\xc6\xbe\x36\x78\xe4\xf6\xed\xa9\xdd" "\x85\x3e\x6e\x41\x5f\xd9\xb7\x22\xe2\x46\xdc\x07\x73\xb6\x83\xed\x89\x22" "\x3e\x1a\x29\xbe\x7b\x6e\x30\x7e\x52\x74\xc6\xb5\x1a\xb6\x27\x23\xbe\x5a" "\xe6\xe3\x11\x5f\x2f\x73\x29\xe2\x5a\xbe\x9e\xca\x27\xc8\x63\x11\x3f\xdf" "\xe4\xf9\xc4\xfd\xa5\x2f\x8a\x38\x13\x29\x66\xd3\x72\xfa\xf7\x22\xcf\x7d" "\xf5\xba\x32\xfa\x52\xe3\x2b\xed\x8b\xb3\x3d\xb5\xdd\xd7\x95\xfb\xfe\xfd" "\xe1\x5e\xda\xe1\xaf\x4d\xf5\x28\xe2\xa7\xd5\x2b\xfe\x72\xfa\xa9\xff\xcf" "\x00\x00\x00\x00\x00\x0f\x90\x22\x7e\x25\x52\x5c\x9f\x39\x98\xaa\xf5\xc1" "\xd5\x35\xc5\x56\xfb\x52\xe3\x6c\x73\x62\xba\xf3\xb5\x7e\xf7\xbb\xff\x46" "\xde\x6b\x65\x65\x65\xa5\x3f\x75\xb2\x91\x73\x30\xe7\xc9\x9c\x67\x72\x9e" "\xcf\x39\x97\xf3\x6a\xce\x6b\x39\x5f\xcf\x79\x3d\xe7\x1b\x39\x6f\xe4\x5c" "\xca\xb9\x9c\x33\x6a\xf9\xf1\x73\x36\x72\x0e\xe6\x3c\x99\xf3\x4c\xce\xf3" "\x39\xe7\x72\x5e\xcd\x79\x2d\xe7\xeb\x39\xaf\xe7\x7c\x23\xe7\x8d\x9c\x4b" "\x39\x97\x73\x86\xef\xc9\x01\x00\x00\x00\x00\x00\x80\x1d\xa8\x16\x45\x3c" "\x12\x29\xbe\xf7\xda\x72\x5a\x29\x3a\x0b\xbc\xe7\xa3\x93\x4b\xd6\x39\x1f" "\x78\xff\x1f\x00\x00\xff\xff\x64\xc2\x44\x5c", 2603); syz_mount_image(0x20000040, 0x200000c0, 0, 0x200001c0, 1, 0xa2b, 0x20000b00); 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; }