// https://syzkaller.appspot.com/bug?id=2e5cbf50e356d9e59659458a7cab5d371a2b5fca // 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; } uint64_t r[1] = {0xffffffffffffffff}; 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); intptr_t res = 0; memcpy((void*)0x20000000, "hfsplus\000", 8); memcpy((void*)0x20000040, "./file1\000", 8); memcpy( (void*)0x20001580, "\x78\x9c\xec\xdd\xcf\x6f\x1c\x67\x19\x07\xf0\xef\xac\xd7\x3f\x36\x95\x1c" "\xb7\x4d\xd3\x80\x2a\x61\x1a\xa9\x20\x22\x12\x3b\x56\x0a\xe1\x92\x80\x10" "\x0a\x52\x85\xaa\x70\xe0\x6c\x35\x4e\x63\xc5\x49\x83\xe3\xa2\xb4\x07\xe2" "\x02\x12\x57\x0e\xfc\x01\xe5\x10\x2e\x70\x02\x21\x24\x24\xa4\x48\xe5\x0c" "\xb7\x8a\x9b\xc5\xa9\x12\x12\x97\x9e\xd2\x1e\x18\xb4\xb3\x33\xf6\xda\xdd" "\xb5\x9d\x38\x89\x6d\xfa\xf9\x44\xb3\xf3\xbc\xf3\xce\xbc\xf3\xcc\x33\x33" "\xfb\x2b\xb2\x36\xc0\xe7\xd6\xa5\x53\x69\xdf\x4f\x27\x97\x4e\xbd\x76\xa7" "\xdb\x5e\xbb\x37\xb7\xb4\x76\x6f\xee\x46\x13\x27\x19\x4f\xd2\x4a\xda\xbd" "\x59\x8a\x9b\x49\xf1\x41\x72\x31\xbd\x29\x5f\xe8\x2e\xac\x87\x2b\x86\xed" "\xe7\xd7\x8b\xe7\x2f\x7f\xf8\xf1\xda\x47\xbd\x56\x3b\x1b\xe3\x75\x1f\x3a" "\xc3\x13\x6c\xef\xe6\x28\x56\xeb\x29\xd3\x49\x46\xea\xf9\x1e\x6c\x1a\xef" "\x8d\x47\x1b\x6f\x7c\x23\x2c\xd6\x2b\xd3\x2d\xd8\xc9\xa6\x70\xb0\xdf\x46" "\x93\x94\x9b\xfc\xf8\xf8\x46\xcf\x20\xe5\x48\x5f\x63\xe8\xfd\x0e\x1c\x1e" "\x45\xef\x75\xb3\x4f\xef\xfe\x9f\x4a\x8e\x24\x99\x68\x5e\xd0\x56\x7b\x9d" "\xad\xa7\x9f\xe1\x8e\x1e\xea\xb9\x68\xf5\xc9\xe5\x01\x00\x00\x00\x07\xc6" "\xd1\x07\x77\x93\x3b\x99\xdc\xef\x3c\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\xe0\x30\xa9\x7f\xff\xbf\xa8\xa7\x56\x13\x4f\xa7\x68\x7e\xff\x7f\xac\xef" "\x37\xf6\xc7\xf6\x39\xdd\xe1\xb6\xcf\x6c\xa2\x09\xee\xb7\x9e\x46\x32\x00" "\x00\x00\x00\x00\x00\x00\xf0\x64\x7d\xe9\x41\x7e\x77\xb9\x2c\x27\x9b\x76" "\x59\x54\xff\xe7\xff\x72\xd5\x38\x56\x3d\x3e\x93\xb7\x73\x3b\x0b\x59\xce" "\xe9\xdc\xc9\x7c\x56\xb2\x92\xe5\xcc\x26\x99\xea\x1b\x68\xec\xce\xfc\xca" "\xca\xf2\x6c\xb3\xe5\xa7\x65\x59\x0e\xd9\xf2\xec\xc0\x2d\xcf\xee\x32\xe1" "\xce\xe3\x38\x6a\x00\x00\x00\x00\x00\x00\x00\xf8\xbf\x71\xa1\x9e\xff\x2c" "\x97\x32\xb9\xcf\xb9\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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\x26" "\x45\x32\xd2\x9b\x55\xd3\xb1\x26\x9e\x4a\xab\x9d\x64\x22\xc9\x58\x77\xbd" "\xd5\xe4\x1f\x4d\x7c\x18\x35\x89\xdf\xdf\xe7\x3c\x00\x00\x00\xe0\x69\x38" "\xfa\x20\x0f\x72\x27\x93\x4d\xbb\x2c\xaa\xcf\xfc\xc7\xab\xcf\xfd\x13\x79" "\x3b\x37\xb3\x92\xc5\xac\x64\x29\x0b\xb9\x52\x7d\x17\xd0\xfb\xf0\xdc\x5a" "\xbb\x37\xb7\xb4\x76\x6f\xee\x46\x77\xfa\xec\xb8\xdf\xfe\xcf\x46\xfc\xc7" "\xc9\x1d\xd3\xa8\x46\x4c\xef\xbb\x87\xc1\x7b\x3e\x51\xad\xd1\xc9\xd5\x2c" "\x56\x4b\x4e\xe7\x8d\xbc\x95\xa5\x5c\x49\xab\xda\xb2\xeb\x44\x93\xcf\xe0" "\xbc\xde\xeb\xe6\x54\x5c\xe8\x29\xcb\xdd\x15\xe8\x4a\x3d\xef\x1e\xf9\xaf" "\xea\xf9\xc1\x30\x55\x55\x64\x74\xbd\x22\x33\x75\x6e\xdd\x6a\x3c\xbb\x7d" "\x25\xfa\xcf\xce\x23\xec\x69\x36\xad\xf5\x2f\x50\x8e\x3d\x44\xcd\x2f\x6c" "\xbb\x97\xe2\xbf\xcd\x39\x39\xd2\x2c\x49\x9e\xf9\xfe\xce\x35\x1f\x7d\xa8" "\x83\xd9\x93\xaa\x12\x13\x1b\x95\x38\xdb\x77\xf5\x1d\xdf\xbe\x12\xc9\x57" "\xfe\xf4\xfb\x1f\x5d\x5b\xba\x79\xfd\x5a\xb1\x7a\xea\xe0\x5c\x46\x0f\x61" "\xfc\x5f\x1b\x77\xcd\xd6\x6b\x62\xae\xaf\x12\x2f\xee\xba\x12\x57\x6f\x1f" "\xce\x4a\x6c\xd5\xca\x0b\xeb\xf1\xa5\x7c\x2f\x3f\xcc\xa9\x4c\xe7\xf5\x2c" "\x67\x31\x3f\xc9\x7c\x56\xb2\x90\xe9\x7c\xb7\x8a\xe6\xeb\xeb\xb9\xfb\x38" "\xb5\x7d\xa5\x2e\x6e\x6a\xbd\xbe\x53\x16\x63\xf5\x79\x19\xd9\x92\xd3\x97" "\x8f\xf6\xe6\xdb\xe5\xf4\x72\xb5\xed\x64\x16\xf3\x83\xbc\x95\x2b\x59\xc8" "\xab\xd5\xbf\xb3\x99\xcd\x37\x72\x2e\xe7\x72\xbe\xef\x0c\xbf\xb0\x8b\xbb" "\xbe\x35\xe0\xae\xff\xf3\xf0\xe4\x4f\x7e\xb5\x0e\x3a\x49\x7e\x59\xcf\x0f" "\x86\x6e\x5d\x9f\xed\xab\x6b\xff\x73\xee\x54\xd5\xd7\xbf\xa4\x95\x72\xbc" "\xb7\xdd\x73\x8f\xed\xb9\x71\x5d\xfb\x8b\x75\xd0\x3d\x13\x3f\xef\xce\xdb" "\x8f\xf3\x48\xf7\x62\xbd\x12\x13\x59\x7f\x95\x68\xae\x97\xe7\x9b\x0a\x8c" "\x0e\xac\xc4\x6f\xaa\xa7\x95\xdb\x4b\x37\xaf\x2f\x5f\x9b\xbf\xb5\x65\xdc" "\x62\x75\xf0\xfe\x5e\x49\x5d\x86\x66\xbd\xc7\x79\x30\x7b\xd2\xbd\x5e\x9e" "\xeb\x9e\xac\xaa\xb5\xf9\xea\xe8\xf6\x3d\x3f\xb0\x6f\xb6\xea\x3b\xb6\xde" "\xd7\xda\xda\xf7\xdb\xce\x7a\xdf\x4e\x77\xea\x58\xfd\x1e\xee\xb3\x23\x9d" "\xad\xfa\x5e\x1c\xd8\x37\x57\xf5\x9d\xe8\xeb\xdb\x78\xbf\xf5\x69\x59\x96" "\xbd\xf7\x5b\x00\x1c\x78\x47\xbe\x76\x64\xac\xf3\xef\xce\xdf\x3b\xef\x77" "\x7e\xd1\xb9\xd6\x79\x6d\xe2\x3b\xe3\xdf\x1c\x7f\x69\x2c\xa3\x7f\x1b\xfd" "\x56\x7b\x66\xe4\x95\xd6\x4b\xc5\x1f\xf2\x7e\x7e\x9a\x9d\x3f\xa1\x03\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x3b\xba\xfd\xce\xbb\xd7\xe7\x97\x96\x16\x96\xb7\x04\x65" "\x59\xde\x1d\xd2\xf5\x44\x82\xb4\x93\x4d\x4b\xfe\xfa\x97\xbe\x75\x92\x54" "\x3f\x06\xb4\xfb\x01\xbb\x6b\x5f\x6c\x25\xd5\x92\x76\xea\xe0\xe1\x12\xbb" "\xfb\x68\x87\xf3\xde\xa3\x16\xe1\x9f\xf5\x39\x79\x2a\x05\x7f\x2c\xc1\xc4" "\xd0\xeb\x67\x6b\xf0\x49\x59\x96\x07\x23\xe7\xdd\x04\x65\xed\xa0\xe4\xb3" "\x1f\xc1\xbe\x3e\x2d\x01\x4f\xc1\x99\x95\x1b\xb7\xce\xdc\x7e\xe7\xdd\xaf" "\x2f\xde\x98\x7f\x73\xe1\xcd\x85\x9b\xe7\xcf\x9d\x3b\x3f\x73\xfe\xdc\xab" "\x73\x67\xae\x2e\x2e\x2d\xcc\xf4\x1e\xf7\x3b\x4b\xe0\x49\xe8\x7b\x07\x0e" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1c\x12\xbb\xfb\xe3\x9c\x62\x6f\x7f" "\xdb\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\xb0\x07\x97\x4e\xa5\x7d\x3f\x45\x66\x67\x4e\xcf\x74" "\xdb\x6b\xf7\xe6\x96\xba\x53\x13\x6f\xac\xf9\x49\x92\x56\x92\x62\x3a\x29" "\x3e\x48\x2e\xa6\x37\x65\xaa\x6f\xb8\x62\xd8\x7e\x56\x93\xcb\x1f\x7e\xbc" "\xf6\x51\xaf\xd5\xae\xa7\x6a\xfd\xd6\x76\xdb\xed\xce\x6a\x3d\x65\x3a\xc9" "\x48\x3d\x1f\x60\x62\xd0\xc2\xf2\xee\xb0\xf1\x8a\x6a\x9c\x5b\xc3\xc7\xdb" "\x5e\xbb\x09\x8a\xf5\x23\xec\x16\xec\x64\x53\x38\xd8\x6f\xff\x0b\x00\x00" "\xff\xff\x28\xe2\x1a\xd1", 1698); syz_mount_image(/*fs=*/0x20000000, /*dir=*/0x20000040, /*flags=MS_REC|MS_SYNCHRONOUS|MS_NODIRATIME*/ 0x4810, /*opts=*/0x20000140, /*chdir=*/1, /*size=*/0x6a2, /*img=*/0x20001580); memcpy((void*)0x200000c0, ".\000", 2); res = syscall(__NR_open, /*file=*/0x200000c0ul, /*flags=*/0ul, /*mode=*/0ul); if (res != -1) r[0] = res; syscall(__NR_getdents, /*fd=*/r[0], /*ent=*/0x20000180ul, /*count=*/0x90ul); return 0; }