// https://syzkaller.appspot.com/bug?id=ab7e5b6f400b7778d46f01841422e5718fb81843 // 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_fsconfig #define __NR_fsconfig 431 #endif #ifndef __NR_fspick #define __NR_fspick 433 #endif #ifndef __NR_memfd_create #define __NR_memfd_create 279 #endif #ifndef __NR_mmap #define __NR_mmap 222 #endif #ifndef __NR_openat #define __NR_openat 56 #endif #ifndef __NR_quotactl_fd #define __NR_quotactl_fd 443 #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) { 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, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); intptr_t res = 0; memcpy((void*)0x20000040, ".\000", 2); res = syscall(__NR_openat, 0xffffff9c, 0x20000040ul, 0ul, 0ul); if (res != -1) r[0] = res; syscall(__NR_quotactl_fd, r[0], 0xffffffff80000300ul, 0, 0ul); memcpy((void*)0x20000040, "ext4\000", 5); memcpy((void*)0x20000500, "./file0\000", 8); memcpy( (void*)0x20000540, "\x78\x9c\xec\xdd\x41\x6f\x1b\x59\x1d\x00\xf0\xff\x4c\xe2\x36\x6d\x53\x9c" "\x02\x87\x52\x89\xb6\xa2\x45\x69\x05\xb5\x93\x86\xb6\x11\x87\x52\x24\x04" "\xa7\x4a\x40\xb9\x97\x90\x38\x51\x14\x27\x8e\x62\xa7\x6d\x42\x85\x52\xf1" "\x01\x90\x10\x02\x24\x4e\x9c\xb8\x20\xf1\x01\x90\x50\x3f\x02\x42\xaa\x04" "\x37\x0e\x08\xd0\x56\xab\xdd\x76\xf7\xb0\x87\xdd\xf5\xca\xce\xb8\x4d\x52" "\xbb\x4e\x77\x9d\x58\x9b\xfc\x7e\xd2\xeb\xbc\x37\x33\xf6\xff\xff\x1a\x79" "\x3c\x6f\xe6\xc9\x13\xc0\xa1\x75\x3e\x22\x6e\x45\xc4\x40\x44\x5c\x8e\x88" "\x7c\xb6\x3e\xcd\x4a\x6c\x6c\x96\xc6\x7e\xcf\x9f\x3d\x9c\x6e\x94\x24\xea" "\xf5\x3b\xef\x24\x91\x64\xeb\x5a\xef\x95\x64\xcb\x13\xd9\xcb\x86\x22\xe2" "\xc7\x3f\x88\xf8\x59\xf2\x6a\xdc\xea\xda\xfa\xc2\x54\xb9\x5c\x5a\xc9\xda" "\xc5\xda\xe2\x72\xb1\xba\xb6\x7e\x65\x7e\x71\x6a\xae\x34\x57\x5a\x9a\x98" "\x18\xbf\x3e\x79\x63\xf2\xda\xe4\x58\x4f\xfa\x39\x12\x11\x37\xbf\xf7\xff" "\xdf\xfe\xea\x4f\xdf\xbf\xf9\xb7\x6f\xde\xff\xcf\xdd\xa7\x97\x7e\xd1\x48" "\x6b\x38\xdb\xde\xea\xc7\xbf\x7b\x12\xed\xa5\xcd\xae\xe7\x9a\xff\x17\x2d" "\x83\x11\xb1\xd2\xe3\x38\xfd\x34\xd8\xec\x61\x77\xf9\x7d\xc8\x05\x00\x80" "\xd7\x6b\x9c\xe3\x7f\x31\x22\xbe\xd6\x3c\xff\xcf\xc7\x40\xf3\x6c\x0e\x00" "\x00\x00\x38\x48\xea\xdf\x19\x8e\x0f\x93\x88\x3a\x00\x00\x00\x70\x60\xa5" "\xcd\x39\xb0\x49\x5a\xc8\xe6\x02\x0c\x47\x9a\x16\x0a\x9b\x73\x78\xbf\x1c" "\xc7\xd3\x72\xa5\x5a\xfb\xc6\x6c\x65\x75\x69\x66\x73\xae\xec\x48\xe4\xd2" "\xd9\xf9\x72\x69\x2c\x9b\xcf\x39\x12\xb9\xa4\xd1\x1e\xcf\xe6\xd8\xb6\xda" "\x57\x77\xb4\x27\x22\xe2\x54\x44\xfc\x26\x7f\xac\xd9\x2e\x4c\x57\xca\x33" "\xfd\xbe\xf8\x01\x00\x00\x00\x87\xc4\x89\x1d\xe3\xff\xf7\xf3\x9b\xe3\x7f" "\x00\x00\x00\xe0\x80\x19\xe9\x77\x02\x00\x00\x00\xc0\x9e\x33\xfe\x07\x00" "\x00\x80\x83\xef\xd3\x8d\xff\x7f\xfe\xb4\xe7\x89\x00\x00\x00\x00\x7b\xe1" "\x87\xb7\x6f\x37\x4a\xbd\xf5\xfc\xeb\x99\x7b\x6b\xab\x0b\x95\x7b\x57\x66" "\x4a\xd5\x85\xc2\xe2\xea\x74\x61\xba\xb2\xb2\x5c\x98\xab\x54\xe6\x9a\xbf" "\xd9\xb7\xd8\xed\xfd\xca\x95\xca\xf2\xb7\x62\x69\xf5\x41\xb1\x56\xaa\xd6" "\x8a\xd5\xb5\xf5\xbb\x8b\x95\xd5\xa5\xda\xdd\xf9\x6d\x8f\xc0\x06\x00\x00" "\x00\xf6\xd1\xa9\x73\x8f\xff\x95\x44\xc4\xc6\xb7\x8f\x35\x4b\xc3\x91\x6c" "\x5b\xae\xaf\x99\x01\x7b\x2d\x7d\x93\x9d\xff\xb7\x77\x79\x00\xfb\x6f\xa0" "\xdf\x09\x00\x7d\x33\xd8\xef\x04\x80\xbe\x31\xc6\x07\x92\x2e\xdb\xb7\x4c" "\xde\x39\xb7\x6d\xc3\xdf\xf7\x26\x1f\x00\x00\xa0\xf7\x46\xbf\xf2\xea\xfd" "\xff\x6e\x63\x01\x00\xe0\xf3\xcd\xfd\x7f\x38\xbc\xdc\xff\x87\xc3\x2b\xb7" "\xe5\x0c\xe0\x8d\xe6\x02\x03\x07\xc6\x2b\xd7\xfc\x8e\x6e\x6f\x76\xfc\xf1" "\x8e\x5d\xdf\xff\xaf\xd7\xdf\x38\x29\x00\x00\xa0\xa7\x86\x9b\x25\x49\x0b" "\xd9\xf8\x7f\x38\xd2\xb4\x50\x88\x38\xd9\x7c\x2c\x40\x2e\x99\x9d\x2f\x97" "\xc6\x22\xe2\x0b\x11\xf1\xcf\x7c\xee\x68\xa3\x3d\xde\x7c\x65\x62\x9e\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\xec\x52\xbd\x9e\x44\x1d\x00\x00\x00\x38\xd0\x22\xd2\xb7\x92\xec\xf9" "\x5f\xa3\xf9\x8b\xc3\x3b\xaf\x0f\x1c\x49\x3e\xc8\x37\x97\x11\x71\xff\x0f" "\x77\x7e\xf7\x60\xaa\x56\x5b\x19\x6f\xac\x7f\xf7\xc5\xfa\xda\xef\xb3\xf5" "\x57\xfb\x71\x05\x03\x00\x00\x00\xd8\xa9\x35\x4e\x6f\x8d\xe3\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\x00\x00\x00\x00\x00\x00\x00\x00\xa0\x97" "\x9e\x3f\x7b\x38\xdd\x2a\xfb\x19\xf7\xed\xef\x46\xc4\x48\xbb\xf8\x83\x31" "\xd4\x5c\x0e\x45\x2e\x22\x8e\xbf\x97\xc4\xe0\x96\xd7\x25\x11\x31\xd0\x83" "\xf8\x1b\x8f\x5a\xb5\x9d\xf1\x93\x46\x5a\x31\x92\x65\xb1\x33\x7e\x1a\x11" "\xc7\x7a\x15\xff\x74\xbb\xfe\x77\x8f\x7f\xa2\x07\xf1\xe1\x30\x7b\xdc\x38" "\xfe\xdc\x6a\xf7\xf9\x4b\xe3\x7c\x73\xd9\xfe\xf3\x37\x98\x95\xcf\xaa\xf3" "\xf1\x2f\x7d\x71\xfc\x1b\xe8\x70\xfc\x3b\xb9\xcb\x18\x67\x9e\xfc\xa5\xd8" "\x31\xfe\xa3\x88\x33\x83\xed\x8f\x3f\xad\xf8\x49\x87\xf8\x17\x76\x19\xff" "\xa7\x3f\x59\x5f\xef\xb4\xad\xfe\xc7\x88\xd1\xb6\xdf\x3f\xc9\xb6\x58\xc5" "\xda\xe2\x72\xb1\xba\xb6\x7e\x65\x7e\x71\x6a\xae\x34\x57\x5a\x9a\x98\x18" "\xbf\x3e\x79\x63\xf2\xda\xe4\x58\x71\x76\xbe\x5c\xca\xfe\x6d\x1b\xe3\xd7" "\x5f\xfd\xeb\xc7\xaf\xeb\xff\xf1\x0e\xf1\x47\xba\xf4\xff\xe2\x2e\xfb\xff" "\xd1\x93\x07\xcf\xbe\xb4\x59\xcd\xb5\x8b\x7f\xe9\x42\xfb\xbf\xff\xe9\x0e" "\xf1\xd3\xec\xbb\xef\xeb\x59\xbd\xb1\x7d\xb4\x55\xdf\xd8\xac\x6f\x75\xf6" "\xcf\xff\x38\xfb\xba\xfe\xcf\x74\xe8\x7f\xb7\xbf\xff\xa5\x5d\xf6\xff\xf2" "\x8f\x7e\xf9\xdf\x5d\xee\x0a\x00\xec\x83\xea\xda\xfa\xc2\x54\xb9\x5c\x5a" "\x51\x51\x51\x51\x79\x51\xe9\xf7\x91\x09\x00\x00\xe8\xb5\x97\x27\xfd\xfd" "\xce\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0e" "\xaf\x1e\xfd\x66\xd8\x50\xf6\x76\x6d\xf7\xd9\x19\x73\x63\xff\xbb\x09\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\xd0\xd5\x27\x01\x00\x00\xff\xff\x41\xd8\xd2\x28", 1239); syz_mount_image(0x20000040, 0x20000500, 0x8847, 0x20000080, 0x21, 0x4d7, 0x20000540); memcpy((void*)0x20000000, ".\000", 2); res = syscall(__NR_fspick, 0xffffff9c, 0x20000000ul, 0ul); if (res != -1) r[1] = res; syscall(__NR_fsconfig, r[1], 7ul, 0ul, 0ul, 0xe22db66300000000ul); return 0; }