// https://syzkaller.appspot.com/bug?id=8a0515c326633c38c5145308835518579ea8af1e // 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, 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 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, loopfd = -1, 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) { memset(loopname, 0, sizeof(loopname)); snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); if (setup_loop_device(data, size, loopname, &loopfd) == -1) return -1; 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) { ioctl(loopfd, LOOP_CLR_FD, 0); close(loopfd); } errno = err; return res; } uint64_t r[1] = {0xffffffffffffffff}; 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); intptr_t res = 0; memcpy((void*)0x200000c0, "hfsplus\000", 8); memcpy((void*)0x200001c0, "./file0\000", 8); memcpy((void*)0x20000200, "type", 4); *(uint8_t*)0x20000204 = 0x3d; memcpy((void*)0x20000205, "\xfa\x35\x4a\x6d", 4); *(uint8_t*)0x20000209 = 0x2c; memcpy((void*)0x2000020a, "nls", 3); *(uint8_t*)0x2000020d = 0x3d; memcpy((void*)0x2000020e, "iso8859-1", 9); *(uint8_t*)0x20000217 = 0x2c; *(uint8_t*)0x20000218 = 0; memcpy( (void*)0x200005c0, "\x78\x9c\xec\xdd\x4d\x68\x1c\xe7\x19\x07\xf0\xff\xac\xe4\x95\xe4\x82\xa2" "\x24\xce\x47\x4b\xa1\x22\x06\xd3\xc6\xd4\x96\xb4\x4d\xed\x42\xa1\x6e\x29" "\x45\x87\x10\x0c\xbd\xe4\x2a\x6c\x39\x16\x5e\x2b\x41\x52\x8a\x12\x4a\x23" "\xf7\xf3\xda\x63\x0e\x39\xa4\x14\xf7\x90\x53\xe9\xa1\x90\xd2\x43\x68\x7a" "\x2e\x14\x7a\xf7\xdd\xd0\x63\x41\xa7\xaa\xcc\xec\xec\x6a\x65\x7d\x58\x92" "\x15\xef\xda\xfd\xfd\x60\x66\xde\x99\xf7\x63\x9e\xf7\xf1\xec\xec\xee\x08" "\xb3\x01\xfe\x6f\xcd\xbf\x99\x53\x1b\x29\x32\x7f\xfe\xf5\xf5\x72\xff\xde" "\xdd\x56\xfb\xde\xdd\xd6\xed\x6e\x39\xc9\x58\x92\x46\x32\xda\xd9\xa4\x58" "\x4e\x8a\xcf\x93\x2b\xe9\x2c\xf9\x72\x79\xb0\x1e\xae\xd8\xef\x3c\xaf\xdd" "\xff\xf4\xa3\x73\x1f\x7e\xd2\xea\xec\x8d\xd6\x4b\xd5\xbe\x71\x50\xbf\x5d" "\xf6\x6c\xb9\x51\x2f\x99\x4e\x32\x52\x6f\x8f\xe4\x3f\xfb\x8f\x77\xed\x38" "\xe3\xed\x50\xf4\xe2\x2e\x13\x76\xb6\x9b\x38\x18\xb4\xad\x5d\x36\x8e\xd2" "\xfd\xf0\xaf\x5b\x60\x68\x15\x9d\xf7\xcd\x5d\xa6\x92\xd3\x49\xc6\xeb\xcf" "\x01\xa9\xef\x0e\x8d\xc7\x1b\xdd\xc9\x3b\xd2\x5d\x0e\x00\x00\x00\x9e\x50" "\xcf\x6c\x66\x33\xeb\x99\x1c\x74\x1c\x00\x00\x00\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\x24\xa9\x7f\xff\xbf\xa8\x97\x46\xb7\x3c\x9d\xa2\xfb\xfb\xff\xcd\xea" "\x58\xb3\x6a\xde\x1c\x74\xbc\x8f\xea\xb3\x41\x07\x00\x00\x00\x00\x00\x00" "\x00\x00\x27\xe0\x6b\x9b\xd9\xcc\x7a\x26\xbb\xfb\x5b\x45\xf5\x37\xff\x57" "\xaa\x9d\x33\xd5\xfa\x4b\x79\x37\xab\x59\xcc\x4a\x2e\x64\x3d\x0b\x59\xcb" "\x5a\x56\x32\x9b\x64\xaa\xaa\xbf\x53\xad\x9b\xeb\x0b\x6b\x6b\x2b\xb3\xfb" "\xf5\xdc\xda\xda\xfa\xa0\xee\x39\xd7\xeb\x99\xbe\x9e\x73\x47\x8d\x7c\x6b" "\xec\x91\x26\x0e\x00\x00\x00\x00\x00\x00\x00\x4f\x97\x9f\x67\x7e\xfb\xef" "\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\x30\x0c\x8a\x64\xa4\xb3" "\xa9\x96\x33\xdd\xf2\x54\x1a\xa3\x49\xc6\x93\x34\xcb\x76\x1b\xc9\x5f\xbb" "\xe5\xa1\xf0\xc6\xf1\xba\x7d\x76\xd2\x71\x00\x00\x00\xc0\x10\x7a\x66\x33" "\x9b\x59\xcf\x64\xf1\xdf\xce\xfe\x56\x51\x7d\xe7\x7f\xb1\xfa\xde\x3f\x9e" "\x77\xb3\x9c\xb5\x2c\x65\x2d\xed\x2c\xe6\x7a\xf5\x2c\xa0\xf3\xad\xbf\xf1" "\xcf\x8d\x56\xfb\xde\xdd\xd6\xed\x72\xd9\x3d\xee\xf7\xff\x7d\xa4\x30\xaa" "\x11\xd3\x79\xf6\xb0\xf7\x99\x67\xaa\x16\x2f\xd4\xed\x37\x92\xfc\x28\x3f" "\xce\xf9\x4c\xe7\x6a\x56\xb2\x94\x9f\x64\x21\x6b\x59\xcc\x74\x7e\x58\x95" "\x16\x52\x64\xaa\x7e\x7a\x31\xd5\x8d\x73\x57\xbc\x63\xe5\xea\xca\x8e\x50" "\xae\x3e\x2c\xd6\x97\xcb\x48\xaa\x8e\x4b\x55\x6c\x17\x72\xad\xf7\x18\xa4" "\xd1\x6d\xd3\x77\xb6\x3f\x37\x93\x07\x32\x74\xa7\xcc\x4e\xf1\xbd\xda\x21" "\x73\x74\xbd\xde\x96\x33\xfa\x6d\xbd\x1d\x0e\x53\xd5\xcc\x4f\xe5\x46\x9d" "\x91\x99\x3a\xf7\x65\x36\x9e\xdd\x37\xf7\x95\x23\x5e\x27\x0f\x9e\x69\x36" "\x8d\xde\x33\xa8\x33\x07\x9d\xa9\x71\xbc\x9c\x9f\xae\xb7\x65\xae\x7f\x3d" "\xd4\x39\x9f\x4b\xa3\x77\xf5\xbd\x78\x70\xce\x93\x6f\xfc\xeb\x6f\x57\x6f" "\xb6\x97\x6f\xdd\xbc\xb1\x7a\x7e\x78\xa6\x74\x4c\x0f\x66\xa2\xd5\xcb\xc4" "\x78\x5e\x3a\x7c\x26\x36\x0e\x97\x89\x91\xbd\x0e\x8e\x3f\xfa\x2c\x4e\x42" "\xb3\xce\x46\x27\xc6\xed\xbb\x65\x32\xff\xd0\xbb\xe5\x2b\x55\xdf\xc9\x2c" "\xe5\x8d\xbc\x9d\xeb\x59\xcc\xa5\xcc\x64\x36\x97\x33\x93\xef\x64\x2e\xad" "\x1d\x57\xd8\x0b\x07\xe7\xb5\x7a\xad\x35\x8e\xf6\x5a\x3b\xfb\xf5\xba\x30" "\x91\xe4\x37\xf5\x76\x38\x94\x79\x7d\xb6\x2f\xaf\xfd\x77\xba\xa9\xaa\xae" "\xff\xc8\x76\x96\x9e\x3b\x44\x96\x8e\x78\x47\x1a\xfd\x4a\x5d\x28\xcf\xf1" "\x8b\xbe\x77\x9c\xc1\x7b\x30\x13\xb3\x7d\x99\x78\xfe\xe0\x4c\xfc\x6e\xab" "\x5c\xaf\xb6\x97\x6f\xad\xdc\x5c\x78\xe7\x90\xe7\x3b\xd7\xd9\x54\xef\xc4" "\xbf\xda\x79\x6f\xfe\xfd\x49\xcc\xe7\xf8\xca\xeb\xe5\xb9\xf2\x1f\xab\xda" "\xdb\x79\x75\x94\x75\xcf\xef\x59\x37\x5b\xd5\x9d\xe9\xd5\x35\x76\xd5\xbd" "\xd0\xab\x7b\xd8\x2b\xb5\x59\x7f\x86\xdb\x3d\x52\xa7\xee\xa5\x3d\xeb\x5a" "\x55\xdd\xcb\x7d\x75\x13\xbd\xba\x0b\xb9\x96\xb7\xd3\xee\x7d\x0a\x01\x60" "\x88\x9d\x7e\xf5\x74\x73\xe2\xfe\xc4\x3f\x26\x3e\x9e\xf8\xe5\xc4\xcd\x89" "\xd7\xc7\x7f\x30\x76\x79\xec\xab\xcd\x9c\xfa\xfb\xe8\x5f\x46\xfe\xd8\xf8" "\x43\xe3\xbb\xc5\xab\xf9\x38\x3f\xcb\xe4\xa0\x23\x05\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80" "\xa7\xc1\xea\x7b\xef\xdf\x5a\x68\xb7\x17\x57\x86\xb0\x90\xc6\x50\x84\xf1" "\x74\x14\xc6\x92\x1c\xb5\x57\x31\x7a\xb2\x61\xfc\x29\xc9\x17\x33\xc1\x3b" "\xf5\xe5\x3c\xf8\x3c\x6f\x17\xba\xbf\x4f\x38\x2c\xf1\x1c\xa2\x30\x91\xed" "\x23\x03\xbc\x29\x01\x8f\xc5\xc5\xb5\xdb\xef\x5c\x5c\x7d\xef\xfd\x6f\x2e" "\xdd\x5e\x78\x6b\xf1\xad\xc5\xe5\xb9\xcb\x97\x2e\x5f\x6a\x7d\x7b\xf6\x5b" "\x17\x6f\x2c\xb5\x17\x67\x3a\xeb\x41\x47\x09\x7c\x11\xb6\xdf\xfd\x07\x1d" "\x09\x00\x00\x00\x00\x00\x00\x00\x00\x00\x70\x58\x8f\xe3\xff\x15\x0c\x7a" "\x8e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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\x93\x6d\xfe\xcd\x9c\xda\x48\x91\xd9\x99\x0b\x33\xe5" "\xfe\xbd\xbb\xad\x76\xb9\x74\xcb\xdb\x2d\x47\x93\x34\x92\x14\x3f\x4d\x8a" "\xcf\x93\x2b\xe9\x2c\x99\xea\x1b\xae\xd8\xef\x3c\xaf\xdd\xff\xf4\xa3\x73" "\x1f\x7e\xd2\xda\x1e\x6b\xb4\xdb\xbe\x71\x50\xbf\xc3\xd9\xa8\x97\x4c\x27" "\x19\xa9\xb7\x0f\x37\xd6\x57\xfe\x60\xdf\xf1\xae\xf5\x8f\xd7\x38\x4e\x78" "\x45\x6f\x86\x65\xc2\xce\x76\x13\x07\x83\xf6\xbf\x00\x00\x00\xff\xff\xd4" "\x7f\x08\x0b", 1623); res = -1; res = syz_mount_image(/*fs=*/0x200000c0, /*dir=*/0x200001c0, /*flags=*/0x8800, /*opts=*/0x20000200, /*chdir=*/0, /*size=*/0x657, /*img=*/0x200005c0); if (res != -1) r[0] = res; syscall(__NR_getdents64, /*fd=*/r[0], /*ent=*/0x20000540ul, /*count=*/0x67ul); return 0; }