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