// https://syzkaller.appspot.com/bug?id=3b6e72e3c873c0c6175fb5803c23d9d88aab4a7e // 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 279 #endif #ifndef __NR_mmap #define __NR_mmap 222 #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 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; } 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*)0x20000180, "udf\000", 4); memcpy((void*)0x20000100, "./file0\000", 8); memcpy((void*)0x20000240, "longad", 6); *(uint8_t*)0x20000246 = 0x2c; memcpy((void*)0x20000247, "gid", 3); *(uint8_t*)0x2000024a = 0x3d; sprintf((char*)0x2000024b, "%020llu", (long long)0); *(uint8_t*)0x2000025f = 0x2c; memcpy((void*)0x20000260, "adinicb", 7); *(uint8_t*)0x20000267 = 0x2c; memcpy((void*)0x20000268, "nostrict", 8); *(uint8_t*)0x20000270 = 0x2c; memcpy((void*)0x20000271, "adinicb", 7); *(uint8_t*)0x20000278 = 0x2c; memcpy((void*)0x20000279, "noadinicb", 9); *(uint8_t*)0x20000282 = 0x2c; *(uint8_t*)0x20000283 = 0; memcpy( (void*)0x20000ac0, "\x78\x9c\xec\xdc\xcb\x6f\x1c\x77\x1d\x00\xf0\xef\x6f\xb2\xeb\x6e\x1c\xd4" "\x6e\xd3\x90\xa6\x0f\x21\x23\x0e\x35\x6d\x13\xd9\x8e\x29\xa9\xcc\xa1\xa1" "\xc1\x08\x54\x8a\xd5\xd4\xdc\x38\xb8\xb1\x9d\x5a\xf5\x23\xb2\x9d\xaa\xae" "\xa0\x54\xe2\x21\x2e\x1c\xf8\x17\xa0\x41\x08\x09\x14\x09\x89\x43\x91\x38" "\x20\x71\xee\xb5\x52\x41\xe2\xc4\x11\xb9\x80\xc4\x11\x34\xe3\x99\x7d\x38" "\x6e\x6c\x58\xaf\x1d\xc7\x9f\x8f\x14\xef\xec\xcc\x77\xe7\xa5\xfd\xfe\x9e" "\xb3\x09\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x20\xe2\xcb" "\x5f\xb9\x3c\x32\x9a\x0e\xfb\x2c\x00\x80\x83\xf4\xf2\xd5\x57\x46\xc6\xd4" "\xff\x00\x70\xac\xbc\xaa\xff\x0f\x00\x00\xc7\x45\x8a\x2c\xbe\x1f\x29\x4e" "\x4f\x6f\xa6\xa7\x8a\xf7\x5b\x1a\x2f\x2d\x2c\xdf\x7c\x6b\xfa\xca\xe4\xce" "\x1f\x3b\x99\x8a\x4f\x9e\x28\xe2\xf3\x7f\x8d\xd1\xb1\x8b\xe3\x5f\x78\xee" "\x8b\x97\xaa\xd7\xbb\x7f\x7e\xbf\x3d\x16\xdf\xbc\xfa\xea\xe5\xa1\x17\x57" "\x96\x6e\xac\xce\xad\xad\xcd\xcd\x0e\x4d\x2f\x2f\x5c\x5b\x99\x9d\xdb\xf3" "\x1e\x7a\xfd\xfc\x76\x4f\x17\x37\x60\x68\xe9\x8d\x9b\xb3\xf3\xf3\x6b\x43" "\x63\x17\x2e\x76\x6d\x7e\xab\xf9\xb7\x07\x4e\x9d\x6d\x4e\x5c\x9a\xce\x2e" "\x55\xb1\xd3\x57\x26\x27\xaf\x76\xc4\xd4\xea\xff\xf7\xd1\xef\xa0\x87\xc7" "\x4e\x06\x22\x8b\x3f\x45\x8a\x7f\xfc\xf3\x37\x69\x38\x22\xb2\xe8\x3d\x17" "\x76\x29\x3b\xfa\xed\x64\xd4\xf2\xfc\x2b\x2e\x62\xfa\xca\x64\x71\x21\x8b" "\x0b\x33\xcb\xeb\xf9\xc6\xa9\x2a\x11\x6a\xdd\x39\x31\x50\xe5\xc8\x01\xe4" "\x62\x4f\x6a\x11\xe7\xf3\x73\x1d\x90\xd1\xf4\xae\x1e\x59\x4c\x44\x8a\x0f" "\xbe\xbe\x99\x3e\x1f\x11\x27\xaa\x3c\x78\xa6\x98\x18\xdc\x7d\x07\xb5\x03" "\x38\xc9\x4f\x38\xec\x85\x3c\x9f\xe3\x08\xe4\x2c\xdc\xa3\x1e\x88\x2c\xc6" "\x23\xc5\xcb\x3f\x6b\xc6\xd3\x65\x5e\x15\xf9\x5f\x8b\x78\xe7\xb0\x4f\x0e" "\xe8\xab\x5a\x64\xf1\x4a\xa4\xf8\xd7\xc4\x66\x7a\xa6\x68\x0f\xe4\xf5\x69" "\xde\x6c\x7e\xe9\x5b\x43\x5f\x5b\x9e\x5f\xe9\x88\x9d\x4a\x65\x8d\x7a\xd4" "\xfb\x07\x07\x49\xdb\x84\x7b\x58\x23\xb2\x18\x2e\x6a\xfc\xcd\xf4\xec\x61" "\x9f\x0c\x70\xa0\x4e\x46\x16\xbf\x8f\x14\xef\xbd\xfe\x66\x31\xae\x14\xc5" "\xb8\xf4\x43\x13\xcf\x3f\xd4\x38\xd5\x39\xc2\xf4\xe8\x2e\xfb\x49\x65\x7f" "\x7c\x62\x8f\x7d\xf2\x7a\x39\xd6\x38\x95\xa6\x52\xca\xf6\xff\xba\x80\xdd" "\x35\x52\x16\x3f\x8a\x14\x1f\xfc\xbc\x51\xbc\xcf\x73\x77\xb0\x58\xfa\xeb" "\x7f\xb6\x1c\xf2\x09\x02\xfd\x93\xb2\xf8\x45\xa4\xf8\xf1\xf0\x66\x4a\xdb" "\xe6\xa5\x4f\x74\xcc\xef\xb7\x1c\xf5\xbe\x7f\x7f\xcf\xff\x64\xe3\xc5\x95" "\x1b\x1b\xab\x0b\xd7\x5f\x5f\xdf\x71\xfb\x60\xe3\xf2\x6b\x6b\xeb\xab\x33" "\xd7\x76\xde\xbc\x35\x77\xd9\xd5\x1c\xda\x6d\x1e\x13\x7a\x50\x4f\x59\x7c" "\x23\x52\x6c\x3c\x76\xbb\xf5\xbd\x2b\xe7\x00\xca\x99\xbd\xf6\x17\xed\xd6" "\x97\xda\xdf\xcd\x46\xda\xb6\xb5\x28\x37\x1e\xdc\x7a\x9e\xa5\xea\x43\x3c" "\xf8\x99\xe1\xce\xe5\x1d\xbf\xb2\xff\xc3\xf8\x58\xb3\x3c\xee\x89\xde\x2f" "\x1b\xc8\xf3\x37\x65\xf1\x42\xa4\x98\x7f\xff\x5c\x39\xf7\x3f\x18\x77\xd4" "\x41\x65\xdc\x64\xa4\xf8\xea\x47\x4f\x96\x71\xd9\x40\x1e\x57\x4d\xff\x37" "\x8b\xbf\x8d\xf9\x85\xc5\xb9\x91\x3c\xf6\xc3\x48\xf1\xe7\x0f\xab\xd8\x28" "\x62\xab\x81\xf7\x47\xda\xb1\xa3\x79\x6c\xde\xca\xf8\xec\x1f\xba\x63\x07" "\xcb\xd8\x33\xed\xd8\xb1\xea\x1c\x6e\xfe\x7a\xe7\xd8\x4f\xb7\x63\x2f\xe6" "\xb1\xef\x45\x8a\x73\xb3\x43\x55\xec\x60\x1e\x7b\xa6\x8c\x3d\xdb\x8e\xbd" "\x70\x6d\x65\x71\xb6\x6f\x37\x18\xee\x61\xf5\x32\x4f\x3e\xfe\xe1\x50\xaa" "\x72\xb9\xbb\xfe\x6f\xd7\xb6\xb7\xbe\xd3\xae\xef\xdf\xdd\xbe\xa3\x4f\xa8" "\xf3\x7b\xad\xff\x9b\x1d\xeb\xde\x2d\xcb\xa1\xcb\x65\x79\x55\xdb\xa5\xbc" "\x7a\x36\x52\xbc\x76\xeb\xc9\xea\x7a\x8a\xb2\xa2\x6a\x56\x3c\x5c\xfc\x6d" "\x97\x57\xe7\x23\xc5\xe3\x7f\xef\x8e\x6d\x94\xb1\xa7\xdb\xb1\xa3\x7b\xbe" "\xb1\x70\x04\xe4\xf9\xff\xcb\x48\xf1\x93\x6f\xdf\x6e\xe5\x46\x99\x03\xe5" "\xdb\x8e\xf6\x7f\x47\xfe\x3f\x5e\x96\x0e\xad\xbc\xeb\x53\xfe\x3f\xdc\xb1" "\xae\x59\x1e\x77\x60\x7f\x2e\x1d\x8e\xbd\xb5\x8d\xb7\xdf\x98\x59\x5c\x9c" "\x5b\xb5\x60\xc1\x82\x85\xd6\xc2\x61\x97\x4c\x40\xbf\xe5\xed\xff\x1f\x44" "\x8a\x27\xbe\xfb\x51\xab\xbf\x5b\xb6\xff\x3f\xb5\xf5\xae\xdd\xff\xff\xf7" "\x3b\xed\xf6\xff\xc4\xf6\x1d\xf5\xa9\xfd\x7f\xba\x63\xdd\x44\xd9\x1b\xa9" "\xe7\x7d\xf3\xf5\xa5\x1b\xf5\x47\x23\x1a\x6b\x1b\x6f\x9f\x5f\x58\x9a\xb9" "\x3e\x77\x7d\x6e\x79\x74\xfc\xf9\xe7\xc6\x46\x47\x46\xc6\xc7\xeb\x03\x55" "\xe7\xbe\xbd\xd4\xf3\xbd\x82\xfb\x4d\x9e\xff\x7f\x8c\x14\x53\xbf\xfb\x55" "\x6b\x7c\xbe\xbb\xff\xbf\xf3\xf8\xdf\xe0\xf6\x1d\xf5\x29\xff\x1f\xe9\x58" "\x37\xd8\xd5\x5f\xe9\xf9\xd2\xe1\xd8\xcb\xf3\xff\xa7\x91\xe2\xe3\xbf\xdc" "\x6e\xe5\xf4\xdd\xc6\xff\xaa\xf1\xbe\xe1\xcf\x6d\xbd\xb6\x7e\x4c\xd3\xa7" "\xfc\x3f\xd3\xb1\xae\x59\x1e\xf7\xd4\xfe\x5c\x3a\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x1c\x59\xf5\x94\xc5\x6f\x23\xc5\x13\x6f\xd6\x52\xf5\xac\xdd" "\x5e\x9e\xff\xbd\xe3\x3f\xcc\xe8\xd3\xf3\x7f\x67\x3b\xd6\xcd\x1e\xd0\xef" "\x15\x7b\xbe\xa9\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf7\x91\x2c\xb2\x58\x89\x14\xef" "\xbf\xb0\x99\xbe\x97\xaf\x38\x17\xf1\x54\xe7\x2b\x70\xdf\xfa\x6f\x00\x00" "\x00\xff\xff\x37\x93\x25\x38", 1249); syz_mount_image(/*fs=*/0x20000180, /*dir=*/0x20000100, /*flags=*/0x20080c, /*opts=*/0x20000240, /*chdir=*/1, /*size=*/0x4e1, /*img=*/0x20000ac0); memcpy((void*)0x200016c0, "./bus\000", 6); syz_mount_image(/*fs=*/0, /*dir=*/0x200016c0, /*flags=*/0, /*opts=*/0, /*chdir=*/0, /*size=*/0, /*img=*/0); return 0; }