// 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*)0x20000100, "udf\000", 4); memcpy((void*)0x20000000, "./file0\000", 8); memcpy((void*)0x20000140, "unhide", 6); *(uint8_t*)0x20000146 = 0x2c; memcpy((void*)0x20000147, "gid", 3); *(uint8_t*)0x2000014a = 0x3d; sprintf((char*)0x2000014b, "%020llu", (long long)0); *(uint8_t*)0x2000015f = 0x2c; memcpy((void*)0x20000160, "uid", 3); *(uint8_t*)0x20000163 = 0x3d; sprintf((char*)0x20000164, "%020llu", (long long)0); *(uint8_t*)0x20000178 = 0x2c; memcpy((void*)0x20000179, "noadinicb", 9); *(uint8_t*)0x20000182 = 0x2c; memcpy((void*)0x20000183, "uid=ignore", 10); *(uint8_t*)0x2000018d = 0x2c; *(uint8_t*)0x2000018e = 0; memcpy( (void*)0x20000bc0, "\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\xcf\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\x63\xf5\x9d\xda\x3f" "\x07\x9f\x3a\x5f\x9b\x7c\xe5\xdd\xa9\x99\x46\xed\xec\xd4\xf4\xf4\x4c\x5b" "\x4d\x7f\xe5\x63\x1f\xfd\x11\x9e\xf0\x00\x00\x00\x78\xb2\x0d\x44\x16\xdf" "\x88\x14\x3f\xbd\xf7\xab\x74\x3a\x22\xb2\xe8\x3e\x0b\xef\xd1\x76\xd0\x6b" "\x43\x51\xcb\xf3\x77\x71\x11\xb3\x53\xd3\xc5\x85\x2c\x2f\xcd\xad\x6e\xe6" "\x2b\x53\x23\x08\xd7\x3a\x33\xf1\x40\x23\x23\x1f\x42\x16\xef\x4a\x2d\xe2" "\x6c\x7e\xae\x03\x12\x3d\x00\x00\x00\xfb\x57\x89\x2c\x3e\x13\x29\x2e\x3e" "\xd8\x4a\x23\x11\xd1\xd7\xc8\xc1\x9f\x2f\x06\x06\xdc\x7b\x07\xb5\x43\x38" "\xc9\x5d\xf4\x47\xc4\xb9\x88\xb8\x14\x27\x20\xb3\x03\x00\x00\xc0\x11\x1b" "\x8c\x2c\xde\x8e\x14\xbf\x5b\xae\xc5\x99\x32\x57\x17\xf9\xff\x2b\x11\x93" "\x47\x7d\x72\x00\x00\x00\xc0\x81\xe8\x8f\x2c\x56\x22\xc5\x0b\xaf\x6d\xa5" "\x5a\xf1\x3c\x40\x44\xbc\x38\x3b\x35\x5d\x7f\xf3\xdd\xfa\xd7\x56\x17\xd7" "\xda\x6a\x53\x2a\x7b\xd4\x4f\xfa\xfb\x01\x87\xc9\xb3\x09\x00\x00\x00\x1c" "\x03\xd5\xc8\xe2\x74\xd1\xe3\xbf\x95\x9e\x3e\xea\x93\x01\x00\x00\x00\x7a" "\x62\x28\xb2\xf8\x5c\xa4\xf8\xf1\xbf\xbe\x5d\x8c\x2b\x17\xc5\xb8\xf4\x67" "\x26\xaf\x8e\x3c\x35\xd2\x3e\xc2\xdc\x85\x3d\xf6\x93\xd7\x5e\x8e\x88\x4f" "\xed\xf3\x9d\xfc\x4a\x63\xac\xc1\x7c\xdb\xec\x60\xaf\x09\x00\x00\x00\xe8" "\x54\x4d\x59\xfc\x3d\x52\xdc\xff\x73\xb5\xf8\x7e\xa9\xaf\x5c\xf1\xb7\x87" "\x0f\x1f\x1e\xe9\x99\x01\x00\x00\x00\x07\x26\x65\x51\x8b\x14\x3f\xfc\xd1" "\x56\x31\x35\x5e\xfb\xbc\xf4\x7d\x6d\xf3\xfb\x37\x9d\xf4\x77\xff\x7b\x7b" "\xfe\x43\xd5\x37\xd6\x6e\xdf\x5d\x5f\xba\x71\x73\x73\xd7\xf5\xc3\xd5\x6b" "\xdf\xda\xd8\x5c\x9f\xbb\xbe\xfb\xea\xed\xb9\x0b\x3b\x1e\x87\xd8\x6b\x1e" "\x43\x00\x00\x00\xd8\x87\x4a\xca\xe2\x1f\x91\xe2\xf9\x33\x3f\x6f\xe6\xce" "\x72\x0e\x80\xfe\x9d\xb5\x1f\xbd\xda\xca\xa6\xd5\x32\x7f\x36\x63\x68\xd1" "\x6e\x30\x52\xb4\x1b\x34\xdf\x21\x38\x3d\xfe\x42\xfb\xf2\xae\x91\xf5\xff" "\x18\x1f\xaf\x5a\x1e\xb7\xaf\xbb\x4b\x06\x00\x00\x80\x27\x4e\x4a\x59\x0c" "\x44\x8a\xcf\xfe\xe1\xd9\x72\xee\xff\xe1\x78\xa4\x0f\xba\xac\xfb\x53\xa4" "\x78\x75\xed\xb9\xb2\x2e\x1b\xc8\xeb\x1a\x8d\x04\xb5\xe2\xff\xea\xe2\xd2" "\xf2\xc2\x68\x5e\x3b\x15\x29\x7e\xb3\xdc\xa8\x8d\xa2\x76\xb0\xac\x3d\xd7" "\xaa\x1d\xcb\x6b\x7f\x9f\xef\x77\xae\xb3\xb6\x5a\xd6\x3e\xd3\xaa\x1d\xcf" "\x6b\x1f\x44\x8a\x9b\xeb\xbb\xd7\x7e\xa2\x55\x3b\x91\xd7\xae\x47\x8a\x5f" "\xfe\xa4\xde\xa8\x1d\xce\x6b\x4f\x95\xb5\xe7\x5b\xb5\x97\xaf\xaf\x2d\xcf" "\xf7\xec\x06\x03\x00\x00\xc0\x31\x50\x49\x59\x7c\x31\x52\xbc\xf6\xc7\x7a" "\x6a\x64\xf9\xce\xfe\xff\x56\x6f\xfb\x47\xdf\x69\xf5\xf7\x7f\xb8\x73\x47" "\xff\xa5\xcf\xbf\xdb\xfe\xff\x5a\xdb\x6f\x1f\x96\xed\x10\x83\x65\x7b\x45" "\xff\x1e\xed\x15\x6f\x45\x8a\x8b\x4f\x3f\xd7\xb8\x9e\xa2\xad\xa0\xf1\x58" "\xc1\xf6\x5c\x07\xad\xf6\x8a\x7b\x91\x62\xfd\xbd\xce\xda\x81\xb2\xf6\x6c" "\xab\x76\x6c\xdf\x37\x16\x00\x00\x00\x8e\x91\x3c\xff\x4f\x46\x8a\xc1\x9b" "\xbf\x6d\x3e\x72\x5f\x66\xe0\xf2\xeb\xee\xf9\xff\x93\x3b\xdf\x0e\xe8\x51" "\xfe\x6f\x9f\x93\x30\x3f\xe6\xc6\xdd\x0f\x6e\xcd\x2d\x2f\x2f\xac\x5b\xb0" "\x60\xc1\x42\x73\xa1\xfb\xbf\x85\x00\x00\xf0\xb8\xcb\xf3\xff\xf7\x23\xc5" "\xad\xd1\xbf\x34\xfb\xbb\xcb\xfc\x5f\x3e\x2a\xdf\xca\xff\xf7\xbf\xdb\xca" "\xff\x93\x3b\x77\xd4\xa3\xfc\x7f\xb6\xed\xb7\xc9\x72\xbc\x81\x4a\x7f\x44" "\x75\x73\xe5\x76\xe5\x42\x44\x75\xe3\xee\x07\x5f\x58\x5a\x99\xbb\xb1\x70" "\x63\x61\xf5\xca\xf8\xe8\xd5\xab\x63\xa3\x13\x13\x57\x2a\x03\x8d\xce\xfd" "\xd6\x52\xd7\xf7\x0a\x00\x00\x00\x4e\xaa\x3c\xff\xbf\x17\x29\x7e\xf0\xec" "\x2f\x9a\xef\xe7\xef\xa7\xff\x7f\x78\xe7\x8e\x7a\x94\xff\xcf\xb5\xfd\x96" "\x1f\xb3\xd5\xe9\xd7\xf5\xa5\x03\x00\x00\xc0\x13\x23\xcf\xff\x3f\x8b\x14" "\x77\x56\x7f\xdd\x1c\x47\xaf\x33\xff\xb7\x52\x7b\x9e\xff\x1b\xef\xd9\x5f" "\x7a\x7e\xfb\xb3\xd9\x3a\xd0\xa3\xfc\xff\x4c\xdb\x6f\xb5\xf2\xb8\x43\x07" "\x73\xe9\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x70" "\x6c\x54\x52\x16\x7f\x8d\x14\xdf\x7b\xbd\x3f\x95\x03\xfe\xef\x6b\xfc\xbf" "\xf9\x9d\x3b\x3a\xa0\xf7\xff\x9b\x63\x10\x94\x47\x3f\xdf\x56\x3a\x1f\x87" "\x33\xff\xdf\x81\xdc\x58\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x38\x81\xb2\xc8\x62\x29\x52\x7c\xfa\xc2\x56\xfa" "\x72\xfe\xc3\x37\x23\x4e\xb5\x7f\x02\x00\x00\x00\x27\xde\x7f\x02\x00\x00" "\xff\xff\x7e\xd2\x1c\x8b", 1392); syz_mount_image(0x20000100, 0x20000000, 0x410000, 0x20000140, 1, 0x570, 0x20000bc0); memcpy((void*)0x200002c0, "tmpfs\000", 6); memcpy((void*)0x20000040, "./bus\000", 6); syz_mount_image(0x200002c0, 0x20000040, 0, 0, 0, 0, 0x20000000); return 0; }