// https://syzkaller.appspot.com/bug?id=383326e5fbdd9183ad4a7ff6eb0c8e4fce1a1b00 // 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; static long syz_open_dev(volatile long a0, volatile long a1, volatile long a2) { if (a0 == 0xc || a0 == 0xb) { char buf[128]; sprintf(buf, "/dev/%s/%d:%d", a0 == 0xc ? "char" : "block", (uint8_t)a1, (uint8_t)a2); return open(buf, O_RDWR, 0); } else { char buf[1024]; char* hash; strncpy(buf, (char*)a0, sizeof(buf) - 1); buf[sizeof(buf) - 1] = 0; while ((hash = strchr(buf, '#'))) { *hash = '0' + (char)(a1 % 10); a1 /= 10; } return open(buf, a2, 0); } } static long syz_open_procfs(volatile long a0, volatile long a1) { char buf[128]; memset(buf, 0, sizeof(buf)); if (a0 == 0) { snprintf(buf, sizeof(buf), "/proc/self/%s", (char*)a1); } else if (a0 == -1) { snprintf(buf, sizeof(buf), "/proc/thread-self/%s", (char*)a1); } else { snprintf(buf, sizeof(buf), "/proc/self/task/%d/%s", (int)a0, (char*)a1); } int fd = open(buf, O_RDWR); if (fd == -1) fd = open(buf, O_RDONLY); return fd; } //% 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; } uint64_t r[2] = {0xffffffffffffffff, 0xffffffffffffffff}; 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); intptr_t res = 0; memcpy((void*)0x200000c0, "hfsplus\000", 8); memcpy((void*)0x20000080, "./file0\000", 8); memcpy((void*)0x20000100, "nobarrier", 9); *(uint8_t*)0x20000109 = 0x2c; memcpy((void*)0x2000010a, "barrier", 7); *(uint8_t*)0x20000111 = 0x2c; memcpy((void*)0x20000112, "creator", 7); *(uint8_t*)0x20000119 = 0x3d; memcpy((void*)0x2000011a, "\x19\x75\x1d\xfd", 4); *(uint8_t*)0x2000011e = 0x2c; memcpy((void*)0x2000011f, "umask", 5); *(uint8_t*)0x20000124 = 0x3d; sprintf((char*)0x20000125, "%023llo", (long long)0x5b0); *(uint8_t*)0x2000013c = 0x2c; memcpy((void*)0x2000013d, "force", 5); *(uint8_t*)0x20000142 = 0x2c; memcpy((void*)0x20000143, "barrier", 7); *(uint8_t*)0x2000014a = 0x2c; memcpy((void*)0x2000014b, "nls", 3); *(uint8_t*)0x2000014e = 0x3d; memcpy((void*)0x2000014f, "default", 7); *(uint8_t*)0x20000156 = 0x2c; *(uint8_t*)0x20000157 = 0; memcpy( (void*)0x20000a00, "\x78\x9c\xec\xdd\x4f\x6c\x1c\x67\xdd\x07\xf0\xef\x6c\x9c\xb5\x37\xaf\xe4" "\xd7\x6d\x93\xb4\x20\xa4\x5a\x8d\x54\x41\x23\x12\xdb\x4b\x49\x90\x90\x08" "\x08\x21\x1f\x2a\x14\x89\x4b\xaf\x56\xe2\x34\x56\x36\x6e\x65\xbb\xc8\xad" "\x10\xdd\x02\x05\x89\x13\x27\xd4\x03\x87\x22\x14\x0e\x3d\x21\x0e\x48\x45" "\x1c\x10\xe5\x8c\x84\xc4\x85\x53\xee\x91\xb8\xe7\x00\x18\xcd\xee\xac\x77" "\xfd\x27\x9b\xb5\x53\x67\xdd\xf4\xf3\x91\xc6\xf3\xcc\x3e\xcf\x3c\xcf\x6f" "\x7e\x99\x79\x66\x77\x56\xd1\x06\xf8\xcc\x5a\x7c\x35\x27\xdb\x29\xb2\x78" "\xfe\x95\xcd\x72\xfb\xee\x9d\x66\xeb\xee\x9d\xe6\xed\x5e\x39\xc9\x64\x92" "\x5a\x32\xd1\x5d\xa5\x58\x4d\x8a\x8f\x93\x2b\xe9\x2e\xf9\x5c\xf9\x62\xd5" "\x5d\xf1\xa0\x71\x5e\xbe\xf7\x51\x31\xf1\xfe\x87\xcd\xee\xd6\x44\xb5\x74" "\xda\xd7\x86\xed\xb7\xc7\xbe\x2d\xdb\xd5\x92\xd9\x24\x27\xaa\x75\x92\x7f" "\x8f\xdc\xed\x90\xfe\xae\xf5\xfb\x3b\xa4\x62\x3b\xee\x32\x61\xe7\x7a\x89" "\x83\x71\xdb\xda\xa3\xdd\xaf\xac\x3d\x74\xf7\xd1\xaf\x5b\xe0\xd8\x7a\xa7" "\x7b\xdf\xdc\x63\x26\x39\x95\x64\xaa\x7a\x1f\x90\x6a\x76\x78\xf8\xcc\x30" "\x7e\x43\xe7\xa6\xf6\xe3\x8b\x03\x00\x00\x00\x8e\xca\xbe\x9f\xe5\x07\xfd" "\xff\xfd\xdc\xcf\x66\xa6\x1f\x4f\x38\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\xf0\x64\x28\xba\xbf\x19\x58\x54\x4b\xad\x57\x9e\x4d\xd1\xfb\xfd\xff\xfa" "\xc0\x6f\xea\xd7\xc7\x1c\xee\x23\x7a\xef\x46\x55\xd8\x1a\x73\x20\x00\x00" "\x00\x00\x00\x00\x00\xf0\x48\x9e\xbf\x9f\xfb\xd9\xcc\x74\x6f\x7b\xab\xe8" "\x7c\xe7\xff\x42\x67\xe3\x74\xe7\xef\xff\xe5\xcd\xac\x67\x39\x6b\xb9\x90" "\xcd\x2c\x65\x23\x1b\x59\xcb\x7c\x92\x99\x81\x8e\xea\x9b\x4b\x1b\x1b\x6b" "\xf3\x7b\xf7\xfc\x65\xca\x3d\xb7\xb6\xb6\xde\xa9\xf6\x5c\xd8\x77\xcf\x85" "\x9d\x71\xb5\x47\x09\x7e\xa4\x46\x00\x00\x00\x00\x00\x00\x00\xf0\x99\xf0" "\xa3\x2c\xf6\xbf\xff\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\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\xe3" "\xa0\x48\x4e\x74\x57\x9d\xe5\x74\xaf\x3c\x93\xda\x44\x92\xa9\x24\xf5\xb2" "\x5d\x3b\xf9\x53\xaf\xfc\x69\xf6\xe7\x71\x07\x00\x00\x00\x00\x47\xaf\x51" "\xad\xa7\x8b\xff\x76\x0b\x5b\x45\xe7\x33\xff\xd9\xce\xe7\xfe\xa9\xbc\x99" "\xd5\x6c\x64\x25\x1b\x69\x65\x39\xd7\x3b\xcf\x02\xba\x9f\xfa\x6b\x7f\x6f" "\x37\x5b\x77\xef\x34\x6f\x97\xcb\xde\x8e\xbf\xf9\xaf\x03\xc5\xd1\xe9\x31" "\xdd\x67\x0f\xfb\x8f\x3c\xd7\x69\x71\x66\x7b\x8f\xc5\x7c\x27\xdf\xcb\xf9" "\xcc\xe6\x6a\xd6\xb2\x92\xef\x67\x29\x1b\x59\xce\x6c\xbe\xdd\x29\x2d\xa5" "\xc8\x4c\xf5\xf4\x62\xa6\x17\xe7\xfe\xf1\x5e\xd9\xb1\x75\x75\x77\x6c\xcf" "\xef\xda\x7e\xae\x13\x49\x23\x37\xb2\xd2\x89\xed\x42\xae\xd5\x7b\xa1\xd7" "\x7a\x6d\x06\x46\xfb\x43\x3d\xd9\x35\xe2\xbb\x65\x76\x8a\x6f\x54\x46\xcc" "\xd1\xf5\x6a\x5d\x1e\xd1\x2f\xaa\xf5\xf1\x30\xd3\x39\xf2\x93\xdb\x19\x99" "\xab\x72\x5f\x66\xe3\xa9\xe1\xb9\x3f\xe0\x79\xb2\x7b\xa4\xf9\xd4\xb6\x9f" "\x41\x9d\xee\x8f\x52\x6e\xee\x1e\xe9\x50\x39\x3f\x55\xad\xcb\x5c\xff\xf4" "\x68\x73\x7e\xc0\x47\x69\x3b\x33\xd1\xfe\x79\xb9\xd5\x3b\xfb\xce\x0e\xcf" "\x79\xf2\xa5\x7f\xfc\xe5\xea\xcd\xda\xea\xad\x9b\x37\xd6\xcf\x1f\x9f\xd3" "\xe8\x90\x76\x9f\x13\xcd\x81\x4c\x3c\x3b\x52\x26\x5a\x65\x26\xda\x8f\x90" "\x89\xa9\x47\x89\xff\x93\x53\xaf\xb2\xd1\x9d\x45\x0f\x36\x5b\xbe\xd0\xd9" "\x77\x3a\x2b\xf9\x6e\x5e\xcf\xf5\x2c\xe7\x52\xe6\x32\x9f\xcb\x99\xcb\xd7" "\xb2\x90\x66\x16\x06\xf2\x7a\x66\x78\x5e\x3b\xd7\x5a\xed\x60\xd7\xda\xb9" "\x2f\x56\x85\xf2\x9e\xf4\xb3\x81\x7b\xd3\xf8\x95\x79\x7d\x6a\x20\xaf\x83" "\x33\xdd\x4c\xa7\x6e\xf0\x95\x7e\x96\x9e\x1e\x21\x4b\x0f\x9c\x91\xfe\xb9" "\x6f\x28\x13\x9f\xaf\x0a\xe5\x18\x3f\x1e\xb8\xe3\x8c\xdf\xee\x4c\xcc\x0f" "\x64\xe2\x99\xe1\x99\xf8\xf5\x7f\xb6\x92\xac\xb7\x56\x6f\xad\xdd\x5c\x7a" "\x63\xc4\xf1\x5e\xac\xd6\xe5\x65\xfb\xde\xce\xb9\xf9\x37\x9f\xc8\x01\x1d" "\x5a\x79\xbe\x3c\x5d\xfe\x63\xa5\x7b\xdb\x18\x3c\x3b\xca\xba\x67\x7a\x75" "\xbb\xf2\x55\xaf\xbe\x71\xe9\xd6\xd5\xf6\xd4\x9d\xd9\xae\x7b\xd8\x95\x5a" "\xb6\x3e\xfb\xee\x7e\x3d\x75\xeb\x9e\xdd\x77\x94\x66\xa7\xee\xb9\x81\xba" "\x1d\xef\x72\xf2\x7a\x5a\xdb\xef\x42\x00\x38\xc6\x4e\xbd\x74\xaa\xde\xb8" "\xd7\xf8\x5b\xe3\x83\xc6\x4f\x1a\x37\x1b\xaf\x4c\x7d\x6b\xf2\xf2\xe4\x17" "\xea\x39\xf9\xd7\x89\x3f\x9e\xf8\x5d\xed\xb7\xb5\xaf\x17\x2f\xe5\x83\xfc" "\x30\xd3\xe3\x8e\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x9e\x04\xeb\x6f\xbd\x7d\x6b\xa9" "\xd5\x5a\x5e\x3b\x86\x85\xd4\xc6\x30\x68\xfd\x78\x1c\xfb\x13\x59\xf8\x7d" "\x92\x21\x6d\xea\xe3\x08\xac\x91\xe4\xb8\xe4\xe7\xe8\x0b\x93\x19\xda\xa6" "\x91\xfe\x2b\xe3\x9e\x99\x80\xa3\x76\x71\xe3\xf6\x1b\x17\xd7\xdf\x7a\xfb" "\xcb\x2b\xb7\x97\x5e\x5b\x7e\x6d\x79\x75\xe1\xf2\xa5\xcb\x97\x9a\x5f\x9d" "\xff\xca\xc5\x1b\x2b\xad\xe5\xb9\xee\xdf\x71\x47\x09\x1c\x85\xfe\xdd\x7f" "\xdc\x91\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa3\x7a\x1c\xff\xf7\x60" "\xdc\xc7\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x7c\xba\x2d\xbe\x9a\x93\xed\x14\x99\x9f\xbb\x30" "\x57\x6e\xdf\xbd\xd3\x6c\x95\x4b\xaf\xdc\x6f\x39\x91\xa4\x96\xa4\xf8\x41" "\x52\x7c\x9c\x5c\x49\x77\xc9\xcc\x40\x77\xc5\x83\xc6\x79\xf9\xde\x47\xbf" "\x7a\xf1\xfd\x0f\x9b\xfd\xbe\x26\x7a\xed\x6b\xc3\xf6\x1b\x4d\xbb\x5a\x32" "\x9b\xe4\x44\xb5\x7e\xb8\xc9\x91\xfa\xbb\x36\xd0\x5f\xfb\x50\xe1\x15\xdb" "\x47\x58\x26\xec\x5c\x2f\x71\x30\x6e\xff\x0b\x00\x00\xff\xff\x82\xa3\x0c" "\x8f", 1639); syz_mount_image(/*fs=*/0x200000c0, /*dir=*/0x20000080, /*flags=*/0x10000, /*opts=*/0x20000100, /*chdir=*/3, /*size=*/0x667, /*img=*/0x20000a00); res = -1; res = syz_open_dev(/*dev=*/0xc, /*major=*/4, /*minor=*/1); if (res != -1) r[0] = res; memcpy((void*)0x20000080, "mountinfo\000", 10); res = -1; res = syz_open_procfs(/*pid=*/0, /*file=*/0x20000080); if (res != -1) r[1] = res; syscall(__NR_sendfile, /*fdout=*/r[0], /*fdin=*/r[1], /*off=*/0ul, /*count=*/0x800000080004105ul); return 0; }