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