// https://syzkaller.appspot.com/bug?id=a85ec24fb7b4ec659c9a7f3c3a8df4803c29f054 // 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 #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) { if (strstr(opts, "errors=panic") || strstr(opts, "errors=remount-ro") == 0) 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, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); memcpy((void*)0x20000600, "hfsplus\000", 8); memcpy((void*)0x20000640, "./bus\000", 6); memcpy( (void*)0x20000a80, "\x78\x9c\xec\xdd\xcd\x6f\x1c\x67\x1d\x07\xf0\xef\xac\x37\x4e\x36\x48\x89" "\xdb\x26\x69\x40\x95\xb0\x1a\xa9\x20\x2c\x12\xbf\xc8\x05\x73\x21\x20\x84" "\x7c\xa8\x50\x55\x0e\x9c\xad\xc4\x69\xac\x6c\xdc\x62\xbb\xc8\xad\x10\x84" "\xf7\x2b\x87\xfe\x01\xe5\xe0\x1b\x27\x24\xee\x91\xca\x19\x6e\xbd\xfa\x58" "\x09\x89\x4b\x4f\x46\x20\x2d\x9a\xd9\x59\x7b\xe3\x6c\x9c\x35\x49\xb3\xeb" "\xf4\xf3\x89\x66\x9f\xe7\xd9\x67\xe6\x99\xdf\xfc\xe6\x6d\x67\x57\x91\x03" "\x7c\x61\x2d\xcf\xa4\x79\x3f\x45\x96\x67\xde\xd8\x2e\xdb\xbb\x3b\x0b\xed" "\xdd\x9d\x85\xbb\xbd\x7a\x92\xd3\x49\x1a\x49\xb3\x5b\xa4\x58\x4f\x8a\x8f" "\x93\xeb\xe9\x4e\xf9\x72\xf9\x66\x92\xce\xf9\x6e\x39\xd0\x87\x6b\x4b\x6f" "\x7d\xf2\xd9\xee\xa7\xdd\x56\xb3\xd9\x1d\xaf\x9a\xbf\x91\x23\x96\x1b\xce" "\xbd\x7a\xca\x74\x92\x89\xba\x7c\x5a\xe3\xdd\x78\xe2\xf1\x8a\xfd\x2d\x2c" "\x13\x76\xa5\x97\x38\x18\xb5\x53\xe5\x89\xfb\x80\x9f\x5e\x3a\xe8\x79\xac" "\x27\x3c\x6f\x81\x71\x50\x3c\xe2\x64\x9e\x4a\xce\x26\x39\x53\x7f\x0e\xe8" "\xde\x15\xbb\xf7\xec\x13\xed\xde\xa8\x03\x00\x00\x00\x80\x67\xe0\xfc\x5e" "\xf6\xb2\x9d\x73\xa3\x8e\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\x4e\x92" "\x22\x99\xe8\x16\xd5\xd4\xe8\xd5\xa7\x53\xf4\xfe\xfe\xff\x64\xfd\x5e\xea" "\xfa\x89\x76\x7f\xd4\x01\x00\x00\x00\x00\x00\x00\x00\xc0\x53\xf0\xd5\xbd" "\xec\x65\x3b\xe7\x7a\xed\x4e\x51\xfd\xe6\xff\x6a\xd5\xb8\x50\xbd\x7e\x29" "\xef\x65\x33\xab\xd9\xc8\xd5\x6c\x67\x25\x5b\xd9\xca\x46\xe6\x92\x4c\xf5" "\x0d\x34\xb9\xbd\xb2\xb5\xb5\x31\x37\xc4\x92\xf3\x03\x97\x9c\x1f\x32\xe0" "\xd6\x93\x6f\x33\x00\x00\x00\x00\x00\x00\x00\x3c\x87\x7e\x9d\xe5\x83\xdf" "\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x60\x1c\x14\xc9\x44\xb7" "\xa8\xa6\x0b\xbd\xfa\x54\x1a\xcd\x24\x67\x92\x4c\x96\xf3\xdd\x4b\xfe\xd1" "\xab\x9f\x64\xf7\x47\x1d\x00\x00\x00\x00\x3c\x03\xe7\xf7\xb2\x97\xed\x9c" "\xeb\xb5\x3b\x45\xf5\xcc\x7f\xa9\x7a\xee\x3f\x93\xf7\xb2\x9e\xad\xac\x65" "\x2b\xed\xac\xe6\x66\xf5\x5d\x40\xf7\xa9\xbf\xb1\xbb\xb3\xd0\xde\xdd\x59" "\xb8\x5b\x4e\x0f\x8f\xfb\xbd\x7f\x1d\x2b\x8c\x6a\xc4\x74\xbf\x7b\x18\xbc" "\xe6\xcb\xd5\x1c\xad\xdc\xca\x5a\xf5\xce\xd5\xdc\xc8\x3b\x69\xe7\x66\x1a" "\xd5\x92\xa5\xcb\xbd\x78\x06\xc7\xf5\xab\x32\xa6\xe2\xbb\xb5\x21\x23\xbb" "\x59\x97\xe5\x96\xff\xb1\x2e\xc7\xc3\x54\x95\x91\x53\xfb\x19\x99\xad\x63" "\x2b\xb3\xf1\xc2\xd1\x99\x38\xe6\xde\x39\xbc\xa6\xb9\x34\xf6\xbf\xf9\xb9" "\xf0\xd4\x73\xfe\xdf\x4e\xa7\xd3\xad\x95\xdb\xf3\xfb\xb1\xce\xf9\x7c\xdf" "\xd1\x77\xe9\xe8\x4c\x24\x5f\xfb\xeb\x9f\x7f\x72\xbb\xbd\x7e\xe7\xf6\xad" "\xcd\x99\xf1\xd9\xa4\x63\x38\xbd\xbf\x67\x1e\xce\xc4\x42\x5f\x26\x5e\x7e" "\xee\x33\xd1\x6f\xb6\xca\xc4\xc5\xfd\xf6\x72\x7e\x98\x1f\x67\x26\xd3\x79" "\x33\x1b\x59\xcb\xcf\xb2\x92\xad\xac\x66\x3a\x3f\xa8\x6a\x2b\xf5\xf1\x5c" "\xbe\x4e\x1d\xce\xd4\x7f\xfa\x52\x9c\x5c\x7f\x60\x45\x6f\x3e\x2e\x92\xc9" "\x7a\xbf\x74\xaf\xa2\xc7\x8b\xe9\xd5\x6a\xd9\x73\x59\xcb\x8f\xf2\x4e\x6e" "\x66\x35\xaf\x57\xff\xe6\x33\x97\x6f\x65\x31\x8b\x59\xea\xdb\xc3\x17\x87" "\x38\xeb\x1b\xc7\xbb\xd2\x5e\xf9\x7a\x5d\x69\x25\xf9\x43\x5d\x8e\x87\x32" "\xaf\x2f\xf4\xe5\xb5\xff\x9a\x3b\x55\xf5\xf5\xbf\x73\x90\xa5\x17\x9f\xfe" "\xfd\xa8\xf9\x95\xba\x52\xae\xe3\x37\x75\x39\x1e\x0e\x67\x62\xae\x2f\x13" "\x2f\x1d\x9d\x89\x3f\x55\xc7\xfc\x66\x7b\xfd\xce\xc6\xed\x95\x77\x1f\xbd" "\x8a\x07\xce\x87\xd7\xea\xb2\x3c\x8f\x7e\x37\x56\x77\x89\xf2\x78\x79\xb1" "\xdc\x59\x55\xeb\xc1\xa3\xa3\xec\x7b\x69\x60\xdf\x5c\xd5\x77\x61\xbf\xaf" "\xf1\x50\xdf\xc5\xfd\xbe\xc7\x9d\xa9\x93\xf5\x67\xb8\x87\x47\x9a\xaf\xfa" "\x5e\x1e\xd8\xb7\x50\xf5\x5d\xee\xeb\x1b\xf4\x79\x0b\x80\xb1\x77\xf6\x1b" "\x67\x27\x5b\xff\x6c\xfd\xbd\xf5\x51\xeb\xb7\xad\xdb\xad\x37\xce\x7c\xff" "\xf4\xb7\x4f\xbf\x32\x99\x53\x7f\x3b\xf5\x9d\xe6\xec\xc4\x6b\x8d\x57\x8a" "\xbf\xe4\xa3\xfc\xe2\xe0\xf9\x1f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf8\xff\x6d\xbe\xff" "\xc1\x9d\x95\x76\x7b\x75\xe3\x50\xa5\xd3\xe9\xfc\xf2\x11\x5d\x2a\x2a\xc7" "\xae\xfc\xbb\xd3\xe9\x8c\x41\x18\x43\x56\x3a\xb5\x71\x89\x67\x14\x95\xc1" "\xd7\x8b\x89\x67\x7d\x81\x02\x3e\x37\xd7\xb6\xee\xbe\x7b\x6d\xf3\xfd\x0f" "\xbe\xb9\x76\x77\xe5\xed\xd5\xb7\x57\xd7\x97\x16\x17\x97\x66\x97\x16\x5f" "\x5f\xb8\x76\x6b\xad\xbd\x3a\xdb\x7d\x1d\x75\x94\xc0\xe7\xe1\xe0\xa6\x3f" "\xea\x48\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x61\x3d\x8b\xff\x4e\x30" "\xea\x6d\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\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\xb6\xe5\x99\x34\xef\xa7\xc8\xdc\xec\xd5\xd9" "\xb2\xbd\xbb\xb3\xd0\x2e\xa7\x5e\xfd\x60\xce\x66\x92\x46\x92\xe2\xe7\x49" "\xf1\x71\x72\x3d\xdd\x29\x53\x7d\xc3\x15\x8f\x5a\xcf\x87\x6b\x4b\x6f\x7d" "\xf2\xd9\xee\xa7\x07\x63\x35\x7b\xf3\x37\x8e\x5a\x6e\x38\xf7\xea\x29\xd3" "\x49\x26\xea\x72\x78\x93\x47\x8e\x77\xe3\xd8\xe3\x1d\x56\xec\x6f\x61\x99" "\xb0\x2b\xbd\xc4\xc1\xa8\xfd\x2f\x00\x00\xff\xff\x58\xed\x20\xaf", 1546); syz_mount_image(0x20000600, 0x20000640, 0x50, 0x200003c0, 2, 0x60a, 0x20000a80); memcpy((void*)0x20000280, "./file1\000", 8); syscall(__NR_creat, 0x20000280ul, 0ul); return 0; }