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