// https://syzkaller.appspot.com/bug?id=3a225c8a9c0e858654a218e89462377fcf0e96c3 // 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=*/0x1ffff000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x20000000ul, /*len=*/0x1000000ul, /*prot=*/7ul, /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul); syscall(__NR_mmap, /*addr=*/0x21000000ul, /*len=*/0x1000ul, /*prot=*/0ul, /*flags=*/0x32ul, /*fd=*/-1, /*offset=*/0ul); memcpy((void*)0x200004c0, "ext4\000", 5); memcpy((void*)0x20000500, "./file0\000", 8); memcpy( (void*)0x20000000, "\x00\x02\x7b\x11\x27\x98\xfd\x08\x00\x13\x7b\x57\x3c\xd2\xc0\x34\x32\x62" "\x83\x00\x7f\xb8\x95\x79\x82\x41\xfa\x89\x3e\x94\x3c\x69\x74\x76\x29\xb5" "\xee\x00\x00\x00\x00\x00\xf0\xff\xff\xff\xff\xff\xff\xef\x47\x4e\x31\x5a" "\xe4\x5c\x82\x83\xbf\xc3\x70\x23\x3d\x50\x5b\x6e\x0b\xa7\x19\x80\x00\x10" "\x00\x00\x53\x48\x97\x1a\xfd\x97\xf3\x34\x04\x00\x32\x50\xbb\xe3\xbc\xeb" "\xd6\xbf\xad\x17\x38\x49\x19\x1f\x9a\xe6\xa1\x74\xef\xa1\x27\xf8\x51\x71" "\xdb\xfb\xc5\x5d\x6d\xb0\xf1\x74\x68\x88\x85\x11\x04\xb3\x3f\x5d\x84\x00" "\x00\x00\x00\x47\x40\x5a\xcc\x1a\x40\xa5\x74\xba\x63\xbe\x1d\x03\xc3\x02" "\x2a\x3f\xa3\xa9\x78\x31\x5c\xf0\xa9\x69\x02\x00\x00\x63\x0b\x7f\xd8\x61" "\xfe\x39\x78\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 178); memcpy( (void*)0x20000540, "\x78\x9c\xec\xdd\xcd\x6b\x1c\x6f\x1d\x00\xf0\xef\x6e\x5e\x9a\xe4\x17\x7f" "\x7d\x51\xa1\xed\xc1\x96\x56\xac\x2f\x34\xdb\x6c\x48\x0b\x52\x10\xf1\xd0" "\x83\x54\xc4\x82\xd7\x92\x26\xdb\x50\xb2\xe9\x86\xec\xa6\x36\x21\x87\xd4" "\x5b\x6f\x22\x82\x82\x27\xcf\xe2\xff\x50\xf0\xe6\xc1\xb3\x82\xa0\x07\x4f" "\x05\xb1\xa5\xd2\x28\x08\x2b\x33\x3b\x9b\xb6\xc9\x6e\xba\xa6\xe9\x6e\x9a" "\xf9\x7c\x60\xba\x33\xcf\x33\xed\xf7\x79\xba\x7c\x9f\x9d\x7d\x66\x66\x27" "\x80\xdc\xba\x98\xfc\x51\x88\x98\x8c\x88\x3f\x46\xc4\xc9\xd6\xe6\xbb\x3b" "\x5c\x6c\xbd\xbc\x7e\xb9\x39\xbf\xfd\x72\x73\xbe\x10\xcd\xe6\x9d\x7f\x16" "\xd2\xfd\x92\xb2\xf6\xae\xed\xbf\xf7\x59\x44\x6c\x45\xc4\x58\x44\xfc\xe8" "\x56\xc4\xbd\xc2\xde\xb8\xf5\xf5\x8d\xa5\xb9\x6a\xb5\xb2\x9a\x6d\x97\x1a" "\xcb\x2b\xa5\xfa\xfa\xc6\xd5\x07\xcb\x73\x8b\x95\xc5\xca\xc3\xf2\xf5\xd9" "\xf2\xf4\x8d\xd9\x99\xf2\x01\x3b\x36\xbc\xb7\xe8\xde\xcd\x3f\xfc\xfe\xe9" "\x4f\xbf\xdf\xdc\x7a\xf1\xbd\x9f\xad\xdc\xfa\xc1\xe7\x49\xb3\x26\xb3\xba" "\xb7\xfb\x71\x98\x5a\x5d\x1f\x89\xd3\xbb\x9a\x76\xf3\x63\x04\x1b\x80\xa1" "\xac\x3f\xe3\x83\x6e\x08\x07\x92\xbc\x7f\x5f\x8c\x88\xcb\x11\xf1\x9d\x41" "\x37\x06\xe8\xab\x66\xb3\xd9\xfc\x6f\xf3\x44\xb7\xea\xad\x26\x70\x6c\x15" "\xd3\x63\xe0\x42\x71\x2a\x22\x5a\xeb\xc5\xe2\xd4\x54\xeb\x18\xfe\x4b\x31" "\x51\xac\xd6\xea\x8d\x6f\xdd\x2f\xee\x0c\x08\xa7\x62\xa4\x78\xff\x41\xb5" "\x72\x2d\xfb\xae\x70\x2a\x46\x0a\xc9\xf6\x74\xba\xfe\x66\xbb\xbc\x6b\x7b" "\x26\x22\x3d\x06\xfe\xc5\xd0\x78\xba\x3d\x35\x5f\xab\x2e\xf4\x6b\x90\x03" "\x3a\xfa\x6c\x57\xfe\xff\x6b\xa8\x95\xff\x40\x4e\x14\x07\xdd\x00\x60\x60" "\x3a\xcc\x95\x03\x39\x21\xff\x21\xbf\x86\x77\x9d\xf3\x07\xf2\xc3\xe7\x3f" "\xe4\x97\xfc\x87\xfc\x92\xff\x90\x5f\xf2\x1f\xf2\xab\x5b\xfe\x2f\x9f\xeb" "\x73\x43\x80\xbe\xf3\xf9\x0f\xf9\x25\xff\x21\x97\x7e\x78\xfb\x76\xb2\x34" "\xb7\xb3\xfb\xdf\x17\x1e\xad\xaf\x2d\xd5\x1e\x5d\x5d\xa8\xd4\x97\xa6\x96" "\xd7\xe6\xa7\xe6\x6b\xab\x2b\x53\x8b\xb5\xda\x62\x7a\xcf\xce\xf2\xfb\xfe" "\xbd\x6a\xad\xb6\x32\x5d\x8e\xb5\xc7\xa5\x46\xa5\xde\x28\xd5\xd7\x37\xee" "\x2e\xd7\xd6\x1e\x36\xee\xa6\xf7\xf5\xdf\xad\x8c\xf4\xa5\x57\x40\x2f\x4e" "\x5f\x78\xf6\xe7\x42\x44\x6c\x7d\x7b\x3c\x5d\x12\xa3\x59\x9d\x5c\x85\xe3" "\xad\xd9\x2c\xc4\xa0\xef\x41\x06\x06\x63\x68\xd0\x03\x10\x30\x30\xa6\xfe" "\x20\xbf\x7c\xc7\x07\xde\x77\xff\xdf\x58\xb7\x8a\x95\xc3\x6f\x0b\xd0\x1f" "\x7e\xfa\x07\xf2\xeb\xca\x39\xe7\xff\x20\xaf\xfe\x9f\xf9\x7f\xe3\x01\x1c" "\x2f\xe6\xff\x21\xbf\x7c\xa6\x03\x07\x98\xff\xff\xed\x5f\x3f\x56\x63\x80" "\xbe\x30\xff\x0f\xf9\x35\xd9\xe5\xf9\x5f\x5f\x78\xeb\xd9\x5d\xd7\x22\xe2" "\xf3\x88\xf8\xd3\xd0\xc8\x89\xf6\xb3\xbe\x80\xe3\xa0\xf8\xbc\x90\x1d\xff" "\x5f\x39\xf9\xd5\xc9\xdd\xb5\xa3\x85\x7f\xa7\xa7\x08\x46\x23\xe2\x27\xbf" "\xbe\xf3\xcb\xc7\x73\x8d\xc6\xea\x74\x52\xfe\x62\xa7\xbc\xf1\xab\xac\xfc" "\xa0\xcf\xea\x06\xfa\xa2\x9d\xa7\xed\x3c\x06\x00\xf2\xeb\xf5\xcb\xcd\xf9" "\xf6\xd2\xcf\xb8\xff\xf8\x6e\xeb\x22\x84\x24\xee\x76\xb6\xb4\x6a\x86\xb3" "\xb9\xc9\x93\xcd\x91\x88\x98\x78\x55\x78\xe7\x5a\x85\xc2\x21\x5d\xbb\xb0" "\xf5\x24\x22\xce\x76\xea\x7f\x21\x9d\x1b\x39\x95\x9d\xf9\x98\x78\x35\xb4" "\x27\xfe\x99\xb7\xd6\xcf\x66\xd7\x52\x0d\xa7\xcf\x4d\xef\xd5\xf0\x07\xc5" "\x3f\x97\xbd\x26\xcb\x57\xb2\xf9\x9b\x64\x9f\xf3\x1f\xf8\x7f\x02\x79\xf1" "\x2c\x19\x7f\xae\x75\xca\xbf\x62\x9a\xd3\xb1\x93\x7f\xef\x8e\x3f\x93\x87" "\x74\xed\x44\x7b\xfc\xdb\xde\x33\xfe\x15\xb3\xf1\x6f\x2c\x1d\x57\x3a\x8d" "\x7f\x17\x7a\x8c\xf1\xe5\xc9\xb5\xbf\x74\x8d\xff\x24\xe2\x7c\xc7\xf8\xed" "\x78\x63\x69\xac\xdd\xf1\xb7\x22\xe2\x4a\x8f\xf1\xa7\x7f\x7e\x7b\xae\xdb" "\xa9\xa6\xe6\x6f\x22\xbe\x16\x9d\xe3\xb7\x25\x6b\xa5\xc6\xf2\x4a\xa9\xbe" "\xbe\x71\x35\xfd\x1d\xb9\xc5\xca\xc3\xf2\xf5\xd9\xf2\xf4\x8d\xd9\x99\x72" "\x29\x9d\xa2\x2e\xb5\x27\xaa\x3b\x78\xfa\xb7\xff\x3c\xdb\xaf\xff\x13\x5d" "\xe2\xef\xd7\xff\xa4\xec\x1b\x3d\xf6\xff\xc7\x7f\x1f\x79\x7e\x71\x9f\xf8" "\x5f\xbf\xdc\xf9\xfd\x3f\xb3\x4f\xfc\xf1\x88\xf8\x66\x2f\xc1\x37\x2f\xed" "\x5b\x9d\xc4\x5f\xe8\xd2\xff\xe2\x3e\xf1\x93\xb2\x99\x5e\xe2\x27\x31\x2e" "\x3d\xfd\x5d\x8f\xbb\x02\x00\x7d\x50\x5f\xdf\x58\x9a\xab\x56\x2b\xab\x47" "\x78\xe5\xc9\xd1\x68\xc6\x11\x59\xc9\x0e\xbe\xe3\xa8\xb4\xe7\x93\x5e\x19" "\x8d\x13\x1f\x35\xc4\xd8\xa7\xfb\x36\xf5\x32\x7a\x74\xfd\x55\x10\xe0\x13" "\xf0\x26\xe9\x77\x6e\xfb\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x8e\xb8" "\x7e\x5c\x4e\x3c\xe8\x3e\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\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1c\x07\xff\x0b\x00\x00\xff" "\xff\x61\x3c\xcf\xcc", 1247); syz_mount_image(/*fs=*/0x200004c0, /*dir=*/0x20000500, /*flags=*/0xc, /*opts=*/0x20000000, /*chdir=*/0x22, /*size=*/0x4e3, /*img=*/0x20000540); return 0; }