// https://syzkaller.appspot.com/bug?id=8c004cc7abe63ffecba065420846f5d11d2324ce // 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"); } else if (strncmp(fs, "gfs2", 4) == 0 && (strstr(opts, "errors=panic") || strstr(opts, "debug"))) { strcat(opts, ",errors=withdraw"); } 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)) { } // syz_mount_image$udf arguments: [ // fs: ptr[in, buffer] { // buffer: {75 64 66 00} (length 0x4) // } // dir: ptr[in, buffer] { // buffer: {2e 2f 66 69 6c 65 31 00} (length 0x8) // } // flags: mount_flags = 0x1800801 (8 bytes) // opts: ptr[inout, array[ANYUNION]] { // array[ANYUNION] { // } // } // chdir: int8 = 0x47 (1 bytes) // size: len = 0xc6b (8 bytes) // img: ptr[in, buffer] { // buffer: (compressed buffer with length 0xc6b) // } // ] // returns fd_dir memcpy((void*)0x200000000c40, "udf\000", 4); memcpy((void*)0x2000000000c0, "./file1\000", 8); memcpy( (void*)0x200000000c80, "\x78\x9c\xec\xdd\x5d\x6c\x5c\xe9\x59\x07\xf0\xe7\x9d\x63\xc7\x1f\x5b\x5a" "\x6f\xb7\xcd\xb6\xd0\x2d\x23\x15\xb5\x51\x4a\xa2\x7c\x35\xc9\x2a\xa8\x38" "\x5d\xd7\x50\x29\xcd\x56\x75\x5c\xb1\x57\xf5\xc4\x76\xd2\xd1\x3a\x76\x64" "\x3b\x34\x5b\x60\x31\x54\x05\x89\x0b\x2a\xf6\x06\x71\x83\x2c\xca\x0a\xa4" "\x5e\x70\xc5\x72\x89\x4b\x17\xa9\x15\x42\x42\x55\x2f\x8a\x04\x92\x25\xda" "\x55\x2f\xb8\xf0\x45\x25\x10\xa8\x9d\xea\x9c\x79\xc7\x1e\x27\x4e\x3c\x9b" "\x2f\x3b\x9b\xdf\x6f\xe5\xfd\xcf\x9c\x79\xce\xf8\xfd\x98\x39\x73\x22\xf9" "\x9d\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\xc4\xa7" "\x3e\x7d\xfe\xd8\xf1\xb4\xd7\xad\x00\x00\x1e\xa5\x8b\x13\x9f\x3f\x76\xd2" "\xe7\x3f\x00\x3c\x51\x2e\x1d\x88\x08\x9f\xff\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\xb0\x9f\xa5\x28\xe2\x60\xa4\x18\x7e\x63\x23\x4d\x75\xad" "\x04\x18\xbc\xd0\x9c\xbf\x71\x73\x72\x6c\x7c\xe7\xdd\x86\x52\xa4\xa8\x45" "\x51\xd5\x97\x3f\x83\xc7\x4f\x9c\x3c\xf5\x89\xd3\x67\xce\x76\xf2\xee\xfb" "\x3f\x68\x1f\x8c\x17\x27\x2e\x9d\xaf\xbf\xb0\x70\xed\xfa\xe2\xec\xd2\xd2" "\xec\x4c\x7d\x72\xbe\x39\xbd\x30\x33\xdb\xf3\x33\xdc\xef\xfe\xb7\x3a\x5c" "\x0d\x40\xfd\xda\xcb\x37\x66\xae\x5c\x59\xaa\x9f\x38\x7a\x72\xdb\xc3\x37" "\x47\xde\x1a\x78\xea\xe0\xc8\xb9\x33\x47\x4e\x9f\xed\xd4\x4e\x8e\x8d\x8f" "\x4f\x74\xd5\xf4\xf5\xdf\xf3\x6f\xbf\xcd\x9d\x56\x78\x1c\x88\x22\x1a\x91" "\xfe\xb7\xd5\x6a\xa5\x46\x44\xd4\xe2\xfe\xc7\x62\x97\xd7\xce\xc3\x36\x54" "\x75\xe2\x70\xd9\x89\xa1\xc9\xb1\xf1\xaa\x23\x73\xcd\xc6\xfc\x72\xf9\x60" "\xaa\xe5\xaa\x5a\x44\x3d\xa2\xaf\x7d\xa7\x33\x3a\x29\x45\x3c\xfc\xb9\xb8" "\x77\x7f\xfa\xd5\xce\xad\xda\x68\xd9\xc7\xb2\x7b\x13\xd7\x1b\x8b\x8d\xcb" "\xa3\xa9\xfe\xb9\xc6\xe2\x72\x73\xb9\xb9\x30\x9f\x6a\xed\xd6\x96\xbd\xaa" "\x47\x2d\xce\xa6\x88\xd5\x88\x58\x1f\xb8\xfd\x19\xfb\xa3\x88\x0f\xa7\x14" "\xaf\x1d\xdb\x48\x97\x23\xa2\xe8\x8c\xc6\xc7\xab\x85\xc1\xbb\x37\xa9\x33" "\x9e\xff\xf1\xe0\x7a\xd9\x8b\xb2\x9d\xf5\xfe\x88\xd5\xda\xd6\x7b\x6d\x7f" "\xce\xd9\xfe\x36\x10\x45\x5c\x8c\x14\x3f\x79\xf3\x50\x4c\x47\xfb\x0d\x51" "\xbd\x29\x3e\x1a\xf1\xd9\x32\xdf\x88\x78\xbd\xcc\x4f\xb6\xdf\x1d\x71\x2a" "\xe2\x47\x3b\xbc\x8e\x78\x3c\xf5\x45\x11\xff\x1a\x29\x16\xd2\x46\x9a\xa9" "\x8e\x07\x9d\xe3\xca\x85\x2f\xd4\x3f\x33\x7f\x65\xa1\xab\xb6\x73\x5c\x79" "\xec\x3f\x1f\x1e\xe5\x82\xc7\x7d\x7e\x6c\x1a\x8c\x22\x2e\x57\xc3\xb1\x91" "\xee\xfd\x64\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x07" "\x6d\x28\x8a\xf8\x46\xa4\xf8\xea\x73\xbf\x1d\x2b\xe5\x86\x6a\x5d\xfa\x7b" "\xce\x9d\x7d\xd7\x4b\xbf\xd1\xbd\x48\xee\xd9\x5d\x9e\xa7\xac\x3d\x1a\x11" "\x2b\xb5\xde\xd6\xe4\xf6\xe7\xa5\xc3\xa9\x56\xfe\xf7\x10\x3a\x46\x4f\x06" "\xa3\x88\x57\xf3\xfa\xbf\x3f\xd8\xeb\xc6\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x3c\xd1\x8a\x78\x29\x52\x7c\xf1\xc8\xa1\xb4" "\x1a\xdd\xd7\x14\x6f\xce\x5f\xad\x5f\x6a\x5c\x9e\x6b\x5f\x15\xb6\x73\xed" "\xdf\x7a\xde\xab\xd5\x6a\xb5\xea\xa9\x9d\xa3\x39\xa7\x72\xae\xe4\x5c\xcd" "\xb9\x96\x73\x3d\x67\xd4\xf2\xfe\x39\x47\x73\x4e\xe5\x5c\xc9\xb9\x9a\x73" "\x2d\xe7\x7a\xce\x28\xf2\xfe\x39\x47\x73\x4e\xe5\x5c\xc9\xb9\x9a\x73\x2d" "\xe7\x7a\xce\xe8\xcb\xfb\xe7\x1c\xcd\x39\x95\x73\x25\xe7\x6a\x95\xbf\xde" "\x5a\xcb\xf7\xd7\x73\xc6\x3e\xb9\x76\x2f\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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\x3b\x49\x2d\x8a\xf8\x59\xa4\xf8\xfa\x97\x37\x52\xa4\x88\x18" "\x8d\x98\x8a\x76\xae\x0d\xec\x75\xeb\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\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\xd2\x60\x2a\xe2\x68\xa4\x58" "\x7b\x69\xb0\xba\xbf\x5a\x8b\xb8\x14\x11\x3f\x6b\xb5\x5a\x9d\x9f\x88\xd8" "\x28\xb3\x77\xb5\xd8\x69\xeb\x5e\xf7\x15\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\xf6\xad\x54\xc4\x47\x22\xc5\x33\xff\xb7\x91" "\xea\x11\x71\x73\xe4\xad\x81\xa7\x0e\x8e\x9c\x3b\x73\xe4\xf4\xd9\x22\x8a" "\x48\x65\x49\x77\xfd\x8b\x13\x97\xce\xd7\x5f\x58\xb8\x76\x7d\x71\x76\x69" "\x69\x76\xa6\x3e\x39\xdf\x9c\x5e\x98\x99\xed\xf5\xd7\x0d\x5e\x68\xce\xdf" "\xb8\x39\x39\x36\xfe\x50\x3a\xb3\xab\xa1\x87\xdc\xfe\xa1\xc1\x17\x16\xae" "\xbf\xb2\xd8\xbc\xfa\xa5\xe5\x1d\x1f\x1f\x1e\x3c\x7f\x79\x69\x79\xb1\x31" "\xbd\xf3\xc3\x31\x14\xb5\x88\xa9\xee\x2d\x87\xab\x06\x4f\x8e\x8d\x57\x8d" "\x9e\x6b\x36\xe6\xab\x5d\x53\xed\x0e\x0d\xac\x45\x8c\xf6\xda\x19\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf6\x8d\xe1\x54\xc4" "\xa7\x23\xc5\x0f\xff\xf3\x54\xea\xac\x1b\xef\x6b\xaf\xf9\xff\x85\xf6\xbd" "\x62\xb3\xf6\xf5\xdf\xdd\xfa\x2e\x80\xb9\x5b\xb2\xa3\xfb\xfb\x03\x7a\xb9" "\x9d\x7a\x6d\xe8\xe1\x6a\xe1\x7d\x7d\x72\x6c\x7c\x7c\xa2\x6b\x73\x5f\xff" "\xed\xa5\x65\x9b\x52\x2a\xe2\xd9\x48\xf1\xb1\xd7\x3e\x50\xad\x87\x4f\x31" "\xbc\xe3\xda\xf8\xb2\xee\xdd\x65\xdd\x81\xc8\x75\x23\xbf\x54\xd6\xad\x6c" "\xab\x1a\x3c\x3c\x39\x36\x5e\xbf\xb8\x30\x7f\xe4\xfc\xdc\xdc\xc2\x74\x63" "\xb9\x71\x79\x6e\xb6\x3e\x71\xbd\x31\xdd\xf3\x17\x07\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc0\x5d\x0c\xa7\x22\xbe\x1f\x29" "\xfe\xfb\x6f\xff\x2d\x75\xae\x3b\x9f\xd7\xff\xf7\xb5\xef\x75\xad\xff\xff" "\xb5\x6a\x09\x7d\x65\x30\x6d\xcf\x4d\xd5\xda\xfe\x77\x57\x6b\xfb\xdb\xb7" "\xdf\x73\xee\xec\xf0\x87\x9f\xbb\xd3\xf6\xde\xd6\xff\x97\x55\xbd\xac\xff" "\x7f\xee\xa9\x4e\x9b\x52\x2a\xe2\x6b\x91\xe2\xe4\xf7\x3f\x50\x5d\x4f\xbf" "\xb3\xfe\x7f\xea\xd6\x67\x4e\x45\xfc\x71\xa4\xf8\xf1\x73\x1f\xca\x75\xb5" "\x03\x65\x5d\xa3\xd3\x9d\x76\x2f\xaf\x34\xe7\x66\x8f\x95\xb5\x7f\x19\x29" "\x7e\xf9\xa7\x9d\xda\xa8\x6a\xaf\xe6\xda\x67\xb6\x6a\x8f\x97\xb5\x43\x91" "\xe2\xcf\x37\xb6\xd7\x7e\x29\xd7\xbe\x6f\xab\xf6\x44\x59\x7b\x28\x52\x7c" "\xfb\xbf\x76\xae\x7d\xff\x56\xed\xc9\xb2\xf6\x87\x91\xe2\x1f\xfe\xa6\xde" "\xa9\x1d\x2e\x6b\x7f\x27\xd7\x1e\xdc\xaa\x3d\x3a\xbd\x30\x37\xb3\xdb\xc8" "\x0e\xf7\x15\xf1\xcd\x48\xf1\xd7\x17\x7f\x33\x75\xfa\x7c\xc7\xf9\xef\xfa" "\xfe\x87\x95\x5b\x72\xd3\x6d\x73\x7e\xf7\xdb\x77\x99\xff\xe7\x5f\xed\xbe" "\xb7\xcb\xf7\x3f\x8c\x74\x6d\x5b\xc9\xf3\xfa\x47\xd5\xfc\xf7\x55\x73\x79" "\xb7\xf9\x3f\x1d\x29\xbe\x39\xf8\xa1\x5c\xd7\x1e\xfb\xcb\xf9\xf1\xa7\xab" "\xff\x6f\xcd\xff\xc7\x22\xc5\xbf\xff\xcb\xf6\xda\x2b\xb9\xf6\xbd\x5b\xb5" "\xc7\xef\xdc\xad\xfd\xa5\x7c\xff\x7f\x23\x52\x7c\xeb\x2f\x7e\xb0\xd9\xe7" "\x3c\xff\x79\x64\xb7\x66\xa8\x7b\xfe\x7f\xb1\x6f\x7b\x6e\xbe\x4a\x1e\xdc" "\xfc\x6f\xb7\xcb\xfc\x3f\xdd\xb5\x6d\x24\xb7\x6b\xfa\x6d\x8e\xc5\x93\x68" "\xe9\x95\xaf\xbc\xdc\x98\x9b\x9b\x5d\x7c\xe2\x6f\x0c\xe4\x11\xd9\x2f\xed" "\x71\xe3\x71\xbe\x31\x10\x3b\x3c\x34\xd2\x1f\x71\x3f\xcf\xfc\x48\xdf\xb0" "\x7b\x7b\x5c\xe2\xd1\x28\x3f\xff\xff\x24\x52\xfc\xff\xc1\x22\x75\xce\x63" "\xf2\xe7\xff\xbb\xda\xf7\xb6\xce\xff\xfe\xe7\xd5\xad\xcf\xff\x73\xb7\xe4" "\xa6\x3d\xfa\xfc\x7f\x6f\xd7\xb6\x73\xf9\xac\xa5\xbf\x2f\x62\x70\xf9\xda" "\xf5\xfe\x67\x23\x06\x97\x5e\xf9\xca\x91\xe6\xb5\xc6\xd5\xd9\xab\xb3\xf3" "\x27\x8e\x1f\x7b\xfe\xf9\xd3\xc7\x8f\x1d\x3f\xdd\x7f\xa0\x73\x72\xb7\x75" "\xab\xe7\xb1\x7b\x27\x28\xe7\xff\xbb\x91\xe2\x7b\x7f\xf7\xbd\xcd\x7f\xc7" "\x6c\x3f\xff\xdb\xf9\xfc\x7f\xf8\x96\xdc\xb4\x47\xf3\xff\x4c\x77\x9f\xb6" "\x1d\x26\x7b\x1e\x8a\x27\x52\x39\xff\x7f\x15\x29\x9e\xfe\xd4\x0f\x36\xff" "\xbd\x79\xb7\xf3\xff\xce\xbf\xff\x0f\x7d\x64\x7b\x6e\xbe\xff\xf6\x68\xfe" "\xdf\xd7\xb5\x6d\x24\xb7\xab\xf9\x36\xc7\x02\x00\x00\x00\x00\x00\x00\x00" "\x00\xe0\x71\x32\x9c\x8a\xf8\xb3\x48\xf1\x5b\x7f\xf8\xab\xa9\xb3\x86\xa8" "\x97\xbf\xff\x9b\xb9\x25\x37\xed\xd1\xdf\x7f\x1d\xec\xda\x36\x73\xaf\x7f" "\x26\xdd\xff\xf6\xf6\xea\x79\x90\x01\x00\xf6\x91\xf2\xfc\xef\xfd\x91\xe2" "\x1f\x5b\xdf\xd9\x5c\xcb\xbd\xfd\xfc\x2f\x7e\xa5\x53\xdb\x7d\xfe\x77\x27" "\xfb\xe1\xfa\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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\xb8\x4b\x51\xc4\xef\x45\x8a\xe1\x37\x36\xd2\xda\x40\x79" "\xbf\x6d\xf0\x42\x73\xfe\xc6\xcd\xc9\xb1\xf1\x9d\x77\x1b\x4a\x91\xa2\x16" "\x45\x55\x5f\xfe\x0c\x1e\x3f\x71\xf2\xd4\x27\x4e\x9f\x39\xdb\xc9\xbb\xef" "\xff\xa0\x7d\x30\x5e\x9c\xb8\x74\xbe\xfe\xc2\xc2\xb5\xeb\x8b\xb3\x4b\x4b" "\xb3\x33\xf5\xc9\xf9\xe6\xf4\xc2\xcc\x6c\xcf\xcf\x70\xbf\xfb\xdf\xea\x70" "\x35\x00\xf5\x6b\x2f\xdf\x98\xb9\x72\x65\xa9\x7e\xe2\xe8\xc9\x6d\x0f\xdf" "\x1c\x79\x6b\xe0\xa9\x83\x23\xe7\xce\x1c\x39\x7d\xb6\x53\x3b\x39\x36\x3e" "\x3e\xd1\x55\xd3\xd7\x7f\xcf\xbf\xfd\x36\xe9\x0e\xdb\x0f\x44\x11\xdf\x89" "\x14\x3f\x1d\xf9\x71\xfa\xd6\x40\x44\x2d\x76\x1a\x8b\xd6\xef\xbf\x9d\xb1" "\xd8\xe5\xb5\xf3\xb0\x0d\x55\x9d\x38\x5c\x75\x62\x72\x6c\xbc\xea\xc8\x5c" "\xb3\x31\xbf\x5c\x3e\x98\x6a\xb9\xaa\x16\x51\xef\xda\x69\xb4\x33\x46\x8f" "\x60\x2e\xee\xcb\x68\xc4\x4a\xd9\xfc\xb2\xc1\x87\xcb\xee\x4d\x5c\x6f\x2c" "\x36\x2e\xcf\xcd\xd6\x3f\xd7\x58\x5c\x6e\x2e\x37\x17\xe6\x53\xad\xdd\xda" "\xb2\x3f\xf5\xa8\xc5\xd9\x14\xb1\x1a\x11\xeb\x03\xb7\x3f\x5d\x7f\x14\xf1" "\xb5\x48\xf1\xda\xb1\x8d\xf4\x4f\x03\x11\x45\x67\x1c\x3e\x7e\x71\xe2\xf3" "\xc7\x4e\xee\xde\x9e\xda\x43\xe8\x63\x0f\xca\x76\xd6\xfb\x23\x56\x6b\x8f" "\xc1\x9c\xed\x63\x03\x51\xc4\xdf\x47\x8a\x9f\xbc\x79\x28\xbe\x3d\x10\xd1" "\x17\xed\x9f\xf8\x68\xc4\x67\xcb\x7c\x23\xe2\xf5\x32\x3f\x19\x91\xca\x17" "\xc6\xa9\x88\x1f\xed\xf0\x3a\xe2\xf1\xd4\x17\x45\x9c\x8a\x14\x0b\x69\x23" "\xbd\x39\x50\x1e\x0f\x3a\xc7\x95\x0b\x5f\xa8\x7f\x66\xfe\xca\x42\x57\x6d" "\x4a\xf9\x1d\x75\x9f\x9f\x95\x7b\xfe\xf9\xd0\x7a\x84\xbf\x6d\x9f\x1f\x9b" "\x06\xa3\x88\xef\x56\x47\xfc\x8d\xf4\xcf\xde\xd7\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\xfb\x48\x11\xab\x91\xe2\x8b\x47\x0e\xa5\x6a" "\x7d\xf0\xe6\x9a\xe2\xe6\xfc\xd5\xfa\xa5\xc6\xe5\xb9\xf6\xb2\xbe\xce\x9a" "\xe2\xce\x9a\xe9\x56\xab\xd5\xaa\xa7\x76\x8e\xe6\x9c\xca\xb9\x92\x73\x35" "\xe7\x5a\xce\xf5\x9c\x51\xcb\xfb\xe7\x1c\xcd\x39\x95\x73\x25\xe7\x6a\xce" "\xb5\x9c\xeb\x39\xa3\xc8\xfb\xe7\x1c\xcd\x39\x95\x73\xa5\xcc\xf6\x2a\xd6" "\x6a\xc3\x5a\xde\xbe\x9e\xb3\x7c\xa8\xda\x3f\xe7\x68\xce\xa9\x9c\x2b\x39" "\x57\x73\xae\xe5\x5c\xcf\x19\xfb\x64\xed\x1e\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\xf0\xce\x52\x8b\xa2\xba\x8a\xfb\xd7\xbf\xbc" "\x91\x5a\x03\xed\xeb\x4b\x4f\x45\x3b\xd7\xaa\xeb\x81\x3e\xca\x8b\xa5\xf2" "\xa8\xfd\x3c\x00\x00\xff\xff\x3e\xaf\x69\x87", 3179); syz_mount_image( /*fs=*/0x200000000c40, /*dir=*/0x2000000000c0, /*flags=MS_I_VERSION|MS_STRICTATIME|MS_RDONLY|MS_NODIRATIME*/ 0x1800801, /*opts=*/0x200000000000, /*chdir=*/0x47, /*size=*/0xc6b, /*img=*/0x200000000c80); return 0; }