// https://syzkaller.appspot.com/bug?id=cbb1b4cf82cb0654c3e3123a3765c59d7449f2e9 // 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 #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, max_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 void reset_loop_device(const char* loopname) { int loopfd = open(loopname, O_RDWR); if (loopfd == -1) { return; } if (ioctl(loopfd, LOOP_CLR_FD, 0)) { } close(loopfd); } 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, 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) { int loopfd; memset(loopname, 0, sizeof(loopname)); snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); if (setup_loop_device(data, size, loopname, &loopfd) == -1) return -1; close(loopfd); 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) { bool has_remount_ro = false; char* remount_ro_start = strstr(opts, "errors=remount-ro"); if (remount_ro_start != NULL) { char after = *(remount_ro_start + strlen("errors=remount-ro")); char before = remount_ro_start == opts ? '\0' : *(remount_ro_start - 1); has_remount_ro = ((before == '\0' || before == ',') && (after == '\0' || after == ',')); } if (strstr(opts, "errors=panic") || !has_remount_ro) 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) reset_loop_device(loopname); errno = err; return res; } int main(void) { syscall(__NR_mmap, /*addr=*/0x1ffffffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200000000000ul, /*len=*/0x1000000ul, /*prot=PROT_WRITE|PROT_READ|PROT_EXEC*/ 7ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x200001000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul, /*fd=*/(intptr_t)-1, /*offset=*/0ul); const char* reason; (void)reason; if (write(1, "executing program\n", sizeof("executing program\n") - 1)) { } memcpy((void*)0x200000000c40, "udf\000", 4); memcpy((void*)0x200000000040, "./file0\000", 8); memcpy( (void*)0x200000003440, "\x78\x9c\xec\xdd\x5d\x6c\x5c\xe9\x59\x07\xf0\xe7\x9d\x63\xaf\x1d\xa7\xb4" "\xde\x6e\x9b\x6d\xa1\x5b\x46\x14\x95\x28\x25\x51\xbe\x9a\x64\x15\x54\x9c" "\xae\x6b\xa8\x94\x66\xab\x3a\xae\xd8\xab\x7a\xfc\x91\x74\xb4\x8e\x1d\xd9" "\x0e\xcd\x16\x58\x0c\x55\x41\xe2\x82\x8a\xbd\x41\xdc\x20\x8b\xb2\x02\xa9" "\x17\x5c\xb1\x5c\xe2\xb6\x8b\xd4\x0a\x21\xa1\xaa\x17\x45\x02\xc9\x12\xed" "\xaa\x17\xbd\xb0\x50\xa5\x22\x50\x3b\xd5\x39\xf3\x8e\x3d\x4e\x9c\x78\x36" "\x1f\x6b\x67\xf3\xfb\xad\xbc\xff\x99\x33\xcf\x99\x79\x3f\xc6\x73\x8e\xa5" "\xbc\x73\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\xf8" "\xf8\x27\x2e\x1c\x3f\x91\xf6\xba\x15\x00\xc0\x5b\xe9\xd2\xf8\x67\x8e\x9f" "\x72\xfc\x07\x80\xc7\xca\x65\x7f\xff\x03\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\xc0\x7e\x97\xa2\x88\x43\x91\x62\xe8\xb5\x8d\x34\x59\xdd\x6f\x1b" "\xbc\xd8\x9c\xbf\x71\x73\x62\x74\x6c\xe7\xdd\x0e\xa4\x48\x51\x8b\xa2\xaa" "\x2f\x7f\x06\x4f\x9c\x3c\x75\xfa\xa3\x67\xce\x9e\xeb\xe4\xdd\xf7\x7f\xd0" "\xde\x1f\xcf\x8f\x5f\xbe\x50\x7f\x6e\xe1\xda\xf5\xc5\xd9\xa5\xa5\xd9\x99" "\xfa\xc4\x7c\x73\x7a\x61\x66\xb6\xe7\x67\xb8\xdf\xfd\x6f\x75\xa4\x1a\x80" "\xfa\xb5\x17\x6f\xcc\x5c\xb9\xb2\x54\x3f\x79\xec\xd4\xb6\x87\x6f\x0e\xbf" "\x31\x70\xf0\xd0\xf0\xf9\xb3\x47\xcf\x9c\xeb\xd4\x4e\x8c\x8e\x8d\x8d\x77" "\xd5\xf4\xf5\xdf\xf3\xab\xdf\xe6\x4e\x2b\x3c\x9e\x88\x22\x1a\x91\xfe\xb7" "\xd5\x6a\xa5\x46\x44\xd4\xe2\xfe\xc7\x62\x97\xf7\xce\xc3\x76\xa0\xea\xc4" "\x91\xaa\x13\x13\xa3\x63\x55\x47\xe6\x9a\x8d\xf9\xe5\xf2\xc1\x54\x6b\x17" "\x15\x11\x51\x8f\xe8\x6b\x65\xe5\xb6\x6b\xdf\x68\xb5\xde\x8a\xb9\xb8\x77" "\x7f\xfe\xa5\xce\xad\xda\x48\xd9\xc7\xb2\x7b\xe3\xd7\x1b\x8b\x8d\xa9\x91" "\x54\xff\x74\x63\x71\xb9\xb9\xdc\x5c\x98\x4f\xb5\x76\x6b\x53\xd5\xc7\x5a" "\x9c\x4b\x11\xab\x11\xb1\x3e\x70\xfb\x33\xf6\x47\x11\x1f\x8c\x14\xaf\x1c" "\xdf\x48\x53\x79\x5c\xaa\xf7\xca\x47\xaa\x85\xc1\xbb\x37\x29\x8f\x67\xfc" "\xe7\x83\xeb\x65\x2f\xaa\xf9\xeb\x8f\x58\xad\x6d\xfd\xae\xed\xcf\x39\xdb" "\xdf\x06\xa2\x88\x4b\x91\xe2\xc7\xaf\x1f\x8e\xe9\x72\xcc\xf2\x4f\x7c\x38" "\xe2\x53\x65\xbe\x16\xf1\x6a\x99\x1f\x8b\x48\xe5\x1b\xe3\x74\xc4\x0f\x76" "\x78\x1f\xf1\x68\xea\x8b\x22\xfe\x2d\x52\x2c\xa4\x8d\x34\x53\x7d\x1e\x74" "\x3e\x57\x2e\x7e\xb6\xfe\xc9\xf9\x2b\x0b\x5d\xb5\x9d\xcf\x95\xfb\x3b\x3e" "\xfc\x68\xef\x8f\x0f\x77\x3e\x1c\x3e\x78\xfb\xfc\xb3\x69\x30\x8a\x98\xaa" "\x86\x63\x23\xdd\xfb\xc9\x0e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x0f\xda\x81\x28\xe2\xab\x91\xe2\x4b\xcf\xfc\x6e\xac\x94\x1b\xaa" "\x75\xe9\xef\x3a\x7f\xee\x1d\x2f\xfc\x56\xf7\x22\xb9\xa7\x77\x79\x9e\xb2" "\xf6\x58\x44\xac\xd4\x7a\x5b\x93\xdb\x9f\x97\x0e\xa7\x5a\xf9\xdf\x43\xe8" "\x18\x3d\x19\x8c\x22\x5e\xce\xeb\xff\xfe\x68\xaf\x1b\x03\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x58\x2b\xe2\x85\x48\xf1\xb9" "\xa3\x87\xd3\x6a\x74\x5f\x53\xbc\x39\x7f\xb5\x7e\xb9\x31\x35\xd7\xbe\x2a" "\x6c\xe7\xda\xbf\xf5\xbc\x57\xab\xd5\x6a\xd5\x53\x3b\x47\x72\x4e\xe6\x5c" "\xc9\xb9\x9a\x73\x2d\xe7\x7a\xce\xa8\xe5\xfd\x73\x8e\xe4\x9c\xcc\xb9\x92" "\x73\x35\xe7\x5a\xce\xf5\x9c\x51\xe4\xfd\x73\x8e\xe4\x9c\xcc\xb9\x92\x73" "\x35\xe7\x5a\xce\xf5\x9c\xd1\x97\xf7\xcf\x39\x92\x73\x32\xe7\x4a\xce\xd5" "\x2a\x7f\xb3\xb5\x96\xef\xaf\xe7\x8c\x7d\x72\xed\x5e\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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\xb7\x93\x5a\x14\xf1\xb3\x48\xf1\x95\x2f\x6c\xa4" "\x48\x11\x31\x12\x31\x19\xed\x5c\x1b\xd8\xeb\xd6\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\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa5\xc1\x54\xc4" "\xb1\x48\xb1\xf6\xc2\x60\x75\x7f\xb5\x16\x71\x39\x22\x7e\xd6\x6a\xb5\x3a" "\x3f\x11\xb1\x51\x66\xef\x6a\xb1\xd3\xd6\xbd\xee\x2b\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xec\x5b\xa9\x88\x0f\x45\x8a\xa7" "\xfe\x6f\x23\xd5\x23\xe2\xe6\xf0\x1b\x03\x07\x0f\x0d\x9f\x3f\x7b\xf4\xcc" "\xb9\x22\x8a\x48\x65\x49\x77\xfd\xf3\xe3\x97\x2f\xd4\x9f\x5b\xb8\x76\x7d" "\x71\x76\x69\x69\x76\xa6\x3e\x31\xdf\x9c\x5e\x98\x99\xed\xf5\xe5\x06\x2f" "\x36\xe7\x6f\xdc\x9c\x18\x1d\x7b\xf0\x3d\xf9\x95\x9f\xec\xfe\x15\x03\x07" "\x1e\x72\xfb\x0f\x0c\x3e\xb7\x70\xfd\xa5\xc5\xe6\xd5\xcf\x2f\xef\xf8\xf8" "\xd0\xe0\x85\xa9\xa5\xe5\xc5\xc6\xf4\xce\x0f\xc7\x81\xa8\x45\x4c\x76\x6f" "\x39\x52\x35\x78\x62\x74\xac\x6a\xf4\x5c\xb3\x31\x5f\xed\x9a\x6a\x77\x68" "\x60\x2d\x62\xa4\xd7\xce\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\xb0\x6f\x0c\xa5\x22\x3e\x11\x29\xbe\xff\x5f\xa7\x53\x67\xdd" "\x78\x5f\x7b\xcd\xff\x2f\xb4\xef\x15\x9b\xb5\xaf\xfe\xfe\xd6\x77\x01\xcc" "\xdd\x92\x1d\xdd\xdf\x1f\xd0\xcb\xed\xd4\x6b\x43\x8f\x54\x0b\xef\xeb\x13" "\xa3\x63\x63\xe3\x5d\x9b\xfb\xfa\x6f\x2f\x2d\xdb\x94\x52\x11\x4f\x47\x8a" "\x5f\x7b\xe5\x7d\xd5\x7a\xf8\x14\x43\x3b\xae\x8d\x2f\xeb\xde\x19\xa9\x55" "\xb6\xa3\x5d\x37\xfc\x4b\x65\xdd\xca\xb6\xaa\xc1\x23\x13\xa3\x63\xf5\x4b" "\x0b\xf3\x47\x2f\xcc\xcd\x2d\x4c\x37\x96\x1b\x53\x73\xb3\xf5\xf1\xeb\x8d" "\xe9\x9e\xbf\x38\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\xee\x62\x28\x15\xf1\xdd\x48\xf1\xa3\xbf\xff\xf7\xd4\xb9\xee\x7c" "\x5e\xff\xdf\xd7\xbe\xd7\xb5\xfe\xff\x37\xaa\x25\xf4\x95\xc1\xb4\x3d\x37" "\x55\x6b\xfb\xdf\x59\xad\xed\x6f\xdf\x7e\xd7\xf9\x73\x43\x1f\x7c\xe6\x4e" "\xdb\x7b\x5b\xff\x5f\x56\xf5\xb2\xfe\xff\x99\x83\x9d\x36\xa5\x54\xc4\x97" "\x23\xc5\xa9\xef\xbe\xaf\xba\x9e\x7e\x67\xfd\xff\xe4\xad\xcf\x9c\x8a\xf8" "\xd3\x48\xf1\xc3\x67\x3e\x90\xeb\x6a\x4f\x94\x75\x8d\x4e\x77\xda\xbd\xbc" "\xd2\x9c\x9b\x3d\x5e\xd6\xfe\x75\xa4\xf8\xe5\x9f\x76\x6a\xa3\xaa\xbd\x9a" "\x6b\x9f\xda\xaa\x3d\x51\xd6\x1e\x88\x14\x7f\xb9\xb1\xbd\xf6\xf3\xb9\xf6" "\x3d\x5b\xb5\x27\xcb\xda\xc3\x91\xe2\x9b\xff\xbd\x73\xed\x7b\xb7\x6a\x4f" "\x95\xb5\xdf\x8f\x14\xff\xf4\x77\xf5\x4e\xed\x50\x59\xfb\x7b\xb9\xf6\xd0" "\x56\xed\xb1\xe9\x85\xb9\x99\xdd\x46\xb6\x9c\xff\xaf\x45\x8a\xbf\xbd\xf4" "\xdb\xa9\xd3\xe7\xae\xf9\xff\x9f\x3b\x7d\xff\xc3\xca\x2d\xb9\xe9\xb6\x39" "\xbf\xfb\xed\xbb\xcc\xff\xb3\x2f\x77\xdf\xdb\xe5\xfb\x1f\x86\xbb\xb6\xad" "\xe4\x79\xfd\x93\x6a\xfe\xfb\xaa\xb9\xbc\xdb\xfc\x9f\x89\x14\x5f\x1b\xfc" "\x40\xae\x6b\x8f\xfd\x54\x7e\xfc\xc9\xea\xff\x5b\xf3\x5f\xbe\xdc\x7f\xfc" "\xeb\xf6\xda\x2b\xb9\xf6\xdd\x5b\xb5\x27\xb6\xbf\xca\xc1\x3b\xf7\x72\x8f" "\x95\xf3\xff\xd5\x48\xf1\xf5\xbf\xfa\xde\x66\x9f\xf3\xfc\xe7\x91\xdd\x9a" "\xa1\xee\xf9\xff\xc5\xbe\xed\xb9\xf9\x2e\x79\x70\xf3\xbf\xdd\x2e\xf3\xff" "\x64\xd7\xb6\xe1\xdc\xae\xe9\x37\x39\x16\x8f\xa3\xa5\x97\xbe\xf8\x62\x63" "\x6e\x6e\x76\xf1\xb1\xbf\x31\x90\x47\x64\xbf\xb4\xc7\x8d\x47\xf9\xc6\x40" "\xec\xf0\xd0\x70\x7f\xc4\x5e\x37\xac\xe7\x1b\xdb\x3e\x26\x76\xf8\x96\x25" "\xde\x0e\xca\xe3\xff\x9f\x45\x8a\xff\x3f\x54\xa4\xce\x79\x4c\x3e\xfe\xbf" "\xa3\x7d\x6f\xeb\xfc\xef\x27\x2f\x6f\x1d\xff\xcf\xdf\x92\x9b\x6e\x3f\xce" "\x97\x1f\xac\x0f\xfd\xf8\xff\xee\xae\x6d\xe7\xf3\x59\x4b\x7f\x5f\xc4\xe0" "\xf2\xb5\xeb\xfd\x4f\x47\x0c\x2e\xbd\xf4\xc5\xa3\xcd\x6b\x8d\xab\xb3\x57" "\x67\xe7\x4f\x9e\x38\xfe\xec\xb3\x67\x4e\x1c\x3f\x71\xa6\xff\x89\xce\xc9" "\xdd\xd6\xad\x9e\xc7\xee\xed\xa0\x9c\xff\x6f\x47\x8a\xef\xfc\xc3\x77\x36" "\xff\x8e\xd9\x7e\xfe\xb7\xf3\xf9\xff\xd0\x2d\xb9\x69\x8f\xce\xff\x9e\xea" "\xee\xd3\xb6\xf3\x9a\x9e\x87\xe2\xb1\x54\xce\xff\xdf\x44\x8a\x27\x3f\xfe" "\xbd\xcd\xbf\x37\xef\x76\xfe\xdf\xf9\xfb\xff\xf0\x87\x22\x06\xba\x9e\x67" "\xf3\xf7\x6f\x8f\xe6\xff\x3d\x5d\xdb\x86\x73\xfb\x9a\x6f\x6a\x24\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x1e\x2d\x43\xa9\x88\xbf\x88\x14\xbf\xf3\xc7" "\xbf\x9e\x3a\x6b\x88\x7a\xf9\xf7\x7f\x33\xb7\xe4\xa6\x3d\xfa\xf7\x5f\x87" "\xba\xb6\xcd\xdc\xeb\xba\x86\xfe\x37\xb7\x57\xcf\x83\x0c\x00\xb0\x8f\x94" "\xe7\x7f\xef\x8d\x14\xff\xdc\xfa\xd6\xe6\x5a\xee\xed\xe7\x7f\xf1\xab\x9d" "\xda\xee\xf3\xbf\x3b\xd9\x0f\xd7\xff\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\x00\x00\x00\x00\x00\x00\x00\x80\x47\x5d\x8a\x22\xfe\x20\x52\x0c\xbd" "\xb6\x91\xd6\x06\xca\xfb\x6d\x83\x17\x9b\xf3\x37\x6e\x4e\x8c\x8e\xed\xbc" "\xdb\x81\x14\x29\x6a\x51\x54\xf5\xe5\xcf\xe0\x89\x93\xa7\x4e\x7f\xf4\xcc" "\xd9\x73\x9d\xbc\xfb\xfe\x0f\xda\xfb\xe3\xf9\xf1\xcb\x17\xea\xcf\x2d\x5c" "\xbb\xbe\x38\xbb\xb4\x34\x3b\x53\x9f\x98\x6f\x4e\x2f\xcc\xcc\xf6\xfc\x0c" "\xf7\xbb\xff\xad\x8e\x54\x03\x50\xbf\xf6\xe2\x8d\x99\x2b\x57\x96\xea\x27" "\x8f\x9d\xda\xf6\xf0\xcd\xe1\x37\x06\x0e\x1e\x1a\x3e\x7f\xf6\xe8\x99\x73" "\x9d\xda\x89\xd1\xb1\xb1\xf1\xae\x9a\xbe\xfe\x7b\x7e\xf5\xdb\xa4\x3b\x6c" "\x7f\x22\x8a\xf8\x56\xa4\xf8\xe9\xf0\x0f\xd3\xd7\x07\x22\x6a\xb1\xd3\x58" "\xb4\xfe\xf0\xcd\x8c\xc5\x2e\xef\x9d\x87\xed\x40\xd5\x89\x23\x55\x27\x26" "\x46\xc7\xaa\x8e\xcc\x35\x1b\xf3\xcb\xe5\x83\xa9\x96\xab\x6a\x11\xf5\xae" "\x9d\x46\x3a\x63\xf4\x16\xcc\xc5\x7d\x19\x89\x58\x29\x9b\x5f\x36\xf8\x48" "\xd9\xbd\xf1\xeb\x8d\xc5\xc6\xd4\xdc\x6c\xfd\xd3\x8d\xc5\xe5\xe6\x72\x73" "\x61\x3e\xd5\xda\xad\x2d\xfb\x53\x8f\x5a\x9c\x4b\x11\xab\x11\xb1\x3e\x70" "\xfb\xd3\xf5\x47\x11\x5f\x8e\x14\xaf\x1c\xdf\x48\xdf\x18\x88\x28\x3a\xe3" "\xf0\x91\x4b\xe3\x9f\x39\x7e\x6a\xf7\xf6\xd4\x1e\x42\x1f\x7b\x50\xb6\xb3" "\xde\x1f\xb1\x5a\x7b\x04\xe6\x6c\x1f\x1b\x88\x22\xfe\x31\x52\xfc\xf8\xf5" "\xc3\xf1\xcd\x81\x88\xbe\x68\xff\xc4\x87\x23\x3e\x55\xe6\x6b\x11\xaf\x96" "\xf9\xb1\x88\x54\xbe\x31\x4e\x47\xfc\x60\x87\xf7\x11\x8f\xa6\xbe\x28\xe2" "\x74\xa4\x58\x48\x1b\xe9\xf5\x81\xf2\xf3\xa0\xf3\xb9\x72\xf1\xb3\xf5\x4f" "\xce\x5f\x59\xe8\xaa\x4d\x29\xff\x46\xdd\xe7\xb1\x72\xcf\x8f\x0f\x6f\xa5" "\x7d\xfe\xd9\x34\x18\x45\x7c\xbb\xfa\xc4\xdf\x48\xff\xe2\xf7\x1a\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x60\x1f\x29\x62\x35\x52\x7c\xee" "\xe8\xe1\x54\xad\x0f\xde\x5c\x53\xdc\x9c\xbf\x5a\xbf\xdc\x98\x9a\x6b\x2f" "\xeb\xeb\xac\x29\xee\xac\x99\x6e\xb5\x5a\xad\x7a\x6a\xe7\x48\xce\xc9\x9c" "\x2b\x39\x57\x73\xae\xe5\x5c\xcf\x19\xb5\xbc\x7f\xce\x91\x9c\x93\x39\x57" "\x72\xae\xe6\x5c\xcb\xb9\x9e\x33\x8a\xbc\x7f\xce\x91\x9c\x93\x39\x57\x72" "\xae\xe6\x5c\xcb\xb9\x9e\x33\xfa\xf2\xfe\x39\x47\x72\x4e\xe6\x5c\xc9\xb9" "\x9a\x73\x2d\xe7\x7a\x5f\xc4\x13\xd1\x6a\xc5\x3e\x59\xbb\x07\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xbd\xd4\xa2\xa8\xae\xe2" "\xfe\x95\x2f\x6c\xa4\xd6\x40\xfb\xfa\xd2\x93\xd1\xce\xb5\xea\x7a\xa0\xad" "\xbd\x6e\x22\x0f\xd1\xcf\x03\x00\x00\xff\xff\x87\x44\x7d\xf8", 3201); syz_mount_image(/*fs=*/0x200000000c40, /*dir=*/0x200000000040, /*flags=MS_POSIXACL|MS_NOATIME|MS_DIRSYNC*/ 0x10480, /*opts=*/0x200000000000, /*chdir=*/0x47, /*size=*/0xc81, /*img=*/0x200000003440); return 0; }