// https://syzkaller.appspot.com/bug?id=5870f4bbc7294f2b4405a408e35e7e96100fb284 // 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) { errno = EMSGSIZE; return -1; } 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*)0x20000580, "udf\000", 4); memcpy((void*)0x20000000, "./file0\000", 8); memcpy((void*)0x20000080, "uid", 3); *(uint8_t*)0x20000083 = 0x3d; sprintf((char*)0x20000084, "%020llu", (long long)0); *(uint8_t*)0x20000098 = 0x2c; memcpy((void*)0x20000099, "utf8", 4); *(uint8_t*)0x2000009d = 0x2c; memcpy((void*)0x2000009e, "umask", 5); *(uint8_t*)0x200000a3 = 0x3d; sprintf((char*)0x200000a4, "%023llo", (long long)2); *(uint8_t*)0x200000bb = 0x2c; memcpy((void*)0x200000bc, "iocharset", 9); *(uint8_t*)0x200000c5 = 0x3d; memcpy((void*)0x200000c6, "maccroatian", 11); *(uint8_t*)0x200000d1 = 0x2c; memcpy((void*)0x200000d2, "noadinicb", 9); *(uint8_t*)0x200000db = 0x2c; *(uint8_t*)0x200000dc = 0; memcpy( (void*)0x20000640, "\x78\x9c\xec\xdd\xcd\x6b\x5d\x69\x1d\x07\xf0\xdf\x73\x92\x9b\xdc\x64\xda" "\xf4\x4e\x3b\xb6\x53\x1d\xe5\xc2\x88\x53\x46\xac\x79\xe9\x38\x53\x32\x8c" "\x76\x26\x06\x84\xc1\x81\xc9\x64\x84\x59\x19\x9b\xa4\x0d\xcd\x4b\x49\x32" "\xd2\x0e\x22\x83\x20\xb8\x10\xb7\x2e\xc5\xc5\xa0\x28\x88\x0b\x57\x82\x0b" "\xf5\x0f\x70\x2d\x82\xb8\x50\xd7\xe9\xaa\x0b\xb1\x95\x73\x72\xee\x5b\x1a" "\x4d\x9c\x9b\x9b\x97\xf6\xf3\x81\xf6\x9e\x7b\xee\xef\xbc\x2e\x02\xdf\xe7" "\x39\xe7\x79\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88" "\x78\xfd\xab\xd7\x46\xc7\xd2\x51\x9f\x05\x00\x00\x00\xd0\x4b\x5f\x9f\x79" "\x7b\x74\x5c\xfe\x07\x00\x00\x80\xc7\xda\x3b\xfa\xff\x01\x00\x00\x00\x00" "\x00\x00\xe0\xa4\x4b\x91\xc5\x4b\x91\xe2\xe5\x7f\x6f\xa5\x53\xc5\xf7\x6d" "\xd5\x37\x97\x56\xdf\xbf\x33\x3b\x35\xbd\xfb\x66\x43\xa9\xd8\xb2\xaf\xa8" "\xcf\xff\x55\xc7\xc6\x27\xae\xbc\xf4\xa5\x97\x5f\x69\x7c\xfe\xef\xed\x0f" "\xda\xc5\x78\x6b\xe6\x9d\x6b\xf5\x37\xd6\x56\x6e\xaf\x2f\x6c\x6c\x2c\xcc" "\xd7\x67\x57\x97\xae\xaf\xcd\x2f\xec\x7b\x0f\xdd\x6e\xbf\xd3\x8b\xc5\x0d" "\xa8\xaf\xdc\x7a\x7f\x7e\x71\x71\xa3\x3e\x7e\x79\xa2\xe3\xe7\x3b\xb5\x7f" "\x0e\x3e\x75\xbe\x36\xf9\xca\xbb\x53\x33\x8d\xda\xd9\xa9\xe9\xe9\x99\xb6" "\x9a\xfe\xca\xc7\x3e\xfa\x23\x3c\xe1\x01\x00\x00\xf0\x64\x1b\x88\x2c\xbe" "\x11\x29\x7e\x7a\xef\x57\xe9\x74\x44\x64\xd1\x7d\x16\xde\xa3\xed\xa0\xd7" "\x86\xa2\x96\xe7\xef\xe2\x22\x66\xa7\xa6\x8b\x0b\x59\x5e\x9a\x5b\xdd\xcc" "\x7f\x4c\x8d\x20\x5c\xeb\xcc\xc4\x03\x8d\x8c\x7c\x08\x59\xbc\x2b\xb5\x88" "\xb3\xf9\xb9\x0e\x48\xf4\x00\x00\x00\xec\x5f\x25\xb2\xf8\x4c\xa4\xb8\xf8" "\x60\x2b\x8d\x44\x44\x5f\x23\x07\x7f\xbe\x18\x18\x70\xef\x1d\xd4\x0e\xe1" "\x24\x77\xd1\x1f\x11\xe7\x22\xe2\x52\x9c\x80\xcc\x0e\x00\x00\x00\x47\x6c" "\x30\xb2\x78\x3b\x52\xfc\x6e\xb9\x16\x67\xca\x5c\x5d\xe4\xff\xaf\x44\x4c" "\x1e\xf5\xc9\x01\x00\x00\x00\x07\xa2\x3f\xb2\x58\x89\x14\x2f\xbc\xb6\x95" "\x6a\xc5\xf3\x00\x11\xf1\xe2\xec\xd4\x74\xfd\xcd\x77\xeb\x5f\x5b\x5d\x5c" "\x6b\xab\x4d\xa9\xec\x51\x3f\xe9\xef\x07\x1c\x26\xcf\x26\x00\x00\x00\x70" "\x0c\x54\x23\x8b\xd3\x45\x8f\xff\x56\x7a\xfa\xa8\x4f\x06\x00\x00\x00\xe8" "\x89\xa1\xc8\xe2\x73\x91\xe2\xc7\xff\xfa\x76\x31\xae\x5c\x14\xe3\xd2\x9f" "\x99\xbc\x3a\xf2\xd4\x48\xfb\x08\x73\x17\xf6\xd8\x4f\x5e\x7b\x39\x22\x3e" "\xb5\xcf\x77\xf2\x2b\x8d\xb1\x06\xf3\x6d\xb3\x83\xbd\x26\x00\x00\x00\xa0" "\x53\x35\x65\xf1\xf7\x48\x71\xff\xcf\xd5\xe2\xfb\xa5\xc6\x3b\x00\x7f\x7b" "\xf8\xf0\xe1\x51\x9f\x1c\x00\x00\x00\x70\x30\x52\x16\xb5\x48\xf1\xc3\x1f" "\x6d\x15\x53\xe3\xb5\xcf\x4b\xdf\xd7\x36\xbf\x7f\xd3\x49\x7f\xf7\xbf\xb7" "\xe7\x3f\x54\x7d\x63\xed\xf6\xdd\xf5\xa5\x1b\x37\x37\x77\xfd\x7d\xb8\x7a" "\xed\x5b\x1b\x9b\xeb\x73\xd7\x77\xff\x79\x7b\xee\xc2\x8e\xc7\x21\xf6\x9a" "\xc7\x10\x00\x00\x00\xf6\xa1\x92\xb2\xf8\x47\xa4\x78\xfe\xcc\xcf\x9b\xb9" "\xb3\x9c\x03\xa0\x7f\x67\xed\x47\xaf\xb6\xb2\x69\xb5\xcc\x9f\xcd\x18\x5a" "\xb4\x1b\x8c\x14\xed\x06\xcd\x77\x08\x4e\x8f\xbf\xd0\xbe\xbc\x6b\x64\xfd" "\x3f\xc6\xc7\xab\x96\xc7\xed\xeb\xee\x92\x01\x00\x00\xe0\x89\x93\x52\x16" "\x03\x91\xe2\xb3\x7f\x78\xb6\x9c\xfb\x7f\x38\x1e\xe9\x83\x2e\xeb\xfe\x14" "\x29\x5e\x5d\x7b\xae\xac\xcb\x06\xf2\xba\x46\x23\x41\xad\xf8\xbf\xba\xb8" "\xb4\xbc\x30\x9a\xd7\x4e\x45\x8a\xdf\x2c\x37\x6a\xa3\xa8\x1d\x2c\x6b\xcf" "\xb5\x6a\xc7\xf2\xda\xdf\xe7\xfb\x9d\xeb\xac\xad\x96\xb5\xcf\xb4\x6a\xc7" "\xf3\xda\x07\x91\xe2\xe6\xfa\xee\xb5\x9f\x68\xd5\x4e\xe4\xb5\xeb\x91\xe2" "\x97\x3f\xa9\x37\x6a\x87\xf3\xda\x53\x65\xed\xf9\x56\xed\xe5\xeb\x6b\xcb" "\xf3\x3d\xbb\xc1\x00\x00\x00\x70\x0c\x54\x52\x16\x5f\x8c\x14\xaf\xfd\xb1" "\x9e\x1a\x59\xbe\xb3\xff\xbf\xd5\xdb\xfe\xd1\x77\x5a\xfd\xfd\x1f\xee\xdc" "\xd1\x7f\xe9\xf3\xef\xb6\xff\xbf\xd6\xb6\xee\xc3\xb2\x1d\x62\xb0\x6c\xaf" "\xe8\xdf\xa3\xbd\xe2\xad\x48\x71\xf1\xe9\xe7\x1a\xd7\x53\xb4\x15\x34\x1e" "\x2b\xd8\x9e\xeb\xa0\xd5\x5e\x71\x2f\x52\xac\xbf\xd7\x59\x3b\x50\xd6\x9e" "\x6d\xd5\x8e\xed\xfb\xc6\x02\x00\x00\xc0\x31\x92\xe7\xff\xc9\x48\x31\x78" "\xf3\xb7\xcd\x47\xee\xcb\x0c\x5c\x7e\xdd\x3d\xff\x7f\x72\xe7\xdb\x01\x3d" "\xca\xff\xed\x73\x12\xe6\xc7\xdc\xb8\xfb\xc1\xad\xb9\xe5\xe5\x85\x75\x0b" "\x16\x2c\x58\x68\x2e\x74\xff\xb7\x10\x00\x00\x1e\x77\x79\xfe\xff\x7e\xa4" "\xb8\x35\xfa\x97\x66\x7f\x77\x99\xff\xcb\x47\xe5\x5b\xf9\xff\xfe\x77\x5b" "\xf9\x7f\x72\xe7\x8e\x7a\x94\xff\xcf\xb6\xad\x9b\x2c\xc7\x1b\xa8\xf4\x47" "\x54\x37\x57\x6e\x57\x2e\x44\x54\x37\xee\x7e\xf0\x85\xa5\x95\xb9\x1b\x0b" "\x37\x16\x56\xaf\x8c\x8f\x5e\xbd\x3a\x36\x3a\x31\x71\xa5\x32\xd0\xe8\xdc" "\x6f\x2d\x75\x7d\xaf\x00\x00\x00\xe0\xa4\xca\xf3\xff\x7b\x91\xe2\x07\xcf" "\xfe\xa2\xf9\x7e\xfe\x7e\xfa\xff\x87\x77\xee\xa8\x47\xf9\xff\x5c\xdb\xba" "\xfc\x98\xad\x4e\xbf\xae\x2f\x1d\x00\x00\x00\x9e\x18\x79\xfe\xff\x59\xa4" "\xb8\xb3\xfa\xeb\xe6\x38\x7a\x9d\xf9\xbf\x95\xda\xf3\xfc\xdf\x78\xcf\xfe" "\xd2\xf3\xdb\x9f\xcd\xd6\x81\x1e\xe5\xff\x67\xda\xd6\xd5\xca\xe3\x0e\x1d" "\xcc\xa5\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc0" "\xb1\x51\x49\x59\xfc\x35\x52\x7c\xef\xf5\xfe\x54\x0e\xf8\xbf\xaf\xf1\xff" "\xe6\x77\xee\xa8\x47\xef\xff\x9f\x6f\x5b\x37\x1f\x87\x33\xff\x5f\xd7\x37" "\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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\xa8\x2c\xb2\x58\x8a\x14\x9f\xbe\xb0\x95\xbe\x9c\xaf\xf8\x66\xc4" "\xa9\xf6\x4f\x00\x00\x00\xe0\xc4\xfb\x4f\x00\x00\x00\xff\xff\xa2\x7c\x1c" "\x85", 1387); syz_mount_image(0x20000580, 0x20000000, 0x410000, 0x20000080, 1, 0x56b, 0x20000640); memcpy((void*)0x200002c0, "tmpfs\000", 6); memcpy((void*)0x20000040, "./bus\000", 6); syz_mount_image(0x200002c0, 0x20000040, 0, 0, 0, 0, 0x20000000); return 0; }